kfoldPredict.hyper_gam {hyper.gam}R Documentation

k-Fold Prediction of hyper_gam Model

Description

k-fold prediction of hyper_gam model.

Usage

kfoldPredict.hyper_gam(object, k, mc.cores = getOption("mc.cores"), ...)

Arguments

object

a hyper_gam object

k

integer scalar

mc.cores

integer scalar, see function mclapply

...

additional parameters, currently not in use

Value

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)


[Package hyper.gam version 0.1.2 Index]