View source: R/BT_CV_Predict.R
predict.BTCVFit | R Documentation |
Compute predictions from cross-validated Boosting Trees model.
## S3 method for class 'BTCVFit'
predict(object, data, cv.folds, folds, best.iter.cv, ...)
object |
a |
data |
the database on which one wants to predict the different CV BT models. |
cv.folds |
a positive integer specifying the number of folds to be used in cross-validation of the BT fit. |
folds |
vector of integers specifying which row of data belongs to which cv.folds. |
best.iter.cv |
the optimal number of trees with a CV approach. |
... |
not currently used. |
This function has not been coded for public usage but rather to assess the cross-validation performances.
Returns a vector of predictions for each cv folds.
Gireg Willame gireg.willame@gmail.com
This package is inspired by the gbm3
package. For more details, see https://github.com/gbm-developers/gbm3/.
M. Denuit, D. Hainaut and J. Trufin (2019). Effective Statistical Learning Methods for Actuaries |: GLMs and Extensions, Springer Actuarial.
M. Denuit, D. Hainaut and J. Trufin (2019). Effective Statistical Learning Methods for Actuaries ||: Tree-Based Methods and Extensions, Springer Actuarial.
M. Denuit, D. Hainaut and J. Trufin (2019). Effective Statistical Learning Methods for Actuaries |||: Neural Networks and Extensions, Springer Actuarial.
M. Denuit, D. Hainaut and J. Trufin (2022). Response versus gradient boosting trees, GLMs and neural networks under Tweedie loss and log-link. Accepted for publication in Scandinavian Actuarial Journal.
M. Denuit, J. Huyghe and J. Trufin (2022). Boosting cost-complexity pruned trees on Tweedie responses: The ABT machine for insurance ratemaking. Paper submitted for publication.
M. Denuit, J. Trufin and T. Verdebout (2022). Boosting on the responses with Tweedie loss functions. Paper submitted for publication.
BT
, BTFit
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.