apriori
v1.0.7
Published
Apriori Algorithm implementation in TypeScript|JavaScript
Downloads
77
Maintainers
Readme
Aprioir.js
Apriori Algorithm implementation in (TypeScript|JavaScript) which is based on https://github.com/asaini/Apriori/blob/master/apriori.py.
npm package
npm install apriori
bower package
http://bower.io/search/?q=apriori
bower install apriori --save-dev
Usage
// curl https://raw.githubusercontent.com/asaini/Apriori/master/INTEGRATED-DATASET.csv -o dataset.csv
// on the Node.js REPL
var Apriori = require('apriori');
new Apriori.Algorithm(0.15, 0.6, false).showAnalysisResultFromFile('dataset.csv');
Development
grunt
opens an example in your browsergrunt test
runs all the tests.grunt build
creates aprori.js and apriori.min.js
License
the MIT License