Chapter 9 Gradient Descent For Machine Learning Flashcards

1
Q

HOW DOES PLOTTING COST VS TIME HELP US EVALUATE THE ALGORITHM? P41

A

A well performing gradient descent, decreases the error (cost) in each iteration, if it does not decrease, we should try reducing the learning rate.

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

HOW MANY PASSES ARE NEEDED FOR STOCHASTIC GRADIENT DESCENT? P41

A

SGD often doesn’t need more than 1-10 passes through the training set to converge on good or good enough coefficients

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

IS LINEAR REGRESSION SENSITIVE TO HAVING GAUSSIAN DISTRIBUTION? P47

A

Yes, Linear regression will make more reliable predictions if your input and output variables have a Gaussian distribution. You may get some benefit using transforms (e.g. log or BoxCox) on your variables to make their distribution more Gaussian looking

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