calculateGain: calculateGain

View source: R/calculateGain.R

calculateGainR Documentation

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


EIX documentation built on Jan. 12, 2026, 5:10 p.m.