Zoom Information
https://us02web.zoom.us/j/88496384434?pwd=bzdnSS80bmRNWExnYWhWOHYxTDNuQT09
Meeting ID: 884 9638 4434
Passcode: 1946
Procedure
I will post videos of the lectures after the class. On Saturday morning, we will have a more interactive class, where we solve problems and exercises.
Module 1: Introduction to Python
June 21, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Example Data Set [click here]
- Example Code [click here]
- Example Code Integral) [click here]
Module 2: Loops in Python
June 23, 2021
- Presentation (previous class) (mp4) [click here]
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Activities [click here]
- Exercises [click here]
- Solutions [click here]
Week 1 Exercises
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Solutions exercises1.py [click here]
- Solutions heros.py [click here]
- Solutions dog.py [click here]
- Solutions furlongs.py [click here]
- Solutions sums.py [click here]
- Solutions bisection.py [click here]
- Solutions pi.py [click here]
Homework: Week 1
This homework is due (electronically) on July 3, 2021. You can ask questions at the end of class.
- Homework 1 [click here]
Module 3: Functions and Strings
June 28, 2021
Functions are the primary means to organize work in Computer programs. Python functions are full-fledged objects and can be used as arguments and return values. Python has many modern ways of defining functions, but some things like variadic functions (with an arbitrary number of parameters) need to wait until we have covered lists and dictionaries. Some concepts presented here such as decorators are very advanced and only intended for students who already have a good grasp on programming.
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- harmonic.py [click here]
- num_dif.py [click here]
Module 4: Lists and Strings
June 30, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Activities [click here]
- Activities Solutions [click here]
- Python file used [click here]
Week 2 Exercises: Pig Latin, Hangman
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Solutions sol.py [click here]
- Solutions accumulatedInterest.py [click here]
- Solutions hangman.py [click here]
Homework: Week 2
- Homework 2 [click here]
Module 5: Dictionaries
July 5, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Python Script [click here]
- alice.txt[click here]
Module 6: Comprehension
July 7, 2020
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Python Code Exercises [click here]
- Python Code Repetition [click here]
Week 3 Exercises: Simple Cryptography
July 10, 2020
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- caesar.py [click here]
- ex1.py [click here]
Homework: Week 3
- Homework 3 [click here]
Module 7: Files and Exceptions
July 12, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
Module 8: Classes I
July 14, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- example1.py [click here]
Week 4 Exercises: Denver Traffic Accidents
July 17, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- crime.csv [click here]
- test.py [click here]
- Traffic_accidents.pdf[click here]
- exercises.py [click here]
Homework: Week 4
- Homework 4 [click here]
- Babynames.zip [click here
Module 9: Classes II
July 19, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Python code [click here]
- Iris data set [click here
- Blood donation data set [click here}
- Pima Indian diabetes data set [click here]
Module 10: Classes III
July 21, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Python code [click here]
- Python code [click here]
- Python code [click here]
Part 2:
Class resumes on August 2nd. Notice that visualization will be integrated into some modules as well.
Module 1: Numpy
August 2, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Python code performance [click here]
- Python code [click here]
- Python code classification [click here]
- Python code clustering [click here]
- Average Precipitation Textfile [click here]
Module 2: Decision Trees
August 4, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Python code performance [click here]
- Python code iris_decision_tree.py[click here]
- Python code clustering [click here]
Repetition: Week 6
August 7, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Python code [click here]
- Python code Babynames [click here]
- Penguins Data Set[click here]
Homework
- Homework 6 [click here]
Module 3: Pandas
August 9, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Autho Theft Data [click here]
- Apple Data [click here]
- Google Data [click here]
- Python code [click here]
- Python code [click here]
- Python code [click here]
Module 4: Minimization and Curve Fitting
August 11, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Autho Theft Data [click here]
- Python Code[click here]
- Python Code[click here]
- Python code [click here]
- Python code [click here]
- Python code [click here]
Repetition: Week 7
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- crop_production.csv [click here]
- honey.csv [click here]
- sunspots.csv [click here]
- activity.py [click here]
- activity2.py [click here]
- activity3.py [click here]
Homework
- Homework 7 [click here]
Module 5: Visualization
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- births.csv [click here]
- california_cities.csv [click here]
- code.py [click here]
- code0.py [click here]
- code2.py [click here]
- code3.py [click here]
- code4.py [click here]
- code5.py [click here]
- code6.py [click here]
- df1.csv [click here]
- df2.csv [click here]
- df3.csv [click here]
- ex.py [click here]
- in.csv [click here]
- ts1.cvs [click here]
- ts2.cvs [click here]
Module 6: Statistics
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- code.py [click here]
- contingency.py [click here]
- ex.py [click here]
Repetition: Week 8
August 21, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Python code [click here]
- Python code 2 [click here]
- Heart Disease Data Set [click here]
- Penguins Data Set[click here]
- Boston Housing Data Set [click here]
Homework
- Homework 8 [click here]
Module 7: Linear and Logistic Regression
August 23, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- code.py [click here]
- brain-size.txt [click here]
- cereals.txt [click here]
- framingham.csv [click here]
- housing-prices.txt [click here]
- kc_house_data.csv [click here]
- quality.csv [click here]
Module 8: Forecasting and Time Series
August 25, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- code.py [click here]
- code2.py [click here]
- airline.csv [click here]
- AusBeer.csv[click here]
- Chennai.csv [click here]
- MAPCCPI.csv click here]
- MOPCCPI.csv click here]
- MILK.csv click here]
Repetition: Week 9 and Web Scraping
August 21, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
- Python code [click here]
- Python code 2 [click here]
- Rain Singapore Data Set [click here]
- Internet Usage per Country [click here]
Homework
- Homework 9 [Click Here]
Module 9: Naive Bayesian Inference, Principal Component Analysis
August 30, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]
Module 10: Support Vector Machines
Short class: September 1, 2021
- Presentation Video (mp4) [click here]
- Presentation (pdf) [click here]
- Presentation (key) [click here]
- Presentation (pptx) [click here]