Git Product home page Git Product logo

machineknight's Introduction

MachineKnight ๐Ÿค–

All the Data analysis and model training are in ML folder.
All the Frontend and Flask application are in WebApp folder.

- The **prediction** for the **test data** are in the **/ML/submission.csv**. 

The Exploratory Data Analysis & Data Prepration are done in EDA_DataPrep.ipynb file.

The model architecture and training are in train.ipynb file.

MACHINE LEARNING APPROACH

It is a regression task. The features are in countinous and categorial.

Pipeline for data prepration.

  1. Converting a categorical to numerical data.
  2. Removing the outliers.
  3. The new features are added. i) No. of bathroom, balconies, cup_board per floor ii) Ratio of bathroom, balconies, cup_board with respect to property size
  4. Then the data is normalized to certain range using RobustScaling methods.

Model Training

  1. The deep neural network model is trained using K-Fold.
    i) The "Mean Absolute Error" is used as loss function.
    ii) The training MAE loss for the model is about 2700 and RMSE is about 3764
    iii) In each fold the model is trained for 100 epochs with the learning rate of 1e-3.
  2. The same data is used to train other 4 models BaggingRegressor, ExtraTreesRegressor, RandomForestRegressor, GradientBoostingRegressor at the end they are with the training RMSE loss of 3770, 3923, 3773, 3731.
  3. All these models are ensembled for prediction.

Frontend & Flask App

image image

The API was developed in python FLASK.

>> pip install -r requirements.py <br>
>> cd WebApp <br>
>> python main.py<br>

Check the www.localhost:5000 for the frontend.

machineknight's People

Contributors

smk-00 avatar mukilan-2003 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.