Foundations of Data Analysis
Instructor : Jeff Phillips (email) | Office hours: Thursdays 10am @ MEB 3442 (and directly after class in WEB L114)
TAs: Sunipa Dev (email) | Office hours: Tuesdays 4:30-5:30pm @ MEB 3115
         Majid Rasouli (email) | Office hours: Mondays 12:30-1:30 @ MEB 3115
Fall 2017 | Mondays, Wednesdays 3:00 pm - 4:20 pm
WEB L114
Catalog number: CS 4964 01




Description:
This class will be an introduction to computational data analysis, focusing on the mathematical foundations. The goal will be to carefully develop and explore several core topics that form the backbone of modern data analysis topics, including Machine Learning, Data Mining, Artificial Intelligence, and Visualization. This will include some background in probability and linear algebra, and then various topics including Bayes Rule and connection to inference, linear regression and its polynomial and high dimensional extensions, principal component analysis and dimensionality reduction, as well as classification and clustering. We will also focus on modern PAC (probably approximately correct) and cross-validation models for algorithm evaluation.
These topics are often very breifly covered at the end of a probability or linear algebra class, and then are often assumed knowledge in advanced data mining or machine learning classes. This class will fill that gap. While some students may want to jump straight to advanced data analysis classes (e.g., CS5350, CS5340, CS5140, CS5630, CS6300) this class may be wise to take first. The planned pace will be closer to CS3130 or Math2270 than the 5000/6000-level courses. Also, some students may want to go back and solidify their foundations if the 5000/6000-level classes were a bit fast-paced.

The current plan is to use Python in the class to demonstrate and explore basic concepts. But programming will not be the main focus.

Book: Introduction to Data Analysis through a Geometric Lens
This is a first draft of a book I wrote in Fall 2016. I hope it to improve throughout the semester.
More outside online resources are listed below.

Prerequisits:
The official pre-requisites are CS 2100 and CS 2420. These are to ensure a certain very basic mathematical maturity (CS 2100) and a basic understanding of how to store and manipulate data with some efficiency (CS2420).

This will be the second iteration of this class (the first took place in Fall 2016 with same course number, but name "Math for Data"). If it goes well, future versions of this class may require pre-requisites of CS 3130 and Math 2270 (then it can start with less review). And then this class may in turn be a pre-requisite for CS 5350, CS 5140, CS6300, etc. as part of a possible new Data Science pipeline.

Schedule:

Date Topic Assignment
Mon 8.21 Class Overview
Wed 8.23 Probability Review : Sample Space, Random Variables, Independence
Mon 8.28 Probability Review : PDFs, CDFs, Expectation, Variance, Joint and Marginal Distributions HW1 out
Wed 8.30 Bayes Rule
Mon 9.04
LABOR DAY
Wed 9.06 Bayes Rule : Bayesian Reasoning
Mon 9.11 Convergence : Central Limit Theorem and Estimation
Wed 9.13 Convergence : PAC Algorithms and Concentration of Measure HW 1 due
Mon 9.18 Linear Algebra Review : Vectors, Matrices, Multiplication and Scaling
Quiz 1
Wed 9.20 Linear Algebra Review : Norms, Linear Independence, Rank HW 2 out
Mon 9.25 Linear Algebra Review : Inverse, Orthogonality, numpy
Wed 9.27 Linear Regression : dependent, independent variables
Mon 10.02 Linear Regression : multiple regreesion, polynomial regression HW 2 due
Wed 10.04 Linear Regression : mini review + slack
Quiz 2
Mon 10.11
FALL BREAK
Wed 10.13
FALL BREAK
Mon 10.16 Linear Regression : overfitting and cross-validation HW 3 out
Wed 10.18 Gradient Descent : functions, minimum, maximum, convexity
Mon 10.23 Gradient Descent : gradients and algorithmic variants
Wed 10.25 Gradient Descent : fitting models to data and stochastic gradient descent
Mon 10.30 PCA : SVD
Wed 11.01 PCA : rank-k approximation and eigenvalues HW 3 due
Mon 11.06 PCA : power method HW 4 out
Wed 11.08 PCA : centering, MDS, and dimensionalty reduction
Mon 11.13 Clustering : Voronoi Daigrams
Quiz 3
Wed 11.15 Clustering : k-means
Mon 11.20 Clustering : EM, Mixture of Gaussians, Mean-Shift
Wed 11.22 Classification : Linear prediction HW 4 due
Mon 11.27 Classification : Perceptron Algorithm HW 5 out
Wed 11.29 Classification : Kernels and SVMs
Mon 12.04 Classification : Neural Nets
Quiz 4
Wed 12.06 In-class review
Fri 12.08 HW 5 due
Tue 12.12
FINAL EXAM (3:30pm - 5:30pm)
(practice)
Thu 12.14 HW 4R due



Class Organization: The class will be run through this webpage, and Canvas. The schedule, notes, and links will be maintained here. All homeworks will be turned in through Canvas.


Grading: There will be one final exam with 20% of the grade. Homeworks and quizzes will be worth 80% of the grade. There will be 5 homeworks and 4 quizzes -- the lowest one (either one homework or one quiz) can be dropped. So each counted homework/quiz will be worth 10% of the grade.

The homeworks will usually consist of an analytical problems set, and sometimes light programming exercizes in python. When python will be used, we typically will work through examples in class first.


Late Policy: To get full credit for an assignment, it must be turned in through Canvas by the start of class, specifically 2:45. Once the 2:45 deadline is missed, those turned in late will lose 10%. Every subsequent 24 hours until it is turned another 10% is deducted. That is, a homework 30 hours late worth 10 points will have lost 2 points. Once the graded assignment is returned, or 48 hours has passed, any assignment not yet turned in will be given a 0.


Academic Conduct Policy: The Utah School of Computing has an academic misconduct policy, which requires all registered students to sign an Acknowledgement Form. This form must be signed and turned into the department office before any homeworks are graded.

This class has the following collaboration policy:
For assignments, students may discuss answers with anyone, including problem approach, proofs, and code. But all students must write their own code, proofs, and write-ups. If you collaborated with another student on homeworks to the extent that you expect your answers may start to look similar, you must explain the extent to which you collabodated explicitly on the homework. Students whose homeworks appear too similar, and did not explain the collaboration will get a 0 on that assignment.

For quizzes and the final exam, talking to anyone (other than instructors/TAs) during the examination period is not allowed and will result in a 0 on that test or quiz.


More Resources:
Here are a few books that cover some of the material, but at a more advanced level:
Understanding ML | Foundations of Data Science | Introduction to Statistical Learning
Here is a list nice resources I believe may be useful with relevant parts at roughly the right level for this course:
  • Probability: ProbStat course | P1 | P2
  • Bayes Rule/Reasoning: B1 | B2 | B3 | B4
  • Linear Algebra: No-BS Book | LA1 | LA2 | LA3
  • Linear Regression: LR1 | LR2
  • Gradient Descent: GD1 | GD2
  • PCA: PCA1 | PCA2 | PCA3 | PCA4
  • Clustering: C1 | C2 | C3 | C4
  • Classification: L1 | L2 | L3