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/_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.4.664.tar.gz (836.2 kB view details)

Uploaded Source

Built Distributions

mlinsights-0.4.664-cp311-cp311-win_amd64.whl (489.5 kB view details)

Uploaded CPython 3.11 Windows x86-64

mlinsights-0.4.664-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl (1.8 MB view details)

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

mlinsights-0.4.664-cp311-cp311-macosx_10_9_x86_64.whl (549.2 kB view details)

Uploaded CPython 3.11 macOS 10.9+ x86-64

mlinsights-0.4.664-cp310-cp310-win_amd64.whl (494.6 kB view details)

Uploaded CPython 3.10 Windows x86-64

mlinsights-0.4.664-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.4.664-cp310-cp310-macosx_10_9_x86_64.whl (555.9 kB view details)

Uploaded CPython 3.10 macOS 10.9+ x86-64

mlinsights-0.4.664-cp39-cp39-win_amd64.whl (502.2 kB view details)

Uploaded CPython 3.9 Windows x86-64

mlinsights-0.4.664-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.4.664-cp39-cp39-macosx_10_9_x86_64.whl (559.4 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

File details

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

File metadata

  • Download URL: mlinsights-0.4.664.tar.gz
  • Upload date:
  • Size: 836.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.5

File hashes

Hashes for mlinsights-0.4.664.tar.gz
Algorithm Hash digest
SHA256 b78be50a4c057d77fb5480be73a6a0adf547cd12363b11e88d81c47b5ffa5a8f
MD5 434b3e85611070beaf3772b6ac7c7ebc
BLAKE2b-256 c70b35197496c136566e00c5a1e2c6a3547e45617cd7c1524a040997f5a81ecc

See more details on using hashes here.

File details

Details for the file mlinsights-0.4.664-cp311-cp311-win_amd64.whl.

File metadata

File hashes

Hashes for mlinsights-0.4.664-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 c02cb79409df7225c4c9a5ae8359e251d58278df67814704f4b2063b3c918e6e
MD5 f610bb3fc02752ba43d10d622976d81e
BLAKE2b-256 892b6ebea989d6a587fc7ebea3bc5e51440e07d2c78ff066f292b94546b5cb7a

See more details on using hashes here.

File details

Details for the file mlinsights-0.4.664-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for mlinsights-0.4.664-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 b2f9fb2689c066d4f311f9ac39c7ff8dee43d3b05d714510276895e13b606782
MD5 cf0c9106d8325c648edf12d1a9a9e79a
BLAKE2b-256 19269cd8dea3d674e50d5107c3b43ea4a2ea8f68e6bffa7747102f29fdb84a7b

See more details on using hashes here.

File details

Details for the file mlinsights-0.4.664-cp311-cp311-macosx_10_9_x86_64.whl.

File metadata

File hashes

Hashes for mlinsights-0.4.664-cp311-cp311-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0a272a90bfc907bb44aff04618a89e20dbe150711e251709613149f305120e0f
MD5 8655616b838c3086c1a18e0956c23e9a
BLAKE2b-256 2c2693d46083767fa257770c7eda98cee6770db7db2d5b0fd792ea44122975b5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.4.664-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 3e7a406833db4ffebe33cfbea5bfd274fc1d4aa3dd2d02db079cfcecc4494ac6
MD5 f67782606993e34cca020d33cad8c211
BLAKE2b-256 f670c39f43ca1d1371194e9f164dc5ea87802132f247a0827bd46282fec94ae6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.4.664-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 5265f5336d1e94351727fa43b9acf3a811216c94330c21376e34ce86b1f05967
MD5 91aaf56df5fd56de9645d86e1c989baf
BLAKE2b-256 75a5dbb2ab96fdf443b203c5346f3204e65f5910bd82506687a514f6742f27f1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.4.664-cp310-cp310-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c73a713680aa921169a9c7ee32c82104ce94c70eba2d898bf0bc5416b7817f1b
MD5 5139a1e353a4874ed2128ef763eaed34
BLAKE2b-256 72dc19c4a2349e13093c0d81e452ddd7a077b2e048b7037239295c172f1a02f6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.4.664-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 2692845a55afbb41b978eb1fbd4b19399035d9081ad351875f11d17fb9d51689
MD5 53f0299a58f5947988d2cc40ec7e777b
BLAKE2b-256 b1d7fda46e4ab3d26ff6410258f6daa15db8097cadfb68730c3db4aadd886390

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.4.664-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 bc3a0dd27c3dd397ba5df73ce5021d8e70dc69c19653d21db7a2f2c56b9e3ac3
MD5 53969c3fa04a595e72efce57aa4dd696
BLAKE2b-256 1e73b36a12d9b2cc1b5b2b120226ac8aff960f7d23ffc76d50ba694763fa6797

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for mlinsights-0.4.664-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 dda5768c4fb8768a61c630df8e8cbfd2917900cc7f32a1507346b2512e6d88f2
MD5 311e89af86ccf23a0c0c0e0319280b32
BLAKE2b-256 838531ecfddc5c0f1ebe50420eeee9bce12a0a8060ee4d5f206bad12695645ea

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