Re:Why “Gradient” Descent?
by FisDugthop on Friday January 03, 2020 @03:29PM
(#21949979)
What I find interesting is the implicit assumption that the underlying function being learned is differentiable or continuous to begin with. That's not always the case; for example, we often work with "categorically labeled" discrete binning problems.
[ Parent
| on HN ]
Re:Why “Gradient” Descent?
by fxtentacle on Friday January 03, 2020 @03:36PM
(#21950045)
In those cases, people tend to use something like a categorical cross-entropy loss where you assign a continuous likelihood score to each discrete possibility, thereby making things differentiable again.
https://www.tensorflow.org/api_docs/python/tf/nn/sparse_soft...
Re:Why “Gradient” Descent?
by julienreszka on Friday January 03, 2020 @03:47PM
(#21950168)
Data normalization is the 101 of any respectable machine learning course.
Yeah but it’s still enough to stall and hinder newbies (me) that deal primarily with categorical data until you can start to intuitively map the continuous back into the discrete.
Nature of the beast it seems but still kind of a pain.