fitEnsembleModel | R Documentation |
fitEnsembleModel Train a single subtype model using cross validation
fitEnsembleModel(Xs, Ys, n = 5, sampSize = 0.7, breakVec = c(0, 0.25, 0.5, 0.75, 1), params = list(max_depth = 5, eta = 0.5, nrounds = 100, nthread = 5, nfold = 5), ptail = 0.01, numCores = 2)
Xs |
Gene expression matrix, samples in columns, genes in rows |
Ys |
Phenotype vector, multiclass |
n |
Size of the ensember, where each member is a result from fitSubtypeModel |
sampSize |
proportion of samples to hold back |
params |
Parameters for xgboost |
numCores |
number of cores to use, one per ensemble member |
dtype |
the data type, either continuous values or binary values. |
breakvec |
the vector of break points if using continuous values |
A list of lists of xgboost classifiers
mods <- fitEnsembleModel(Xs, Ys, n, sampSize, dtype, breakVec, params)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.