To launch the website
docker-compose build
docker-compose up
Ctl+c
to stop running the server.
To collect data from a website
docker-compose run webapp python manage.py collect_data
To train the model
docker-compose run webapp python manage.py train
This will output the accuracy of a classifier using the test dataset
Now run docker-compose up
again to launch the website
Accuracy: Naive Bayes ... 0.74167 Accuracy: Random Forest ... 0.82083