Day 18 - Thursday, May 29, 2014

Summary: Linear Regression, Optimization and Curve fitting


Tour and exercises were posted on PolyLearn (and announced) at 5:30pm on May 28. I noticed that attendance was lighter than usual but I am not sure if these two events are connected. Most of the questions I received in class related to the projects or homework from previous lessons.


1. Open terminal, practice workflow:

$ cd PHYS202-S14
$ git pull origin master
$ git status
$ mkdir Optimization
$ ipynb

2. Navigate to the Optimization directory and create a new notebook called OptimizationTour with title cell (Heading 1) Linear Regression, Optimization, and Curve Fitting.

3. Open the "Optimization" webpage on PolyLearn in one Browser Window. Follow the self-guided tour, entering code into your OptimizationTour notebook as you go. Add markdown cells with your notes, if you like.

No copy/paste!

Type the commands yourself to get the practice doing it. This will also slow you down so you can think about the commands and what they are doing as you type them.

4. At the end of the self-guided tour open the "Optimization Exercises" page on PolyLearn and start working on them. They will be due as HW by Wednesday, June 4, 2014 at 11:59pm.

5. Before leaving, save your work in the notebook, then practice your workflow:

$ git status
$ git add .
$ git commit -m "<summary message goes here>"
$ git push origin master
$ git status

Check github to be sure the work got there so you have it for the weekend.


All content is under a modified MIT License, and can be freely used and adapted. See the full license text here.