Introduction to Python
(Spring 2020)

You are not logged in.

If you are a current student, please Log In for full access to the web site.
Note that this link will take you to an external site (https://shimmer.csail.mit.edu) to authenticate, and then you will be redirected back to this page.

Lecture Material

(Videos in Calendar below)

<hr class="quad" size="2" width="80%" color="black">
<br>

Live broadcasts here
during lecture time


Office Hours



Monday: 11am-11pm
Tuesday - Thursday: 11am-9pm
Friday 11am-5pm
How? Help Queue using Zoom

This Week's Pset



Problem Set 0: Warm Up.
Due: Feb 07 at 05:00PM

Recitation Schedule



Cancelled

Calendar and Materials 6.0002 - Spring 2020

Monday
Tuesday
Wednesday
Thursday
Friday
3/30: Lecture 1
YOU MUST LOG AND BE REGISTERED AS A STUDENT IN TO SEE LECTURE VIDEO

Slides and .py files

Introduction, optimization, knapsack problems

MITx Ex. 1 out
Pset 1 out
3/31
4/1: Lecture 2
YOU MUST LOG AND BE REGISTERED AS A STUDENT IN TO SEE LECTURE VIDEO

Slides and .py files

Dynamic programming (incl. tabular method), Pseudo polynomial complexity
<br><br>
<b><a href="COURSE/MQ0">Trial Microquiz 0</a> (to test YOUR and our system)</b>
</div>  
4/2
4/3: Last day we are accepting 6.0002 adds
4/6: Lecture 3
YOU MUST LOG AND BE REGISTERED AS A STUDENT IN TO SEE LECTURE VIDEO

Slides and .py files

Graphs, shortest path problems, DFS and BFS, all paths, and efficient algorithms including Dijkstra.

MITx Ex. 1 due
Pset 1 due at 11pm
MITx Ex. 2 out
Pset 2 out
4/7
4/8: Lecture 4
YOU MUST LOG AND BE REGISTERED AS A STUDENT IN TO SEE LECTURE VIDEO

Slides and .py files
Stochastic thinking, probability, simulation



Microquiz 1 (30 minutes within a 12 hour time period)
4/9
4/10
4/13: Lecture 5
YOU MUST LOG AND BE REGISTERED AS A STUDENT IN TO SEE LECTURE VIDEO

Slides and .py files (updated with slides hidden pre-lecture)

Random Walks

MITx Ex. 2 due
Pset 2 due at 11pm
MITx Ex. 3 out
Pset 3 out
4/14
4/15: Lecture 6
YOU MUST LOG AND BE REGISTERED AS A STUDENT IN TO SEE LECTURE VIDEO

Slides and .py files

Monte Carlo Methods, variance, confidence intervals, roulette, pi
4/17
4/20: Patriot's Day
4/21

Pset 3 due at 11pm
4/22: Lecture 7
YOU MUST LOG AND BE REGISTERED AS A STUDENT IN TO SEE LECTURE VIDEO and Slides and .py files (for virus sim, now updated with annotations and extra content)

Recorded Video and Slides and .py files (for stocks sim)

Stock market simulation / virus simulation (both lectures cover the same ideas just on a different topic)

MITx Ex. 3 due
MITx Ex. 4 out

Microquiz 2 (30 minutes within a 12 hour time period)
4/23
4/24
4/27: Lecture 8
YOU MUST LOG AND BE REGISTERED AS A STUDENT IN TO SEE LECTURE VIDEO

Slides and .py files

Distributions, CLT, sampling, standard error

Pset 4 due at 11pm
Pset 5 out
4/28
4/29: Lecture 9
YOU MUST LOG AND BE REGISTERED AS A STUDENT IN TO SEE LECTURE VIDEO

Slides and .py files

Curve fitting, linear regression, R**2, overfitting, choosing a degree, training and test sets

MITx Ex. 4 due
MITx Ex. 5 out

Microquiz 3 (30 minutes within a 12 hour time period)
4/30
5/1
5/4: Lecture 10
YOU MUST LOG AND BE REGISTERED AS A STUDENT IN TO SEE LECTURE VIDEO

Slides and .py files

Intro to ML, distance metrics, scaling of features, K-means clustering, classification, KNN classification
5/5
5/6: Lecture 11
YOU MUST LOG AND BE REGISTERED AS A STUDENT IN TO SEE LECTURE VIDEO

Slides and .py files (updated with annotations)

Classification, KNN, logistic regression

MITx Ex. 5 due

Microquiz 4 (30 minutes within a 12 hour time period)
5/7
5/8
5/11: Lecture 12
YOU MUST LOG AND BE REGISTERED AS A STUDENT IN TO SEE LECTURE VIDEO

Slides and .py files (updated with annotations)

Last lecture - statistical fallacies, wrap up

Pset 5 due at 11pm
5/12
Last day of classes
5/13
5/14
5/15