Linear Classifiers Flashcards

(14 cards)

1
Q

What does P(X,Y) represent

A

The joint distribution that describes the joint statistics of 2 random variables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Define a joint cumulative distribution function

A

F(x,y) = P(X <= x, Y <= y)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What do the parameters of the univariate gaussian distribution control

A

μ controls the location of the peak
σ controls the width of the peak

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Why is the euclidean distance not suitable for higher dimensions

A

It ignores covariance between features

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Give the formula for the Mahalanobis distancce

A

Multiply inverse covariance matrix by (x-y)^T

Then dot with (x-y)

That answer then ^1/2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Describe the Mahalanobis distance in words

A

The distance between two vectors when we account for covariance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are eigenvectors

A

The eigenvectors (e) of the covariance matrix describe the direction of the contours

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are eigenvalues

A

The eigenvalues (λ) describe the spread of the contours in these principal directions defined by the eigenvectors

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the length of a contour of equal probability

A

The length will be proportional to the square root of the eigenvalue

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

How do you sketch the approximate contours for a guassian, given the mean column vector, the covariance matrix, the eigenvalues and the eigenvectors

A

The centre point is the mean’s co-ordinates

Draw ‘x and y’ arrows in the direction of the eigenvectors, starting at mean

Stretch the circle by the factors of the square root of the eigenvalues in their respective direction

Distance from mean to edge of ‘circle’ is the sqrt of eigenvalue in the direction

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Sketch the contours for this guassian

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Sketch the contours for this guassian

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the 2 parameters of the multivariate guassian distribution

A

Mean vector and a covariance matrix

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

If there are L features, how many values do we have to estimate for the parameters

A

L values of the mean vector

L(L+1)/2 values for the covariance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly