Formula for posterior probability and the formula for the evidence
p(x) = p(x|a)p(a) + P(x|b)p(b)
SIMPLE Formula to decide which class to assign classify x as
Formula for guassian distribution
Formula for covariance of two variables k and l
Formula for the product of all max likelihoods
Formulas for mean and variance
When 2 probability density functions (w1 and w2) overlap, what is the formula for the probability of an error
Formula for the probability that x belongs to w2 but falls in region 1
Formula for the average risk
Formulas for measuring the loss of each class
Formula for the likelihood ratio, how to use and what you can do with the decision boundary
Formula for unbiased estimate of the population covariance
The unbiased estimate of the population covariance is (N)/(N-1)S
Formula for euclidean distance and manhattan distance
Euclidean - p=2
Manhattan - p=1
Formula for cosine distance
Formula for the mahalanobis distance
Multiply inverse covariance matrix by (x-y)^T
Then dot with (x-y)
Square root the answer
Formula for the discriminant and how to use it to assign to a class
g(x) = (w^T)x + w0
if g(x) > 0, assign to class 1
else
assign to class 2
What is the computational complexity of the KNN
O(NL) where N is the number of samples and L is the number of features
Formula for accuracy
Measures how often the classifier makes correct predictions. It is the ratio of correctly classified instances to the total instances
Formula for precision
Ratio of correctly predicted positive observations to the total predicted positives. Tells us how many of the predicted positives were actually positive
Formula for recall
The ratio of correctly predicted positive observations to all observations that are actually positive. It tells us how many of the actual positive cases were correctly predicted
Formula for F1 score
Give the formula for divergence for D12
Formula for symmetric divergence
d12 = D12 + D21
So the divergence + the divergence but with ω2 swapped with ω1
Formula for covariance matrix for features x2 and x2