Skip to content

smuglilgoat/aprioriJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

💻 Apriori

Apriori Algorithm implementation in JavaScript

🔧 Usage

// change the minimum support and confidence
const minSupp = 0.01;
const minConf = 3;

// enter your product list and dataset in binary format
var dataset = [[1, 0, 0, ..., 1, 1], [1, 0, 0, ..., 1, 1], ..., [1, 0, 0, ..., 1, 1]];
var productList = ['almonds','antioxydant juice','asparagus','avocado', ... ,'yogurt cake','zucchini'];

Compile with Node.JS

About

A simple Apriori implementation in JS

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published