Objective: Use the publicly available IMDB Datasets located on https://www.imdb.com/interfaces/ to build a model that predicts a movie’s average rating. I am not pull in any outside information (only these files)
My commands are in linux, for windows instructions, click here
- Clone repo into IDE
- Go into repo folder in your terminal. In VS Code you can hit ctrl + ` to open the terminal and enter
cd /path/to/repo
- Create a virtual environment inside of the repo by running:
python3 -m venv venv
- Install dependencies by running:
pip install -r requirements.txt
- You can activate your virtual environment by running:
source /venv/bin/activate ... on windows I believe the command is \venv\Scripts\activate
- Congrats! You have created and activated your new virtual environment! You should be able to run anything without having differing results/issues due to pacakge versions.
- You can deactivate your virtual environment anytime
You should create your own branch and work on it before merging into prod if working on open source files (not your own file)
To create a branch you do the steps below. I will follow a convention of feature/{lastname}-{what-im-working-on} for consistency
- Create branch: Open terminal and run
git checkout -b feature/creegan-spotify-analysis
- Track main branch: Run:
git branch --set-upstream-to=origin feature/creegan-neural-network
- Make changes to your file
- Save changes
- Run
git add /path/to/file(s)
git checkout -b feature/creegan-spotify-analysis
git branch --set-upstream-to=origin feature/creegan-neural-network
git add /path/to/file(s)
or too add everything run
git add -A
- Run
git commit -m "message explaining your changes"
- git push
- You can review your changes in the browser or just run git merge but I highly recommend reviewing in the browser before merging
- Merge changes into main