ML Algorithms Flashcards

1
Q

ML Algorithms

What does it mean for data to be linearly separable?

A

There exists a hyperplane that correctly divides the data.

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

ML Algorithms

What is a training Algorithm?

A

An algorithm that finds the parameters of a hyperplane.

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

ML Algorithms

What is a perceptron?

A

A training algorithm that generates a hyperplane that separates two classes of examples.

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

ML Algorithms

How does a perceptron operate?

A

It iterates over the training exmples and updates weight vector w in a way that makes training examples more likely to be correct

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

ML Algorithms

How is the weight vector updated in a perceptron algorithm?

A

The weight vector is replaced by the weight vector plus a small multiple of the example.
w’ = w + nx

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

ML Algorithms

What is the learning rate in a perceptron?

A

The multiple the example is multiplied by when adjusting the weight vector.

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

ML Algorithms

What is an Epoch in training algorithms?

A

One iteration over the whole data set.

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

ML Algorithms

In simple terms, what is the Nearest Neighbor Classifier?

A

Returning the label of the training data example that is closest to the example needing classification.

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

ML Algorithms

How does a perceptron calculate the class of an example?

A

WT xi + b = class.

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

ML Algorithms

What are the classes in a Perceptron?

A

1, -1

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

ML Algorithms

What does generalization mean in regards to training algorithms?

A

The ability of your classifier to perform well on unseen test data.

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

ML Algorithms

What are the pros of perceptrons?

A

They are simple and easy to implement

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

ML Algorithms

What are the cons of perceptrons?

A

They are limited to linear decision boundaries on binary classification problems.
They also contain several hyperparameters(# of epochs and learning rate)

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

ML Algorithms

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