Models Flashcards

1
Q

What are the two approaches to creating a probabilistic model?

A
  • Directly modelling the posterior p(f|x)
  • Construct the likelihood and prior, and then compute the posterior using Bayes theorem

p(f|x) = p(x|f) p(f) / p(x)

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

Why are probabilistic models sometimes preferred over deterministic models?

A

Probabilistic models give us an output with a quantified uncertainty

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

What are some advantages of a deterministic model over a probabilistic model?

A

It is cheaper to train, requires less memory and resources.

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

Using a linear classification model, what is a non-probabilistic method we can use?

A

A separating hyperplane

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

Using a linear classification model, what is a probabilistic method we can use?

A

Logistic regression or soft-max for multi-class output

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

What is a non-parametric model?

A

A model with no parameters to optimise.

e.g. a K-NN model

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

What is a parametric model?

A

A model with parameters to optimise

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

What is the decision boundary in a classification model?

A

When classifying we take the output of our model and threshold on some value t.

The decision boundary is when the output of our model is equal to t.

f(X) = t

f(X) >= t CLASS 1
f(X) < t CLASS 2

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

How do we deal with non-linear data?

A

We find a transformation such that the data points are linearly separable.

And then we apply the linear model to the points in this new space.

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

What is the Linear Basis Function Model?

A

This is where we have a non-linear basis function for each feature.

After applying the basis function to each feature and weighting, we can then apply a linear model.

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

What does the inner product of two vectors represent?

A

This is a measure of how similar two vectors are.

How much is one vector pointing in the direction of the other?

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

What is the kernel method/trick?

A

This avoids directly defining a mapping function from a non-linear space to linearly separable space.

It does this by computing the inner product function of the transformed points directly.

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

What is the function for logistic regression?

A

Y = [ e^x ] / [ 1+ e^x ]

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