random_split_Y_scramble: Function to compute the scrambled R2 and Q2

Description Usage Arguments Value

View source: R/qsar_metrics.R

Description

This function computes the mean R2 and Q2 values for a certain number of repetition of the scrambling test

Usage

1
random_split_Y_scramble(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

a vector of numeric values representing the mean R2 and Q2 for the scrambling test


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