Code Monkey home page Code Monkey logo

django-machine-learning-beta's Introduction

django-machine-learning-beta

This Django app (beta) accepts any csv file to run a classification model model among Logistic Regression, Random Forest (10 interations) and xgboost. The user has an option to profiling and preprocess data; addressing missing values, one hot encoding and feature scaling. The 3 models can be selected simultaneously for accuracy comparison. The results and validation are provided as confusion matrix and ROC curve.

This is my first Django project and is still a early beta version. I hope the code published here can help people that are also learning Django.

Getting Started

Install atom packages: platformio-ide-terminal. After downloading go to settings and change "Shell Override" to C:\WINDOWS\system32\cmd.exe atom-django autocomplete-html-entities autocomplete-python

Installing anaconda and python: https://conda.io/docs/user-guide/install/windows.html

conda info --envs #list environments

conda create --name myDjangoEnv python=3.6 #creates environment #create one environment for django project because if libraries get updated it can break the app

activate MyDjangoEnv #activate environment

conda install django #installs django in the environment

pip install pandas pip install plotly pip install sklearn pip install scipy pip install xgboost

Database

The project is set up for a postgres database. You need to change the DB details such as owner and password.

For SQLlite replace in setting.py

DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.sqlite3',
        'NAME': os.path.join(BASE_DIR, 'db.sqlite3'),
    }
}

django-machine-learning-beta's People

Contributors

henriqueftogashi avatar achandir1 avatar

Watchers

James Cloos 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.