SkillAgentSearch skills...

Apriori.js

Apriori Algorithm implementation in TypeScript|JavaScript

Install / Use

/learn @seratch/Apriori.js
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Aprioir.js

Apriori Algorithm implementation in (TypeScript|JavaScript) which is based on https://github.com/asaini/Apriori/blob/master/apriori.py.

Build Status

npm package

NPM

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 browser
  • grunt test runs all the tests.
  • grunt build creates aprori.js and apriori.min.js

License

the MIT License

Related Skills

View on GitHub
GitHub Stars34
CategoryDevelopment
Updated10mo ago
Forks15

Languages

JavaScript

Security Score

82/100

Audited on May 12, 2025

No findings