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.614.tar.gz (815.1 kB view details)

Uploaded Source

Built Distributions

mlinsights-0.3.614-cp39-cp39-win_amd64.whl (558.2 kB view details)

Uploaded CPython 3.9 Windows x86-64

mlinsights-0.3.614-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.614-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.614-cp39-cp39-macosx_10_9_x86_64.whl (554.6 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

mlinsights-0.3.614-cp38-cp38-win_amd64.whl (557.1 kB view details)

Uploaded CPython 3.8 Windows x86-64

mlinsights-0.3.614-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.614-cp38-cp38-macosx_10_9_x86_64.whl (541.3 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

mlinsights-0.3.614-cp37-cp37m-win_amd64.whl (550.5 kB view details)

Uploaded CPython 3.7m Windows x86-64

mlinsights-0.3.614-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.614-cp37-cp37m-macosx_10_9_x86_64.whl (544.6 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mlinsights-0.3.614.tar.gz
  • Upload date:
  • Size: 815.1 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.614.tar.gz
Algorithm Hash digest
SHA256 c59dda6945335560c9c8bf6d86e0d03d86c62673fb21fc790081bb3e893d614e
MD5 9e79cc58ff9dd435bb0e55c4a03eeac7
BLAKE2b-256 1553a792f608b4d7fa2140b5fbfe88515f0c0eb70ee4bf47113461047f4dee71

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.614-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 558.2 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.614-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 349c5c2a27d4dc4122df993905f47086d181c18d2b5615df1904b829bbf272b0
MD5 c3290d0a59b751bc02260525e6f9d395
BLAKE2b-256 26f58826a7368b01dc764f4b7e9f7cba6057551bb56781349c73112375a932c2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.3.614-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 745f249e93d03c7da1ae691cdf2e29c15e50a4462d3984f196b042eb28444154
MD5 e1765c94a200f0ae363a917d84fc4a25
BLAKE2b-256 65ecc131759551639f66ee628e5450c9032cd1d3be89a7b05748ddb1aa81fe2f

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.614-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.614-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 d70cea3c486f86c952116354c54f922aebbff9263b35c98ed8549a9e9b2ba928
MD5 8e9306fc313616bc83bf946320ad06f5
BLAKE2b-256 d7a6beb4f435f576b088fabfac0d4d12886a61ac9ea945da264a566a217ca78c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.614-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 554.6 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.614-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 3cd8ee8c4d05039955415b722b865480a7e01bbcd2839269750378fd60bc6ad0
MD5 1650503d34b9c4686e08e0b3a17624be
BLAKE2b-256 672c5bdc5daa62cbf705a3795727824d3f63e7864d458cf8076e17311b56b0e2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.614-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 557.1 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.614-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 b84b9137e965e89288db3a75093f5b2768a91dc26f0d9e32434ec231f24db818
MD5 599fc2490d40c88a29021652efe342a4
BLAKE2b-256 f2bbf8c7da8d0e50bb9250041266a3166908b9b2467855f94f30d3d6ce4be5d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.3.614-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1fb28fbe5e234583e16f3b9a37c9f82c355ea73c6b87f29afc9bf7795690a232
MD5 69f62db3fae3a9278b3480bab0dc02e3
BLAKE2b-256 6ab4ca5f7cb27ad7a55c1f0928613d76297094b129c9e385ed6ffedeca52434d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.614-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 541.3 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.614-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d2031b96d2f2fe8255c82b1bfeb60671d3916a8859afb218f8526f98d74d3165
MD5 0a7786230a2c6855385ef67a62308ac1
BLAKE2b-256 91ca15da988cfe1ea8ebd222942fbbdea699488954afd74340a81e9caa2f9b50

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.614-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 550.5 kB
  • Tags: CPython 3.7m, 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.614-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6592785a939e4798c65322e242dcb0ae8785d983fdd563dd6d5edf98aaba0e3b
MD5 1485a32bc9e0a266924c3c12d297f39e
BLAKE2b-256 9de7979005aae0c2d5b5b11e5ed85f1b22575abdafc983ff5306e91ce844601c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.3.614-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3b486bd42601c0ce8640e043fd40e6d4f5c0264c89ad6f34494dfa598bc29a3b
MD5 5412b2ac7c820ce1b1260c1853ece773
BLAKE2b-256 319cf68fee5a451093af0c005c861c0557a9019c4c53607ec4a729e703650897

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.614-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 544.6 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.614-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 6ccd5c1212970c4ecb8254fe143bba10eb68b89899a347765cf78517ec928412
MD5 00355845a2b8f524cd6c5d99f194f718
BLAKE2b-256 8435513c1176e3dcacdac56430bc566bc297603a05dae395f6c6c5fe3fef003a

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