gaussian_process_cv: Internal Cpp function for performing leave-group-out cross...

View source: R/RcppExports.R

gaussian_process_cvR Documentation

Internal Cpp function for performing leave-group-out cross validations for gaussian process

Description

For internal use only!.

Usage

gaussian_process_cv(X, Y, mindices, pindices, noisev = 0.001,  
scale = TRUE, statistics = TRUE)

Arguments

X

a matrix of predictor variables.

Y

a matrix of a single response variable.

mindices

a matrix with n rows and m columns where m is equivalent to the number of resampling iterations. The elements of each column indicate the indices of the observations to be used for modeling at each iteration.

pindices

a matrix with k rows and m columns where m is equivalent to the number of resampling iterations. The elements of each column indicate the indices of the observations to be used for predicting at each iteration.

scale

a logical indicating whether both the predictors and the response variable must be scaled to zero mean and unit variance.

statistics

a logical value indicating whether the precision and accuracy statistics are to be returned, otherwise the predictions for each validation segment are retrieved.

ncomp

an integer indicating the number of pls components.

Value

a list containing the following one-row matrices:

  • rmse.seg the RMSEs.

  • st.rmse.seg the standardized RMSEs.

  • rsq.seg the coefficients of determination.

Author(s)

Leonardo Ramirez-Lopez


resemble documentation built on April 21, 2023, 1:13 a.m.