UCI AI Club
Press the green "Code" button and click "Download ZIP".
Save the folder to your computer, and extract the contents.
Open a Terminal (OSX/LINUX) or CMD (WINDOWS) and follow the below instructions.
We have provided a requirements.txt for you to setup your python environment.
Python Latest Version Download: https://www.python.org/downloads/
Change directories to twitter folder.
cd /path/to/twitter/folder/
First off, create your virtual environment by entering the commands below...
Install virtual environment tool:
pip3 install virtualenv
Create and activate virtual environment:
python3 -m venv twitterenv
source twitterenv/bin/activate
pip3 install -r requirements.txt
Install virtual environment tool:
pip3 install --user virtualenv
Create and activate virtual environment:
py -m venv twitterenv
twitterenv\Scripts\activate.bat
pip3 install -r requirements.txt
Once you have got your venv activated, run the following command:
jupyter notebook
jupyter notebook
Once jupyter notebook is opened, it will list everything in the current directory where you ran "jupyter notebook".
Here is a tutorial of jupyter notebook as well: https://www.youtube.com/watch?v=HW29067qVWk
Open up the "Twitter Classification Template" notebook and you are ready to follow along with the youtube video.
Note: The Template will not work until you complete the code outlined in the video.