Last minute Flashcards
MLE vs Bayes Inference
MLE treats the params as unknown constants and tries to find their ML value.
Bayes uses prior knowledge to estimate parameter values
Cross validation
validation set is used to see how your model generalizes before using test set
E step of EM algorithm
find the expected value of the hidden variables based on current param values
M step of EM algorithm
recompute the ML value of the params based on the value of the hidden variables and observed data
Gaussian parameters
k, means covariances and weights
p(x) = sumToK p(x | G(i)) * P(Gi)
Gi - components
P(Gi) priors
P(x|Gi) - component densities
p(x) the mixture model
Which lines do you remove from adaboost?
Adaboost remove line 7 -12
What is p in the adaboost question
p is the probability of sampling each data point
What is B in the adaboost question
B controls how much the probabilities are adjusted each round
What effects do bags have on ensemble learning?
more bags = high bias, low variance
less bags = low bias, high variance
In the 2018 pseudocode what is N?
Number of data points
In the 2018 pseudocode what is d?
Number of features
What’s a benefit of online in GD?
Converge faster, updates weights one-by-one as inputs are seen.
11.1 What is the weight?
wTH
What do you need to replace in 11.1?
6,7,8 to yi <= sigmoid(vTiZ)