Learn R Programming

MBMethPred (version 0.1.4.2)

XGBoostModel: XGBoost model

Description

A function to train an XGBoost model to classify medulloblastoma subgroups using DNA methylation beta values (Illumina Infinium HumanMethylation450). Prediction is followed by training if new data is provided.

Value

A list

Arguments

SplitRatio

Train and test split ratio. A value greater or equal to zero and less than one.

CV

The number of folds for cross-validation. It should be greater than one.

NCores

The number of cores for parallel computing.

NewData

A methylation beta values input from the ReadMethylFile function.

Examples

Run this code
set.seed(123)
xgboost <- XGBoostModel(SplitRatio = 0.2,
                        CV = 2,
                        NCores = 1,
                        NewData = NULL)

Run the code above in your browser using DataLab