Description Usage Arguments Value Examples
View source: R/gradient_boosting.R
Function that calculate the negative gradient of given loss function
1 |
loss |
- the loss function used |
x |
- input independent variables x for the training |
y |
- the true dependent variable |
coef |
- the estimate of the coefficients in regression |
eps |
- the small increase used in the calculation of gradient |
The negative gradient value of the given loss function.
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.