Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
D
DM-Project
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
almohanad.hafez
DM-Project
Commits
fb8fcf89
Commit
fb8fcf89
authored
Oct 29, 2024
by
Almouhannad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add preprocessing
parent
82cd5af1
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
429 additions
and
6 deletions
+429
-6
.gitignore
.gitignore
+1
-0
README.md
README.md
+3
-1
constants.py
constants.py
+4
-1
hw1.ipynb
hw1.ipynb
+421
-4
No files found.
.gitignore
0 → 100644
View file @
fb8fcf89
__pycache__/constants.cpython-311.pyc
README.md
View file @
fb8fcf89
...
@@ -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 `hw
1
.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***
constants.py
View file @
fb8fcf89
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
hw1.ipynb
View file @
fb8fcf89
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment