Prev: Q5 Next: Q7
Back to week 2 page: Link

# Lecture 6 Examples

📗 My handwriting is really bad, you should copy down your notes from the lecture videos instead of using these.
Lecture 6 Zoom Annotated (2021): Link
Lecture 6 Pre-recorded Annotated (from 2020, please use with caution): Link

# Q6 Quiz Instruction

📗 The quizzes must be completed during the lectures. Alternative ways to get the points are listed under "Grading Scheme" on the index page. No Canvas submissions are required. The grades will be updated at the end of the week on Canvas.

# Game Results

📗 Guess what percentage of the students did not start P1:

Guess Students who did not start P1 Students who started P1 Total
0-20 20 4 24
20-40 20 5 25
40-60 9 5 14
60-80 3 2 5
80-100 0 0 0





# Nearest Neighbors Demo

Data:

Column separator: , row separator: , label column index (first column is 0):
Comparison for binary left subtree: , use info-gain ratio? , default class:

N (number of items): , M (number of features): , K (number of classes):
Initial info-gain table:
Number of nodes in the tree: , leaf nodes:




# Decision Tree Demo

📗 Training
Data:

Column separator: , row separator: , label column index (first column is 0):
Comparison for binary left subtree: , use info-gain ratio? , default class:

N (number of items): , M (number of features): , K (number of classes):
Initial info-gain table:
Number of nodes in the tree: , leaf nodes:




📗 Validation
K Fold (-1 for Leave-One-Out):
Parameter name: , list of values:

Validation accuracy: , validation error:



📗 Testing
Test set:

Or use nested subsets to train: and the rest to test

Predictions: , probabilities:
Test set accuracy: , error:
Confusion matrix:
Number of nodes:



# Entropy Demo









Last Updated: November 18, 2024 at 11:43 PM