Displaying 1 to 2 from 2 results

bayes - Naive-Bayes Classifier for node.js

  •    Javascript

bayes takes a document (piece of text), and tells you what category that document belongs to. Returns an instance of a Naive-Bayes Classifier.

nbayes - A Naive Bayes classifier written in JavaScript.

  •    Javascript

nbayes is a lightweight Naive Bayes Classifier written in vanilla JavaScript. It classifies a document (arbitrary piece of text) among the classes (arbitrarily named categories) it has been trained with before. This is all based on simple mathematics. As an example, you could use nbayes to answer the following questions. nbayes offers a simple and straightforward API, keeping it below 3kb (minified). It is a rewrite of ttezel/bayes and thoroughly tested.