Skip to main content

特征工程

Install

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()

Metadata

Release files for ifeature 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ifeature 0.0.6
File Size Uploaded
ifeature-0.0.6.tar.gz 25.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ifeature 0.0.6
File Interpreter ABI Platform
ifeature-0.0.6-py3-none-any.whl Python 3 none any Details

Total release size: 64.9 kB

Release files / ifeature-0.0.6.tar.gz

Download URL ifeature-0.0.6.tar.gz
Size 25.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a96534f3a9777d72531efce19030c59311216d9ed8366856b6eed7cf5bb258dd
BLAKE2b-256 checksum
How to use checksums
21dade1281754b3450b4f4063cfb16df0eacaa1899dd69e9e1dff8ee72b8f345
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Release files / ifeature-0.0.6-py3-none-any.whl

Download URL ifeature-0.0.6-py3-none-any.whl
Size 39.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf0950ac2859a9a8d65af9cfc222e56d36ab83efdd7ae90721f992dbff832b84
BLAKE2b-256 checksum
How to use checksums
aace796f2b65e73db7274889bb7485462d46551ee88a45d6242883053393d314
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.18.4 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.5

Release history Release notifications | RSS feed

This release

0.0.6 This release

2 release files

0.0.5

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page