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

Uploaded Source

Built Distributions

mlinsights-0.3.649-cp310-cp310-win_amd64.whl (482.9 kB view details)

Uploaded CPython 3.10 Windows x86-64

mlinsights-0.3.649-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (1.8 MB view details)

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

mlinsights-0.3.649-cp310-cp310-macosx_10_9_x86_64.whl (547.2 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

mlinsights-0.3.649-cp39-cp39-win_amd64.whl (490.2 kB view details)

Uploaded CPython 3.9 Windows x86-64

mlinsights-0.3.649-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.649-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.649-cp39-cp39-macosx_10_9_x86_64.whl (551.2 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

mlinsights-0.3.649-cp38-cp38-win_amd64.whl (489.3 kB view details)

Uploaded CPython 3.8 Windows x86-64

mlinsights-0.3.649-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.649-cp38-cp38-macosx_10_9_x86_64.whl (539.0 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

mlinsights-0.3.649-cp37-cp37m-win_amd64.whl (485.1 kB view details)

Uploaded CPython 3.7m Windows x86-64

mlinsights-0.3.649-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.649-cp37-cp37m-macosx_10_9_x86_64.whl (543.1 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mlinsights-0.3.649.tar.gz
  • Upload date:
  • Size: 951.6 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.649.tar.gz
Algorithm Hash digest
SHA256 ba7c4e36de6940d0342dc5e2a1863909d56838d3a108868be44182edca9df535
MD5 417e58858b7b3a90ca75be879c0d8335
BLAKE2b-256 8d27716cd86f23dffacfae3bced0797f1c06c34eddedab13f8532952b705a72e

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.649-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: mlinsights-0.3.649-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 482.9 kB
  • Tags: CPython 3.10, 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.649-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b8c07163c20be294434a78f5e870536bfecba9cc15065f7454ecc3b07e7dcd9c
MD5 2cbe24ced7d3803c8c219c8ba9eab1df
BLAKE2b-256 9bef54386e97a4e55a6bafef00f4ccf2be12c00c142c7ec0166ec2b31d84675d

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.649-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for mlinsights-0.3.649-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 fe48dc8d78f954fc19839880c0a627319e65046b7adcef432a3f3afddf18fcb3
MD5 acfe3a9144b27d2aea6a0f46437b4f1c
BLAKE2b-256 ac814e569ad83d67d788de501889d4221db97b719aa748c5c23676dc50fbebd6

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.649-cp310-cp310-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: mlinsights-0.3.649-cp310-cp310-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 547.2 kB
  • Tags: CPython 3.10, 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.649-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 a10ef9d4f930fe598609e73c61463cdd6c9cc37528222dcd9de2d15c83e9f994
MD5 cac82b51fddc811b6fb24ce614482b0b
BLAKE2b-256 d8c76af34adb1c9a9544315686b6796686a11262b1df858a4f7bd4607e7a5c4f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.649-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 490.2 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.649-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 46b11533ea3a312d742e0891474fc8f2695e6951f1464df04cbc350c92f080dc
MD5 1b5e60b647ced64b257b7bc8c982f55a
BLAKE2b-256 b48fdc18d78c42d2620911714c32f99e4d5cd105e5d12544f00347b6732e0799

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.3.649-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 384fc59281375d2a9a1b0ece4241fcbdc8d65825cf829124cf1a1a27ccef667f
MD5 cde2bead6fdb3144442a95bac76fabdc
BLAKE2b-256 1e506125736aa3b56a759ff01d5d06c9cf40deaa70ec18a978ac892e5d60c422

See more details on using hashes here.

File details

Details for the file mlinsights-0.3.649-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.649-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 57c68b779c428ab7305af8908adf984529de1055ad0c4aa1265a3c0e3f2a2bc7
MD5 6243e12ca1303c0003196f9aaa88cc39
BLAKE2b-256 ac24377ee71a77358982ae2db5120736e1b29deddc816c1af9d57c05837a24b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.649-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 551.2 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.649-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 d413fd800691f9f4bf921317060d6e316b9a713c43856d74091c75514ce4d936
MD5 cd2531193c363026747a64982b8ffe02
BLAKE2b-256 39eddc8065fa54c9aeebc94af1ba562c87dae991fe4d819456e9fe944f90c4a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.649-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 489.3 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.649-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 a47f7366f939d13fe878587142e923177def3cd66452fd3867bc3d7d7488d26c
MD5 4f842244c782202d4ba79b6e44a37d45
BLAKE2b-256 7274488f84e572619d5c70b776222234bc0de6c81eb2a0b7bc14e0ec3839a8b9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.3.649-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 f4f7d0facb7d0ddf3da2b49e5baa0361a318011c694349886a8198852188c85c
MD5 4540888d7ba8da9494312ebd05f1a982
BLAKE2b-256 0b175ced46d11fe6132e6ed01c30322ef2ef93d3bb88306642a9eb8d9b54704f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.649-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 539.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.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.649-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c75f7b072fe8387e564199eca48d7ce00c8c8e418f3b2b6cec147b6a9eea7375
MD5 1c9a49bf756edde8aaacceacbf3fdb0f
BLAKE2b-256 bbd922a2833af336730e578995e16469beed75a1e67593ee2e1b02c079fb40fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.649-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 485.1 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.649-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 c79a10efc2388cc8b3367d6745b62673c689c69c90bef85af34135ec3cba089e
MD5 9d9402bb52743a571f989f421ad23ff3
BLAKE2b-256 bd7adf1af8e6f0283a435afcaf621e858427fd5004d34051125091e264178327

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.3.649-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4c9ef790693dcbfcfe1ad6b89c5809d9715a02d52ade74c844cd550009d40237
MD5 d21e90e5a501cc3dac3ab51d3a4b6e96
BLAKE2b-256 4f2527385f3cbd5b3c264d760438911b040b6773df4dc320fe902612ef660940

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mlinsights-0.3.649-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 543.1 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.649-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 61e1ccea5b8f7985cc23ce735396c4b3e04edb992fdc6827ad7dbffd3bba5e52
MD5 fb2c517b84479fc7864649a5934d146d
BLAKE2b-256 010fa2bb4515d641559ade601f809cecbbe41a4a514bf1ddaad61212167ecdf6

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