12-perceptron Flashcards

1
Q

What is the perceptron?

A

The perceptron is a minimal neural network. Neural networks are composed of neurons

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

What is a neuron?

A

Neuron is defined as:
- Input: a vector of numeric inputs
- Output: a scalar
- Hyper-parameter: an activation function
- Parameters: set of parameters per input

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

What is the perceptron model?

A

f(theta^Tx) = 1, if theta^tx >= 0, else -1

f is a step function

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

What does learning mean in the context of the perceptron model?

A

Learning means to modify the parameters of the perceptron so that performance is optimised

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

What does the percepton algorithm do?

A

Iterate over the training data:
- if label is actual do nothing
- if true label is 1 and modelled is -1, then decrease weights
- if true label is -1 and modelled is 1, then increase weights

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

How does the update formula work for the perceptron algorithm?

A

theta_j = theta_j + eta(y-y^)*x_j

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

What does the perceptron algorithm guarantee?

A

The perceptron algorithm guarantees convergence for linearly separable data

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

What is an online algorithm?

A

Updates the weights after each training example. The perceptron is an online algorithm

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

What is a batch algorithm?

A

Computes statistics of the whole training data set and updates all parameters at once

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