The application runs Machine Learning models on your dataset of choice. We can create ML experiments on the tool to record each experiment we run on the dataset. The current implementation uses an ANN model built on Keras and more models will be added in the coming iterations.
Link - https://docs.docker.com/toolbox/overview/
Make the following changes after installation.
Step 1:
Go to C:\Program Files\Docker Toolbox\start.sh
Replace the following line -
"${DOCKER_MACHINE}" create -d virtualbox
Step 2: If necessary, some Windows firewall settings need to be changed - > Please follow the tutorial on YouTube by Raghav Pal https://youtu.be/ymlWt1MqURY
The default settings seem to suffice or kindly follow the instructions specified on the page.
- Clone the repository.
- Open Docker terminal and cd to the cloned repo.
- Build the application by saying "docker-compose up --build"
- After the build is complete, the application will be up and running on the localhost http://0.0.0.0:4000/
- Open another docker terminal and cd to the cloned repo.
- On Windows -> Run the bash file by saying "docker exec "container-name" sh calls.sh" Eg: docker exec fullstackmltool_web_dev_1 sh calls.sh
- On OSX/Linux -> run "container-name" sh calls_x.sh
The following curl calls can be executed from a terminal while the application is up and running.
Note - The name of the experiments are assumed to be "unique".
CREATE ==> curl localhost:4000/experiments -d "{"exp_name": "name of the experiment", "train_split":"percentage of data used for train", "type":"type of the experiment"}" -H "Content-Type: application/json"
READ ==> curl localhost:4000/experiments
DELETE ==> curl -X DELETE localhost:4000/experiments -d "{"exp_name":"name of the experiment"}" -H "Content-Type: application/json"
UPDATE ==> curl -X PATCH localhost:4000/experiments -d "{"query": {"exp_name":"name of the experiment"}, "payload" : {"field to be updated/added":"new value to be updated/added"}}" -H "Content-Type: application/json"