kfoldPredict.hyper_gam | R Documentation |
k
-Fold Prediction of hyper_gam Modelk
-fold prediction of hyper_gam model.
kfoldPredict.hyper_gam(
object,
k,
mc.cores = switch(.Platform$OS.type, windows = 1L, detectCores()),
...
)
object |
a hyper_gam object |
k |
integer scalar |
mc.cores |
integer scalar, see function mclapply |
... |
additional parameters, currently not in use |
Function kfoldPredict.hyper_gam()
returns a numeric vector,
with attributes for savvy developers
attr(.,'fold')
integer vector, indices of the i
-th fold
attr(.,'sgn')
numeric vector of length-k
, sign-adjustment for each fold
attr(.,'no_sadj')
numeric vector, predictions without sign adjustment
attr(.,'global_sadj')
numeric vector, predictions based on sign-adjustment by the complete data (instead of each fold)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.