Bayes Classifier Js Save

A JavaScript library for Bayesisan classification

Project README

bayes-classifier-js

A JavaScript library for Bayesisan classification

Initial API ideas:

let classifier = new Classifier();

// Text to train, followed by category name
classifier.train("I am happy.", "happy");
classifier.train("I am sad and I am very sad.", "sad");
classifier.train("I have mixed feelings.", "mixed");
classifier.probabilities();

let results = classifier.guess("Yesterday, I was very very happy, so happy.");
console.log(results);
Open Source Agenda is not affiliated with "Bayes Classifier Js" Project. README Source: Programming-from-A-to-Z/bayes-classifier-js
Stars
27
Open Issues
8
Last Commit
6 years ago

Open Source Agenda Badge

Open Source Agenda Rating