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 hashes)

Uploaded Source

Built Distributions

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

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 hashes)

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 hashes)

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 hashes)

Uploaded CPython 3.9 macOS 10.9+ x86-64

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

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 hashes)

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 hashes)

Uploaded CPython 3.8 macOS 10.9+ x86-64

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

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 hashes)

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 hashes)

Uploaded CPython 3.7m macOS 10.9+ x86-64

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