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://raw.githubusercontent.com/sdpython/mlinsights/master/_doc/sphinxdoc/source/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.631.tar.gz (952.5 kB view details)

Uploaded Source

Built Distributions

mlinsights-0.3.631-cp39-cp39-win_amd64.whl (490.3 kB view details)

Uploaded CPython 3.9 Windows x86-64

mlinsights-0.3.631-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.631-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.631-cp39-cp39-macosx_10_9_x86_64.whl (551.3 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

mlinsights-0.3.631-cp38-cp38-win_amd64.whl (489.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

mlinsights-0.3.631-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.631-cp38-cp38-macosx_10_9_x86_64.whl (539.1 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

mlinsights-0.3.631-cp37-cp37m-win_amd64.whl (484.9 kB view details)

Uploaded CPython 3.7m Windows x86-64

mlinsights-0.3.631-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.631-cp37-cp37m-macosx_10_9_x86_64.whl (543.2 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

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

File hashes

Hashes for mlinsights-0.3.631.tar.gz
Algorithm Hash digest
SHA256 c4804788dcf979d958bb9c84cdc07d8258e637fa5f48e6d9b753cf88ad0d4d2d
MD5 eed64c429cec2b80636c0bff16284ab5
BLAKE2b-256 baf26403fc322c279e602f73f17d13e0036226f566a92466b7f69051e37318ad

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mlinsights-0.3.631-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 d2b4c752b6f2f11056d87644a790b083db6b06e7e081349a8853e241c57df615
MD5 f7e335e008db671bb637c6734abe4d69
BLAKE2b-256 5d004c0d1d0b22b9b4fa38e1db3023d073515e6da940cd2fe3e0bcff74bc19b4

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.3.631-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f8db11b27bf88815eab476d4643181db94c5244f49fc7352bdca6fe2aa01e678
MD5 f2d2a1ddbb9f4d5a66364fcd881f095a
BLAKE2b-256 bd71a2e463b876204ee0cfbd0e7422f180bd2152aa0a0af1574be318f221ccbc

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.631-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.631-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 e123befac62fce731e313e17bc045372e7be7a80d61ab345efc4f0ef3725d4f9
MD5 03bf279402eceecf7c6758dcf9c98486
BLAKE2b-256 8c6ec1fdf3992a82ba0b3a4afcc2e348cef4ca5783878dc14608b1ea0ef02712

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.631-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 551.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.11.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for mlinsights-0.3.631-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 27dbcb922ff2eb52c8fe637208578e2b5780f6bf62eb9d144789bfbdbbd5ba09
MD5 8ac29c67e872ed1036eba3ae9efa5d06
BLAKE2b-256 9ae057fc92c07f0a6f585086c06ed6924223d4da3501ed5bacebcabf0f675a34

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mlinsights-0.3.631-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 6283040f6be2522444a2bf032fa5ff9585e8081a3d5fa377030b93387a5bed54
MD5 04b165fd925242c04062c95a700f9e8e
BLAKE2b-256 866ae9be256c3cdde72caa76d952a37dc005e2abeffc032f5737aa48ccf7c3a3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.3.631-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fb53980d19e942413509c334f41774ba61491f1b0df48310ab178f4ad10682ba
MD5 b1c9a63940d0b96a4214722337812cc3
BLAKE2b-256 34e27d3473a4220bbb59c9af3a9db0602b3f592211ed6979803bf548644d5acc

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mlinsights-0.3.631-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c03833345b49c8cad0230af5ca8e941114ce6b8e7e2706f425f3161f3179b879
MD5 04272e53a8d20ae3fd6752b0d71d518c
BLAKE2b-256 1977ac02ecf5341192e87a4c4973c8334e7ba3c70c274d410ea61e8b991041b1

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.631-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: mlinsights-0.3.631-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 484.9 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.11.3 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.5

File hashes

Hashes for mlinsights-0.3.631-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 52a7a25fdbf4240d56bb6abccc06d4bc418d72ca3701921ad2992d16522bd2d7
MD5 709b53d0e82d1b206167f46279936d8d
BLAKE2b-256 cfb0e910d131dd0c48e2c598a70c5435cbcf724fbc15258c4696e650d0133cda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.3.631-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 6030866408f7e77213f52fab4693a4075515f5bcf29c9a42587476d0bc721efa
MD5 45464cff2c87cbb83011a10405feb296
BLAKE2b-256 aa77a750c1d6ab8fdf0c4e4159bb139b37114940f841646e2db392bfb1ff9def

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for mlinsights-0.3.631-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 bcdd1e1812d436d6a82fc1837ffeff1885ef3b4b9addc7417fd183dcd28cecfa
MD5 2ab50b77721cbc16e4b93c6af58e8701
BLAKE2b-256 eb2ae142b5a6c1f5cefa8b12bfb94ecac853e26d5abb7d7f0d00e85d1ef82ccb

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