Giter VIP home page Giter VIP logo

business-license-multiclass-classifier-ensemble's Introduction

Business license Multi-class Ensemble Classification

Aim

Implementing Ensemble techniques to predict license status for the given business.


Data Description

The dataset used is a licensed dataset. It contains information about 86K different businesses over various features. The target variable is the status of the license, which has five different categories.


Tech Stack

  • Language: Python
  • Libraries: pandas, scikit_learn, category_encoders, numpy, os, seaborn, matplotlib, hyperopt, xgboost

Approach

  1. Data Description
  2. Exploratory Data Analysis
  3. Data Cleaning
  • a. Missing Value imputation
  • b. Outlier Detection
  1. Data Imbalance
  2. Data Encoding
  3. Model Building
  • a. Random Forest
  • b. AdaBoost
  • c. XGBoost
  1. Feature importance
  2. Hyperparameter tuning
  • a. Random search optimization
  • b. Grid search optimization
  • c. Bayesian optimization

Modular code overview

  1. The input folder contains the data that we have for analysis. In our case, it contains Licence_Data.csv.

  2. The src folder is the heart of the project. This folder contains all the modularized code for all the above steps in a modularized manner.

    The model_selection.py and preprocessing.py files contain all the functions in a modularized manner, which are appropriately named. These Python functions are then called inside the run.py file.

    The requirements.txt file has all the required libraries with respective versions. Kindly install the file by using the command pip install -r requirements.txt.

  3. The output folder contains an Excel file for classification metrics scores of each model.

  4. The lib folder is a reference folder. It contains the original Jupyter notebook.


business-license-multiclass-classifier-ensemble's People

Contributors

ajnavneet 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.