Description Usage Arguments Value
View source: R/model_functions.R
This function compute the internal and external evaluation metrics for a QSAR model
1 2 | evaluating_model(bm, X_train, X_test, y_train, y_test, md_list, gene_list,
inner.train.prop, nPermValm = 25, nPermScr = 25)
|
bm |
is a model obtained from the RCVLassoPar function |
X_train |
is the matrix of the training dataset with samples on the rows and features on the column. The X_train matrix has to be already transformed. |
X_test |
is the matrix of the test dataset with samples on the rows and features on the column. The X_train matrix has to be already transformed. |
y_train |
is the numeric vector of response variable for training samples |
y_test |
is the numeric vector of response variable for test samples |
inner.train.prop |
is the percentage of samples from the train test to be used as training set in the random-split method. Default value is 0.9 |
nPermValm |
is the number of random split iteration to compute the validation metrics |
nPermScr |
is the number of random split iteration to compute the y-scrambling test |
p_train |
is the percentage of samples to be used in the training set |
a list with the following components:
Metrics |
a dataframe with the internal and external metrics computed for the identified models |
WP |
a list with percentage of applicability domain of training and test plot and an object to be plot with the williams plot function |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.