Scientific Computing with Machine Learning (Summer 2023) |
Lecture Notes |
||
Notes | Video | |
6/7/23: We discussed basic computing with python. Here is the text file with links to the code we used in class. Link to first program. Link to second program. Link to python file to run in Spyder. |
Video from 6/7/23 | |
6/14/23: We discussed more basic computing with python, including defining functions, determining speed of algorithms,
for loops, array calculations, error handling. Here is the python code with three different algorithms given in functions and checking for elapsed time. Here is the python code with list calculations. Here is the python code with error handling. |
sorry, no video from 6/14/23 | |
6/20/23: We discussed using eval(), indexing and sublists and substrings, while loops, GUIs. Here is the python code with using eval() and list/string indexing. Here is the python code with while loops. Here is the python code with a GUI (replace image file with something in the same directory). |
video from 6/20/23 | |
6/21/23: We discussed the packages numpy, scipy, matplotlib, pandas (for data input/output). Here is the python code with using sys.exit() and rounding numbers. Here is the python code with matplotlib.pyplot graphs. Here is the python code with putting a graph in a GUI (the second GUI after you close the first window). Here is the python code with putting a graph in a GUI (improved from the last one, where everything is in one window). Here is the python code with brief exploration of the packages numpy, scipy, and also we showed how to do data input/output using pandas. Here is the csv file used as a file input. Here is the excel file used as a file input. |
video from 6/21/23 | |
6/27/23: We discussed the packages statistics, sympy pandas. Here is the python code with statistics. Here is the python code with sympy. Here is the python code with pandas. |
no video from 6/27/23 | |
7/1/23: We discussed formatting options in tkinter and more about pandas. Here is the modified python code with a GUI. Here is the python code with more about pandas. |
video from 7/1/23 | |
7/5/23: We discussed using machine learning algorithms for classification.. Here is the Jupyter notebook we used. |
video from 7/5/23 | |
7/18/23: We discussed using machine learning algorithms for numerical data. | video from 7/18/23 | |
7/19/23: We discussed regression in machine learning, utilizing linear algebra. Notes from 7/19/23 |
video from 7/19/23 | |
7/25/23: We discussed variants of regression algorithms, gradient search and its variants,
support vector machines, K-nearest neighbor algorithms. Notes from 7/25/23 |
video from 7/25/23 | |
7/26/23: We discussed decision trees, ensemble learning, bagging, random forests, and neural nets. Notes from 7/26/23 |
video from 7/26/23 |