gradient | R Documentation |
Gradient of the loss function
gradient(beta, X, y)
beta |
[numeric] Point where to evaluate the gradient |
X |
[numeric] Design matrix |
y |
[numeric] Observed response vector |
[numeric] Gradient of loss function in linear models
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.