/naive-bayes-text-classifier

A Naive Bayes Text Classifier that classifies input text into one of two categories: either a BUSINESS article or a SPORT article

Primary LanguageJavaScript

Naive Bayes Text Classifier

GitHub issues

A Naive Bayes Text Classifier that classifies input text into one of two categories: either a BUSINESS article or a SPORT article.

Train on any of the given training sets, and then test by either using one of the provided validation texts, or input your own text into the text field provided.

Development Notes

  • Built with P5.js and RequireJS.
  • Linting is provided by ESLint. To run the linter, install npm via npm install, followed by npm install eslint --save-dev. To run the lint tests, type in the command npm run lint.

Instructions