Y_scrambled_mse: Function to compute the scrambled MSE

Description Usage Arguments Value

View source: R/qsar_metrics.R

Description

This function computes the mean MSE value for a certain number of repetition of the scrambling test

Usage

1
Y_scrambled_mse(y, X, train.prop = 0.9, nPerm = 100, lambda)

Arguments

y

is the reponse vector of the training set

X

is the matrix of the dataset with samples on the rows and features on the column

train.prop

is percentage of point to be used as training

nPerm

is the number of permutation to perform

lambda

is the shrinking parameter of the lasso model

Value

numeric value representing the mean MSE for the scrambling test


angy89/hyQSAR documentation built on Sept. 24, 2019, 7:31 a.m.