Learn R Programming

EIX (version 1.2.0)

calculateGain: calculateGain

Description

List of trees with pairs of variable and other needed fields

Usage

calculateGain(xgb.model, data)

Arguments

xgb.model

a xgboost or lightgbm model

data

a data table with data used to train the model

Value

a list