mlFit | R Documentation |
Trains selected machine learning model from features
mlFit( dt, groupvar, method, metric = "Accuracy", cvmethod = "loo", kfolds = 10, ntimes = 5, preproc = c("center", "scale"), tlength = 20, ... )
dt |
A SummarizedExperiment or ExpressionSet object |
groupvar |
A numeric or string indicating the variable from the phenodata to use for grouping (must be a factor of length two).. |
metric |
A string with the metric to compute for each training step (see ?train for more details) |
cvmethod |
A string indicating de crossvalidation method "loo" for leave one out. |
ntimes |
Number of partition to create |
preproc |
A string vector with pre-processing options. See ?train for more details. |
filenum |
An optional numeric vector indicating the files to plot |
kfold |
Number of folds for k-fold crossvalidation |
tlenght |
The granularity of the training parameters |
A train object
Jordi Rofes Herrera
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.