Skip to content

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

Notifications You must be signed in to change notification settings

icbaptista/Market_basket_analysis_LSH

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 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

Watchers

Forks

Releases

No releases published

Packages

No packages published