computeLoocvFits: Function to compute the fitted values from Leave One Out...

Description Usage Arguments Value

Description

Function to compute the fitted values from Leave One Out Cross Validation

Usage

1
computeLoocvFits(data, cvGroup, imputationParameters)

Arguments

data

A data.table containing the data.

cvGroup

A vector of the same length as nrow(data). Entries of the vector should be integers from 1 to the number of cross-validation groups (typically 10). This should be randomly assigned, and is usually created by ensembleImpute.

imputationParameters

A list of the parameters for the imputation algorithms. See defaultImputationParameters() for a starting point.

Value

A list of the same length as ensembleModels which contains the fitted values corresponding to the loocv procedure. The ith element of the list corresponds to the fitting of the ith element of ensembleModels.


SWS-Methodology/faoswsImputation documentation built on May 9, 2019, 11:48 a.m.