Skip to main content

描述

项目描述

特征工程

安装

pip install git+https://github.com/Jie-Yuan/iFeature.git
_clf = LGBMClassifier(n_estimators=1)
X = iris.data[:100, :]
y = iris.target[:100]
_clf.fit(X, y)
show_info = ['split_gain', 'internal_value', 'internal_count', 'leaf_count']
lgb.plot_tree(_clf.booster_, figsize=(60, 80), show_info=show_info)

model = _clf.booster_.dump_model()
tree_infos = model['tree_info'] # xgb_._Booster.get_dump()

项目详情


下载文件

下载适用于您平台的文件。如果您不确定要选择哪个,请了解有关安装包的更多信息。

源分布

ifeature-0.0.6.tar.gz (25.5 kB 查看哈希

已上传 source

内置分布

ifeature-0.0.6-py3-none-any.whl (39.3 kB 查看哈希

已上传 py3