secretflow.ml.boost.sgb_v.factory.components.split_finder#
Classes:
- class secretflow.ml.boost.sgb_v.factory.components.split_finder.SplitFinder[源代码]#
基类:
Component
Methods:
__init__
()set_params
(params)get_params
(params)set_devices
(devices)find_best_splits
(G, H, tree_num, level)
secretflow.ml.boost.sgb_v.factory.components.split_finder.split_finder#
Classes:
|
'gamma': float. Greater than 0 means pre-pruning enabled. |
Functions:
|
- class secretflow.ml.boost.sgb_v.factory.components.split_finder.split_finder.SplitFinderParams(gamma: float = 0, reg_lambda: float = 0.1, audit_paths: dict = <factory>)[源代码]#
基类:
object
- ‘gamma’: float. Greater than 0 means pre-pruning enabled.
Gain less than it will not induce split node.
default: 0.1 range: [0, 10000]
- ‘reg_lambda’: float. L2 regularization term on weights.
default: 0.1 range: [0, 10000]
‘audit_paths’: dict. {device : path to save log for audit}
Attributes:
Methods:
__init__
([gamma, reg_lambda, audit_paths])- gamma: float = 0#
- reg_lambda: float = 0.1#
- audit_paths: dict#
- __init__(gamma: float = 0, reg_lambda: float = 0.1, audit_paths: dict = <factory>) None #
- class secretflow.ml.boost.sgb_v.factory.components.split_finder.split_finder.SplitFinder[源代码]#
基类:
Component
Methods:
__init__
()set_params
(params)get_params
(params)set_devices
(devices)find_best_splits
(G, H, tree_num, level)