Introduction Linear models and search Flashcards

1
Q

Describe a perceptron

A

Multiple features are multiplied with weights, a bias parameter is added to the resulting sum. It is basically a linear classifier.

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

How can we include a nonlinearity to a perceptron?

A

Use an activation function like the logistic sigmoid

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

For what is a softmax activation used?

A

Multiclass classification. All output nodes sum to 1

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

What is stochastic gradient descent?

A

It is a variant of the gradient descent algorithm, but instead of using the entire dataset to compute the gradient at each iteration, it randomly samples a small subset of the data and computes the gradient on that subset.

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

Can you give a summary of how to train a neural network?

A

Define a loss function
Work out the gradient with respect to the weights
Use (stochastic) gradient descent to improve the weights

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

Give the 3 backpropogation steps

A

Work out the derivative of the output wrt its inputs symbolically
Compute the global derivative by multiplying all derivatives

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