Commit fb8fcf89 authored by Almouhannad's avatar Almouhannad

Add preprocessing

parent 82cd5af1
__pycache__/constants.cpython-311.pyc
...@@ -4,10 +4,12 @@ ...@@ -4,10 +4,12 @@
***Dataset link: [The Bread Basket](https://www.kaggle.com/datasets/mittalvasu95/the-bread-basket)*** ***Dataset link: [The Bread Basket](https://www.kaggle.com/datasets/mittalvasu95/the-bread-basket)***
> ***This project contains a jupyter notebook `hw.ipynb` containing the following steps:*** > ***This project contains a jupyter notebook `hw1.ipynb` containing the following steps:***
> 1. **Setup requirements** > 1. **Setup requirements**
> 1. **Data preprocessing** > 1. **Data preprocessing**
> 1. **Extracting rules using** > 1. **Extracting rules using**
> - **Apriori** > - **Apriori**
> - **FP Growth** > - **FP Growth**
> 1. **Performance comparison between the two algorithms** > 1. **Performance comparison between the two algorithms**
> ***This project contains a python file `constants.ipynb` containing some fixed values used in `hw.ipynb`, refered as `CONSTANTS` class***
class CONSTANTS: class CONSTANTS:
DATASET_PATH = 'data/bread_basket.csv' DATASET_PATH = 'data/bread_basket.csv'
\ No newline at end of file DATASET_SHAPE = (20507, 5)
PREPROCESSED_DATASET_PATH = 'data/bread_basket_preprocessed.csv'
PREPROCESSED_DATASET_SHAPE = (9465, 94)
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment