View source: R/MixtureFitting.R
gradient_descent | R Documentation |
Simple implementation of gradient descent method. Given a derivative function, it follows its decrease until convergence criterion is met.
gradient_descent( gradfn, start, gamma = 0.1, ..., epsilon = 0.01 )
gradfn |
derivative function |
start |
starting value |
gamma |
learning rate |
... |
additional arguments passed to derivative function |
epsilon |
convergence threshold for absolute squared difference |
log-likelihood
Andrius Merkys
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.