Welcome to the UCI Data Science Initiative's Predictive Modeling with Python course! This repository contains the iPython Notebooks we'll be using throughout the day. Here are the steps to get started:
- If you haven't do so already, download and install the Anaconda Scientific Python Distribution version 2.7. If it offers to make itself your default Python distribution, allow it.
- Whether you've just installed Anaconda, or you have done so previously, you should now update Anaconda to the latest version of the distribution. It changes a lot so do this today even if you did recently.
- Open a terminal or command prompt.
- Type
conda update conda
and press enter or return. Confirm that you'd like it to make any changes that it offers. - Type
conda update anaconda
and press enter or return. Confirm that you'd like it to make any changes that it offers. - Download the code repository.
- Click here to download a zip file containing this entire repository.
- Unzip that file into a directory you know how to find; you'll need it several times throughout the day.
- Start an jupyter notebook server.
- Open a terminal and type
jupyter notebook
. Navigate to the directory where you unzipped this repository. - Open "Test Notebook.ipynb".
- Click "Cell" at the top of the opened notebook, followed by "Run All" and ensure that 1) there are no errors and that 2) the output from the first cell is the same as that in the second. If it doesn't match, raise your hand.
- If everything looks good, close the browser tab containing the test notebook but keep open the tab listing all the other notebooks.
There are two sets of notebooks. The ones you see above (in the repository's root) are incomplete, ready to be filled-in by the course's participants. In the Solutions directory, you'll find the completed versions.