Skip to content

A weightage based automated model selection system. This application uses a novel formula and uses performance metrics of various machine learning models to select most suited model for users need.

Notifications You must be signed in to change notification settings

yashodhanketkar/mpr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Weightage based training, testing, selection and prediction system


This is an automated supervised learning system. This system allows users without coding experience to create the best suited model for the prediction task. This system stores the best models for future use. All the other models are also stored for further uses.

This system employs skit-learns supervised learning models as templates. The application uses web UI with the help of flask module.

Table of contents

DEPENDENCIES
INSTALLATION
LICENSE

DEPENDENCIES

  • Python 3
  • Scikit-learn - This module is used for model creation and performance analysis.
  • Pandas - This module is used to handle data structures.
  • Pygal - This module is used for generating dynamic charts.
  • Flask - This module is used for webUI.

INSTALLATION

Open bash or terminal and enter following commands

# go to project directory
cd /path_to_folder/

Inside main directory enter following commands

# create and activate virtual environment
python -m venv venv
venv\Scripts\activate.bat

# install dependencies in virtual environment
pip install -r requirements.txt

This will install all dependencies in virtual environment

Configuration

  1. Create new folder instance

  2. Create new file config.py inside instance folder.

  3. Run following command to generate $secret_token

    # generate secret token for flask application
    python -c "import secrets;print(secrets.token_hex(32))"
  4. Add $secret_token generated to the config file

    SECRETE_KEY=$secret_token

Execute

Enter following command

flask run

This will give you following message

 * Serving Flask app 'run' (lazy loading)
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: on
 * Restarting with stat
 * Debugger is active!
 * Debugger PIN: ***-***-***
 * Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

© 2022 - Yashodhan Ketkar

About

A weightage based automated model selection system. This application uses a novel formula and uses performance metrics of various machine learning models to select most suited model for users need.

Topics

Resources

Stars

Watchers

Forks