Learn R Programming

oncrawlR (version 0.1.5)

oncrawlTrainModel: Train XGBoost Model

Description

Train XGBoost Model

Usage

oncrawlTrainModel(dataset, nround = 300, verbose = 1)

Arguments

dataset

your data frame

nround

number of iterations

verbose

display errors ?

Value

a list with your ML model, your training data

Examples

Run this code
# NOT RUN {
list <- oncrawlTrainModel(dataset)
plot(list$roc)
print(list$matrix)
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab