Implementing multiclass logistic regression from scratch (using stochastic gradient descent)
Daniel O'Connor
0:00 / 0:00
Implementing multiclass logistic regression from scratch (using stochastic gradient descent)
5 702 просмотра · 6 лет назад
Daniel O'Connor
477 подписчиков
5 702 просмотра · 6 лет назад
We implement multiclass logistic regression from scratch in Python, using stochastic gradient descent, and try it out on the MNIST dataset.
If anyone would like more detail about how the formula for the gradient of L is derived, here is a worksheet I made that walks you through the calculation: https://drive.google.com/file/d/15vng...
Correction: At 23:42, transpose(xiHat) is 1 x (d + 1), not 1 x K.