Skip to content

Commit 384b0b3

Browse files
committed
commit first
0 parents  commit 384b0b3

File tree

259 files changed

+214510
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

259 files changed

+214510
-0
lines changed

LICENSE

+674
Large diffs are not rendered by default.

README.md

+43
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# Multiclass classification.
2+
Data scientist | [Anass MAJJI](https://www.linkedin.com/in/anass-majji-729773157/)
3+
***
4+
5+
## :monocle_face: Description
6+
- This project aims to implement a multi-class classification model. we have four classes with a minority class (less than 1%),
7+
so we are in the case of unbalanced classes. We used regularization methods in order to penalize the errors made on this minority class.
8+
The model is trained to predict around 4 different class. </br>
9+
10+
11+
12+
## :rocket: Repository Structure
13+
The repository contains the following files & directories:
14+
- **Dataset directory:** It contains a data pre-processing notebook where the train.csv file is used for training
15+
the model. Il contains also the predictions of test.csv dataframe.
16+
- **model_weights:** It contains all the weights of the models : one-hot-encoder, target encoder, random forest model.
17+
18+
- **App directory:** Code for the web application that was developed for the model deployment. It contains Flask API code for the Back-End,
19+
and HTML/CSS/Javascript code for the Front-End.
20+
21+
22+
![](last_gif.gif)
23+
24+
## :chart_with_upwards_trend: Performance & results
25+
26+
- The test dataset contains **25 000 samples**. Each sample contains many features, and its corresponding label.
27+
28+
- The model used for this multi-class classification task is a **Random Forest** model.
29+
30+
- The metric used to measure the model's performance is **F1-score**. After testing the model, I obtained a test F1-score of **72 %**
31+
32+
33+
34+
35+
---
36+
## :mailbox_closed: Contact
37+
For any information, feedback or questions, please [contact me][anass-email]
38+
39+
40+
41+
42+
43+
[anass-email]: mailto:[email protected]

app/.idea/.gitignore

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.idea/USB.iml

+27
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.idea/inspectionProfiles/Project_Default.xml

+19
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.idea/inspectionProfiles/profiles_settings.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.idea/misc.xml

+4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.idea/modules.xml

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.idea/other.xml

+7
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/.idea/vcs.xml

+6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
5.21 KB
Binary file not shown.
7.75 KB
Binary file not shown.
7.05 KB
Binary file not shown.

0 commit comments

Comments
 (0)