Skip to main content

description

Project description

特征工程

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ifeature-0.0.6.tar.gz (25.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ifeature-0.0.6-py3-none-any.whl (39.3 kB view details)

Uploaded Python 3

File details

Details for the file ifeature-0.0.6.tar.gz.

File metadata

  • Download URL: ifeature-0.0.6.tar.gz
  • Upload date:
  • Size: 25.5 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for ifeature-0.0.6.tar.gz
Algorithm Hash digest
SHA256 a96534f3a9777d72531efce19030c59311216d9ed8366856b6eed7cf5bb258dd
MD5 e8dfc6465b698b0ee6530e226cfc75c1
BLAKE2b-256 21dade1281754b3450b4f4063cfb16df0eacaa1899dd69e9e1dff8ee72b8f345

See more details on using hashes here.

File details

Details for the file ifeature-0.0.6-py3-none-any.whl.

File metadata

  • Download URL: ifeature-0.0.6-py3-none-any.whl
  • Upload date:
  • Size: 39.3 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for ifeature-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 bf0950ac2859a9a8d65af9cfc222e56d36ab83efdd7ae90721f992dbff832b84
MD5 84ca826b4a3854958294371b218bc07e
BLAKE2b-256 aace796f2b65e73db7274889bb7485462d46551ee88a45d6242883053393d314

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page