natural-synaptic
A natural language classifier for Node Natural using a Synaptic neural network.
This project was inspired by Natural Brain, which is based on a BrainJS neural network. The reason for the re-write is that BrainJS is currently unmaintained (see issue).
Note: This classifier passes the same tests as the Node Natural Bayes classifier.
Usage
Installing
You can either clone this repo or install it from npm:
npm install natural-synaptic --save
Training and Classifying
var classifier = ; classifier;classifier;classifier;classifier;classifier;classifier; classifier; console; // -> softwareconsole; // -> hardwareconsole; // -> hardwareconsole; // -> meetingconsole; // -> music
Load/Reload from file
var classifier = ; classifier;classifier;classifier;classifier;classifier;classifier; classifier; classifier;