Notebooks for the Course
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
Session 0 - IPython Notebooks and Viewing Data in Python.ipynb
Session 1 - Linear_Regression.ipynb
Session 2 - Overfitting, Regularization, Model Selection.ipynb
Session 3 - Classification.ipynb
Supplementary Materials - Python Programming.ipynb
Test Notebook.ipynb

alt text

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:

  1. 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.
  2. 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.
  3. Open a terminal or command prompt.
  4. Type conda update conda and press enter or return. Confirm that you'd like it to make any changes that it offers.
  5. Type conda update anaconda and press enter or return. Confirm that you'd like it to make any changes that it offers.
  6. Download the code repository.
  7. Click here to download a zip file containing this entire repository.
  8. Unzip that file into a directory you know how to find; you'll need it several times throughout the day.
  9. Start an jupyter notebook server.
  10. Open a terminal and type jupyter notebook. Navigate to the directory where you unzipped this repository.
  11. Open "Test Notebook.ipynb".
  12. 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.
  13. 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.