advanced-classifier
v1.0.3
Published
Advanced Classifier Module for Node.js
Downloads
3
Readme
Everyone can make own word classifier now!
Everyone can make own word classifier. This is really very easy!
Properties
- Trainable
- Easy Usage
- Word Classifier
Usage
const advancedClassifier = require("advanced-classifier")
const classifier = advancedClassifier.create({
dataset: "dataset.json",
modelName: "text-classifier"
})
classifier.createClass("ad", ["https://", ".com"])
classifier.addData("ad", ".net")
classifier.reloadModel()
classifier.removeData("ad", ".net")
classifier.reloadModel()
const result = classifier.process("http://")
console.log(result)
/*
[ { name: 'ad', rating: 0.7692307692307693 } ]
*/
This package is made by Utiric Code.