Description Usage Arguments Details Value
Return or set gradient attribute
1 2 3 4 5 6 7 8 9 |
x |
any R object |
... |
additional paramters |
value |
new gradient value to set |
gradient attribute is used by loss/risk function to return the gradient of the function at a given point together with the function value
attr(x,"gradient")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.