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.
- Built with P5.js and RequireJS.
- Linting is provided by ESLint. To run the linter, install npm via
npm install
, followed bynpm install eslint --save-dev
. To run the lint tests, type in the commandnpm run lint
.
- To view this project, navigate to: https://carla-de-beer.github.io/naive-bayes-text-classifier/.
- First train the classifier on the training set prior to inputting text for classification.