AI class homework 3

From John's wiki
Jump to navigation Jump to search

These are my notes for homework 3 of the AI class.

Homework

Naive Bayes Laplacian Smoothing

Note: HINT: The size of the vocabulary is 11.

Naive Bayes 2

Note: Use the probabilities from the previous part (so Laplace smoothing still applies).

Maximum Likelihood

Linear Regression

Note: The question is whether the line can be fit EXACTLY.

Linear Regression 2

K Nearest Neighbours

K Nearest Neighbours 2

Perceptron