Skip to content

icbaptista/Market_basket_analysis_LSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MDLE_Frequent_items_association_rules

Ex 1: Market basket analysis

How to run (exercises 1.1, 1.2, 1.3)

spark-submit frequent_items.py conditions.csv results

The results will be stored in the results folder.

Results

For k=3

ex 1.2

For k=2:

ex 1.3

The rest of the results can be found in the /ex1/results folder.

Ex2: LSH

How to Run

  • 2.1, 2.3:
$python3 lsh_get_sim.py -b 20 -r 10
  • 2.2:
$python3 run_lsh.py -b 20 -r 10

Results

  • ex 2.1 / 2.3

ex 2.1 / 2.3 ex 2.1 / 2.3

  • ex 2.2

ex 2.2

About

Market Basket Analysis (MBA) in healthcare applies data mining to identify patterns and associations, leveraging Spark for parallelized data processing.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors