Skip to main content

Extends scikit-learn with a couple of new models, transformers, metrics, plotting.

Project description

https://github.com/sdpython/mlinsights/blob/master/_doc/sphinxdoc/source/phdoc_static/project_ico.png?raw=true

mlinsights - extensions to scikit-learn

Build status Build Status Windows https://circleci.com/gh/sdpython/mlinsights/tree/master.svg?style=svg https://dev.azure.com/xavierdupre3/mlinsights/_apis/build/status/sdpython.mlinsights%20(2) https://badge.fury.io/py/mlinsights.svg MIT License https://codecov.io/github/sdpython/mlinsights/coverage.svg?branch=master GitHub Issues Notebook Coverage Downloads Forks Stars size

mlinsights extends scikit-learn with a couple of new models, transformers, metrics, plotting. It provides new trainers such as QuantileLinearRegression which trains a linear regression with L1 norm non-linear correlation based on decision trees, or QuantileMLPRegressor a modification of scikit-learn’s MLPRegressor which trains a multi-layer perceptron with L1 norm. It also explores PredictableTSNE which trains a supervized model to replicate t-SNE results or a PiecewiseRegression which partitions the data before fitting a model on each bucket.

Function pipeline2dot converts a pipeline into a graph:

from mlinsights.plotting import pipeline2dot
dot = pipeline2dot(clf, df)
https://github.com/sdpython/mlinsights/raw/master/_doc/pipeline.png

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

mlinsights-0.3.606.tar.gz (815.8 kB view details)

Uploaded Source

Built Distributions

mlinsights-0.3.606-cp39-cp39-win_amd64.whl (618.4 kB view details)

Uploaded CPython 3.9 Windows x86-64

mlinsights-0.3.606-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64

mlinsights-0.3.606-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (1.8 MB view details)

Uploaded CPython 3.9 manylinux: glibc 2.17+ x86-64 manylinux: glibc 2.24+ x86-64

mlinsights-0.3.606-cp39-cp39-macosx_10_9_x86_64.whl (555.3 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

mlinsights-0.3.606-cp38-cp38-win_amd64.whl (557.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

mlinsights-0.3.606-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.8 manylinux: glibc 2.17+ x86-64

mlinsights-0.3.606-cp38-cp38-macosx_10_9_x86_64.whl (542.0 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

mlinsights-0.3.606-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.3 MB view details)

Uploaded CPython 3.7m manylinux: glibc 2.17+ x86-64

mlinsights-0.3.606-cp37-cp37m-macosx_10_9_x86_64.whl (545.3 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

Details for the file mlinsights-0.3.606.tar.gz.

File metadata

  • Download URL: mlinsights-0.3.606.tar.gz
  • Upload date:
  • Size: 815.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for mlinsights-0.3.606.tar.gz
Algorithm Hash digest
SHA256 ef9ffcf45385bfcc86c6e7ea542e7ccaf05ccc50ed8936608bc7d7c91d5f6dc7
MD5 1f845dd2ed0fed91a88dfd638236e521
BLAKE2b-256 1cfe2d49169a7743ec648990ee6ca054ced8e9dc86268ef7b749edee2a2dc8c2

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.606-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: mlinsights-0.3.606-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 618.4 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for mlinsights-0.3.606-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 f96cb12252f1f467671ea551ab5692c0ba9530f89a05294bbe4f8025566ec348
MD5 fddabf35dcb1725a04ff33e384c0b26a
BLAKE2b-256 161b5b57efe23d27aaa2673e76ec0b9f57f9234b956fd038141246a5dc393f43

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.606-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlinsights-0.3.606-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8e7199bbd78170ee8fc5a61090f23029f65ab6a46ad2e77f74467297c0695bb8
MD5 249f81343a2d8f204508aa0b3d7d9d43
BLAKE2b-256 bd637ba70ae82f19bfe32ed1e67f3dac779e5f07a14f0854f1cde59e6418a725

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.606-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for mlinsights-0.3.606-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 77540cc35245292e885970e0ee8afc6e1979c574d5d4fc6b5cadd4bbfb1a907c
MD5 174a0f868495d58a27ecaa29f68fda6f
BLAKE2b-256 157c0a68974049f9f6f441d6e53a0e2a14437786e4f36726b5d979d361bc7477

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.606-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: mlinsights-0.3.606-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 555.3 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for mlinsights-0.3.606-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9dc1f17da4afdf3abbdef50c410b37bf4ec8732d2e62b7c33ec9d35a23b4ae2c
MD5 6736d75740b715344e813ba580e90926
BLAKE2b-256 dfd97147b1e39cb7ce5a78763f2bf015d3795bae52818e8f8cc1bd71c9985d8c

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.606-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: mlinsights-0.3.606-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 557.8 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for mlinsights-0.3.606-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 8fbef0229da04e8d543727fe73b2a15962839e62519c51b85271bf45098b4ea3
MD5 a8bc2d16d6a50284fcd026b87b19e02b
BLAKE2b-256 53c80dd48aa13da518634f409520a72a1fc58083d817ee2dc41e3a7f086d1d2c

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.606-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlinsights-0.3.606-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8a328e7253d77208511a4be5961357650170adc3645616015eac230666da24bc
MD5 62aa4f5364bf84f4c8dd05b463e891ad
BLAKE2b-256 5656af0d1ba51e3c86e7c177ced6c62ac90ba49d8a8ac0bd243a780e2d0f86c2

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.606-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: mlinsights-0.3.606-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 542.0 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for mlinsights-0.3.606-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c71b0e67ab62d6e9882bb2f7bde9872a7af2ebdb41413bffa90a72e9de2a0e4b
MD5 d8f06836cd6c27365cac8fbfe37e7629
BLAKE2b-256 d3f470bb7dc8b1198db8a9bc154d40f9242dff728bb21b10318f1f395213c95b

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.606-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for mlinsights-0.3.606-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fb472f84a38331a27b73bb6cbb6619b5d3ed2a9fa48e56efa5b67c01f44b55c7
MD5 0213f42118cb68deb20dd9b7449b3cae
BLAKE2b-256 2242335a03f985f540ad3572f2db9a940dd5d09d6e8350dcd190d57c3b3eb2b4

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.606-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: mlinsights-0.3.606-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 545.3 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.9.5

File hashes

Hashes for mlinsights-0.3.606-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 7ac1c3f7e11866e2443e724b534daef431ef39ca82622389a331c98f4999024e
MD5 d73c13c62bdb791fb9b0d8d3717ea044
BLAKE2b-256 4513f53dc9df0003586984bed6ad74b12515c398e4ef74248f05735b19a8584a

See more details on using hashes here.

Supported by

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