LightGBMSerializationConstants 类

提供的内部类可定义用于 MimicExplainer 序列化的字段。

继承
builtins.object
LightGBMSerializationConstants

构造函数

LightGBMSerializationConstants()

属性

IDENTITY

IDENTITY = '_identity'

LOGGER

LOGGER = '_logger'

MODEL_STR

MODEL_STR = 'model_str'

MULTICLASS

MULTICLASS = 'multiclass'

OBJECTIVE

OBJECTIVE = 'objective'

REGRESSION

REGRESSION = 'regression'

TREE_EXPLAINER

TREE_EXPLAINER = '_tree_explainer'

enum_properties

enum_properties = ['_shap_values_output']

nonify_properties

nonify_properties = ['_logger', '_tree_explainer']

save_properties

save_properties = ['_lgbm']