GithubHelp home page GithubHelp logo

amajji / multi-class-classification Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 0.0 23.64 MB

Deployment of a classification model on a webapp using FLASK for the backend and html/CSS/JS for frontend

License: GNU General Public License v3.0

Python 0.22% CSS 0.26% HTML 37.99% Jupyter Notebook 61.52%
analyse-data app classification data flask flask-application machine-learning machine-learning-algorithms preprocessing webapp

multi-class-classification's Introduction

Multiclass classification.

Data scientist | Anass MAJJI


๐Ÿง Description

  • This project aims to implement a multi-class classification model. we have four classes with a minority class (less than 1%), so we are in the case of unbalanced classes. We used regularization methods in order to penalize the errors made on this minority class. The model is trained to predict around 4 different class.

๐Ÿš€ Repository Structure

The repository contains the following files & directories:

  • Dataset directory: It contains a data pre-processing notebook where the train.csv file is used for training the model. Il contains also the predictions of test.csv dataframe.

  • model_weights: It contains all the weights of the models : one-hot-encoder, target encoder, random forest model.

  • App directory: Code for the web application that was developed for the model deployment. It contains Flask API code for the Back-End, and HTML/CSS/Javascript code for the Front-End.

๐Ÿ“ˆ Performance & results

  • The test dataset contains 25 000 samples. Each sample contains many features, and its corresponding label.

  • The model used for this multi-class classification task is a Random Forest model.

  • The metric used to measure the model's performance is F1-score. After testing the model, I obtained a test F1-score of 72 %


๐Ÿ“ช Contact

For any information, feedback or questions, please contact me

multi-class-classification's People

Contributors

amajji avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.