a simple machine learning system demo, for ML study.

Posted lightsong

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了a simple machine learning system demo, for ML study.相关的知识,希望对你有一定的参考价值。

Machine Learning System

introduction

This project is a full stack Django/React/Redux app that uses token based authentication with Knox.

Then I add Machine Learning features for demostrate the full workflow of the data mining, including the four stage corresponding to four pages:

  1. data management
  2. data explore
  3. model train
  4. prediction

The data set is the classic iris data, which is only for demo, and this project is from my interest. so you can reference, but the quality is not assured.

 

features

  • authentication functions

login from login page register your account logout from inner page

  • data management

input iris items edit iris items delete iris items

  • data explore

inspect attribute distribution through histogram inspect sepal distribution through scatter graph inspect petal distribution through scatter graph

  • model train

input cluster number train a cluster model using sklearn-kmeans library inspect cluster result through sepal and petal scatter

  • prediction

input iris sepal and petal attributes predict iris cluster

 

technology stack

categorynamecomment
frontend reactjs frontend framework
frontend redux state management
frontend react-C3JS D3 based graph tool
frontend react-bootstrap style component library
frontend data-ui react data visualization tool
backend django backend framework
backend django-rest-knox authentication library
backend djangorestframework restful framework
backend sklearn machine learning tool


Quick Start

# Install dependencies
cd ./frontend
npm install

# Build for production
npm run build


# Install dependencies
cd ../backend
pipenv install

# Serve API on localhost:8000
pipenv run python manage.py runserver

 

snapshot

 

login page

技术图片

 

model train page

技术图片

 

prediction page

技术图片

 

以上是关于a simple machine learning system demo, for ML study.的主要内容,如果未能解决你的问题,请参考以下文章

Python Machine Learning

Machine Learning学习目录

COMPSCI 361 Machine Learning 重点解析

machine learning in action , part 1

Advice for students of machine learning--转

Python Machine Learning-Chapter4