treeConditions: Tree Conditions

Description Usage Arguments Details Value

View source: R/treeConditions.R

Description

Extract all the conditional representations of a model.

Usage

1
treeConditions(in.tree, split.digits = 11)

Arguments

in.tree

Trees from a fitted XGBoost model

split.digits

Significant digits for rounding split values

Details

Search the trees of an XGBoost model and convert them into feature conditions and values. Combine values across the same feature conditions.

Value

Returns a table of tree conditions.


BlueTea88/xgboostcon documentation built on May 17, 2019, 11:05 a.m.