Learn R Programming

oncrawlR (version 0.1.5)

oncrawlExplainModel: Explain XGBoost Model by displaying each importance variables

Description

Explain XGBoost Model by displaying each importance variables

Usage

oncrawlExplainModel(model, x, y, max = 10, path = tempdir())

Arguments

model

your XgBoost model

x

your training data

y

your predicted data

max

the number of importance variable you want to explain

path

path of your conf file

Value

graphs

Examples

Run this code
# NOT RUN {
list <- oncrawlTrainModel(dataset,200)
oncrawlExplainModel(list$model, list$x, list$y, 3)
# }

Run the code above in your browser using DataLab