Machine learning sandbox using React and Flask. Built at HackMIT 2017
sudo service mongod start
mongo
> use apprentice
> db.users.insert({})
cd api
export FLASK_APP=app.py
flask run &
cd app
npm install
npm start
The application will run on localhost:3000
Uploads a custom dataset
{
"files":[(X, ...), (y, ...)],
"predict": <id if uploading predict dataset>/null
}
Specifies an existing example dataset
{
"example": "iris"
}
Fits the specified learner on the chosen datset
{
"data": {
"id": <id>,
"algorithm":["svm", {<params>}]
}
}
Generates a prediction using input
{
"id":<id of orig dataset>
}