This project is deployed on http://dining-predictions.herokuapp.com/
Pre-requisites - pip, npm, Heroku.
- Clone this repo
- Download PyCharm as an IDE - you can get an Ultimate version for students.
- Open this project in PyCharm.
- Run:
pip install -r requirements.txton terminal. - Hit run on PyCharm - Your backend server should be ready to use on localhost:5000!
- Using the built templates, you can see the client side on the 5000 port as well!
- Navigate to the frontend directory, Execute
npm installon a Terminal. - Execute,
npm run serve. - Your client side server is ready to use on: localhost:8080 (copy & paste into browser) and you should see the website running in dev mode with the form page as the main page.
- run
npm run buildin the frontend directory and copy/replace all the files and folders in the frontend directory to the root directory of the project. This will be your new build - ready to be deployed with your flask server!
- Procfile, requirements.txt, Pipfile are required for heroku production. Please read more about how to deploy to Heroku on https://github.com/gtalarico/flask-vuejs-template
- Please set up your account on https://signup.heroku.com/
- Add and Commit all your changes to git and then execute
git push herokufor Heroku deployment.
1.modelis the model file we've generated and are using to get predictions.1.modelis a result of an XGBoost model that was trained on the data found insupervised_learningdirectory of this project. To learn more about XGBoost - visit https://xgboost.readthedocs.io/en/latest/. We've used the sklearn API for XGBoost in this project.- The model is built in
Test.ipynbin the same directory. - Descriptions of data files used:
processed_buffet.csv:Data from the buffet area of Pollock Commonsmix.csv: Data from The Mix at Pollock Commonsedge.csv: Data from the Edge at Pollock Commonsmerged_data.csv: processed data for the model to use.