NewDataPredictionResult {MBMethPred} | R Documentation |
New data prediction result
Description
A function to output the predicted medulloblastoma subgroups by trained models.
Usage
NewDataPredictionResult(Model)
Arguments
Model |
A trained model |
Value
A data frame
Examples
set.seed(10)
fac <- ncol(Data1)
NewData <- sample(data.frame(t(Data1[,-fac])),10)
NewData <- cbind(rownames(NewData), NewData)
colnames(NewData)[1] <- "ID"
xgboost <- XGBoostModel(SplitRatio = 0.2,
CV = 2,
NCores = 1,
NewData = NewData)
NewDataPredictionResult(Model = xgboost)
[Package MBMethPred version 0.1.4.2 Index]