data-harness

1.0.1 • Public • Published

Data Mining

Alogrithms relate to Data Mining.

Algorthms: TF.IDF, K-Mean, HAC...

Install

Run command line to install in NodeJS.

npm install data-harness --save

TF-IDF

Term freqency & Iverse Document Frequency.

var TfIdf = require('data-harness').TfIdf;
var tfidf = new TfIdf();

// add documents
tfidf.addDoc("I am Java developer");
tfidf.addDoc("I need time for a developer a project about data-mining");

// show results
var rs_idf = tfidf.tf("developer");
var rs_tfidf = tfidf.tfidf("developer");

console.log(rs_idf);
console.log(rs_tfidf);

Readme

Keywords

Package Sidebar

Install

npm i data-harness

Weekly Downloads

1

Version

1.0.1

License

ISC

Unpacked Size

17.6 kB

Total Files

8

Last publish

Collaborators

  • tiennguyen2009