Prev: W3 Next: W5

# Summary

📗 Monday to Thursday lectures: 12:30 to 1:45, Zoom Link (Weeks 1 to 7), Zoom Link (Week 8) 
📗 Monday to Sunday office hours: 2:00 to 3:00, Zoom Link (Weeks 1 to 7), Zoom Link (Week 8) 
📗 Personal meeting room: always open, Zoom Link
📗 Quiz (use your wisc ID to log in (without "@wisc.edu")): Socrative Link
📗 Math Homework: M2, M3, M4, M5, M6, M7,
📗 Programming Homework: P1, P2, P3,
📗 Examples and Quizzes: Q1, Q2, Q3, Q4, Q5, Q6, Q7, Q8, Q9, Q10, Q11, Q12, Q13, Q14,

# Lectures

📗 Slides
Lecture 13: Slides.

📗 Videos
Lecture 13 (Reinforcement Learning): Guest Lecture (see Canvas Zoom recording)
Lecture 14 (Optimization): Guest Lecture (see Canvas Zoom recording)

📗 Notes
Lecture 12 is the original Lectures 23 and 24.

Algo

Image by scikit learn

# Summary

📗 Coverage: supervised learning W1 to W3.
📗 Number of questions: 30
📗 Length: 2 x 1 hour 15 minutes
📗 Part 1: July 19, 12:30 to 1:45 PM (Version A), July 20, 12:30 to 1:45 AM (Version B)
📗 Part 2: July 20, 12:30 to 1:45 PM (Version A), July 21, 12:30 to 1:45 AM (Version B)
📗 Link to relevant pages:
W1 : M1 and M2 and M3
W2 : M4 and M5
W3 : M6 and M7
Practice: M13 and M14
Exam M1A: Mean = 8.21, Stdev = 1.8
Q 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
MAX 4 2 3 4 2 3 2 4 4 4 4 4 3 3 1
PROB 0.88 0.88 0.95 0.54 0.75 0.82 0.95 0.54 0.96 0.91 0.84 0.79 0.88 0.96 1
RPBI 7.59 3.87 4.27 7.29 4.37 6.33 2.85 7.29 4.78 6.68 8.27 8.66 5.81 3.45 0

Exam M1B: Mean = 7.32, Stdev = 1.97
Q 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
MAX 4 2 3 4 2 3 2 4 2 4 2 4 3 3 1
PROB 0.96 0.93 0.89 0.75 0.68 0.82 0.93 0.39 0.50 0.75 0.89 0.46 0.79 0.75 1
RPBI 2.28 1.58 2.74 4.29 2.09 3.12 1.58 2.53 1.65 3.98 1.82 3.06 3.19 3.12 0

Exam M2A: Mean = 7.74, Stdev = 2.29
Q 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
MAX 4 1 4 2 3 2 2 4 4 4 2 3 5 4 1
PROB 0.78 0.95 0.89 0.80 0.86 0.45 0.95 0.84 0.72 0.83 0.70 0.92 0.77 0.66 1
RPBI 8.01 1.25 6.44 3.97 5.55 2.80 2.33 7.59 8.01 7.75 3.98 3.82 10.05 7.27 0

Exam M2B: Mean = 6.21, Stdev = 2.17
Q 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
MAX 4 2 4 2 3 2 4 3 4 4 3 3 5 4 1
PROB 0.72 0.92 0.76 0.76 0.72 0.44 0.80 0.64 0.60 0.60 0.80 0.24 0.72 0.36 1
RPBI 3.10 1.20 2.66 1.56 2.33 1.05 2.99 2.21 2.82 2.82 1.50 0.74 3.88 1.38 0


# Details

📗 Slides:
(1) The slides subtitled "Definition" and "Quiz" contain the mathematics and statistics that you are required to know for the exams.
(2) The slides subtitled "Motivation" and "Discussion" contain concepts you should be familiar with, but the specific mathematics will not be tested on the exam.
(3) The slides subtitled "Description" and "Algorithm" are mostly useful for programming homework, not exams.
(4) The slides subtitled "Admin" are not relevant to the course materials.
📗 Questions:
(1) Around a third of the questions will be exactly the same as the homework questions (different randomization of parameters), you can practice by solving these homework again with someone else's ID (auto-grading will not work if you do not enter an ID).
(2) Around a third of the questions will be similar to the homework or quiz questions (solved and graded using the same algorithms), going over the quiz questions will help, and solving the homework again will help too.
(3) Around a third of the questions will be new, mostly from topics not covered in the homework, reading the slides will be helpful, and the 2019 and 2020 exams will be helpful too.
📗 Question types:
All questions will ask you to enter a number, vector, or matrix. There will be no multiple choice, no drawing or selecting objects on a canvas, and no text entry or essay questions. You will not get the hints like the ones in the homework. You can type your answers in a text file directly and submit it on Canvas. If you use the website, you can use the "calculate" button to make sure the expression you entered can be evaluated correctly when graded. You will receive 0 for incorrect answers and not-evaluate-able expressions, no partial marks, and no additional penalty for incorrect answers.

# Other Materials

📗 Relevant websites
2019 In-person Exams:
Midterm Version A: Link
Version A Answers: ABEDE ECDDC CCBCC CEDBB CEECD DDDBC DBBAA AAADC
Midterm Version B: Link
Version B Answers: CCABD DAECE BCADC CCEBA DDCCD DDCCA AADBC ABDAB
Sample midterm: Link
Video going through sample midterm very quickly: Link
Correction: x^(-2) is not convex on (-infinity, infinity), connecting x = 1 and x = -1, the line is below the function. x^(-2) is convex on (-infinity, 0) and (0, infinity) separately. The domain will be specified on the midterm clearly.

2020 Online Exams:
M1A-C Permutations: Link
M1B-C Permutations: Link
M2A-C Permutations: Link
M2B-C Permutations: Link
M1A-E Permutations: Link
M1B-E Permutations: Link
M2A-E Permutations: Link
M2B-E Permutations: Link

Past exam other professors made:
Professor Zhu: Link
Professor Dyer: Link
Relevant questions:
Midterms: F18Q1,2,3,4,5,6,7,8,9,10,11,12,13,14; F17Q1,2,3,4,5,6,7,8,9,10,11,12,13; F16Q1,2,3,4,5,6,7,8,9,10; F14Q1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20; F11Q1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,18,20; F10Q1,2,3,4; F09Q1,3,4,5,6; F08Q1,2,3,5; F06Q1,2,3,4,5,6,7,8,9,10,11,12; F05Q1,2,3,4,5,6,7,8,9,10,11,14,19,20; F19Q1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32; S18Q1,2,3,4,5,6,7,8,9; S17Q1,2,3,4,5,6,7,8
Final Exams: F17Q1,2,3,4,5,6,7,10,11,12,13,14,15,17,18,19,20,21,22,23,24,25; F16Q1,2,3,4,5,6,7,8,9,10,11,13,14,15,17,18; F14Q1,2,3,4,5,9,10,13,14,15,16,17,19,20; F13Q1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20; F12Q1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,20; F10Q1,2,3,4,5,6,10,11,12,13,14,15,16,17,18,19,20; F09Q1,2,3,4,5,6,7,8,10,11,12,13,17,19,20; F08Q1,2,3,4,5,6,7; F06Q1,2,3,4,5,6,10,11,13,14,15,16,17,18,19,20; F05Q1,2,3,4,5,6,10,11,13,14,15,16,17,18,19,20; F19Q6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32; S18Q3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33; S17Q2,3,4,5,6,7,8,9,10

📗 YouTube videos from 2019 and 2020
M2Q5: Link
M3Q6: Link
M4Q3: Link
M4Q6: Link
M4Q8: Link
M5Q8: Link
M6Q1: Link
M6Q4: Link
M7Q1: Link
M7Q4: Link
HMM: Link
Other Midterm Questions
Q2 (KNN Decision Boundary Question): Link
Q3 (KNN Leave-One-Out Question): Link
Q4 (CNN Count Weights Question): Link
Q5 (Naive Bayes Count CPTs Question): Link
Q7 (Please do NOT forget to submit your homework on Canvas! Question): Link






Last Updated: April 29, 2024 at 1:11 AM