tabular_trees.export_tree_data

tabular_trees.export_tree_data(model)[source]
tabular_trees.export_tree_data(model)
tabular_trees.export_tree_data(model)
tabular_trees.export_tree_data(model)
tabular_trees.export_tree_data(model)
tabular_trees.export_tree_data(model)
tabular_trees.export_tree_data(model)

Export tree data from model.

The model types that are supported depend on the packages that are installed in the Python environment that tabular_trees is running. For example if xgboost is installed then xgboost Booster objects can be exported.

Parameters:

model (Any) – Model to export tree data from.

Raises:

NotImplementedError – If the type of the passed model is not supported.

Returns:

trees – Model-specific implementation of BaseModelTabularTrees containing tree data for the input model.

Return type:

BaseModelTabularTrees