Skip to main content

VisualML: Visualization of Multi-Dimensional Machine Learning Models

Project description

Visual ML is a library for visualizing the decision boundary of
machine learning models from Sklearn using 2D projections of pairs
of features. Here's an example:
```
>>> import visualml as vml
>>> import pandas as pd
>>> from sklearn.datasets import make_classification
>>> from sklearn.ensemble import RandomForestClassifier as RF

>>> # Create a toy classification dataset
>>> feature_names = ['A','B','C','D']
>>> X, y = make_classification(n_features=4, random_state=42)

>>> # The visualization is only supported if X is a pandas df
>>> X = pd.DataFrame(X, columns=feature_names)

>>> # Train a classifier
>>> clf = RF(random_state=42).fit(X,y)

>>> # Plot decision boundary grid
>>> vml.decision_boundary_grid(clf, X, y)
```



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

visualml-0.1b7.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

visualml-0.1b7-py2-none-any.whl (7.6 kB view details)

Uploaded Python 2

File details

Details for the file visualml-0.1b7.tar.gz.

File metadata

  • Download URL: visualml-0.1b7.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.3.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.12

File hashes

Hashes for visualml-0.1b7.tar.gz
Algorithm Hash digest
SHA256 2c5c773367d0c7c98e600acaf302536f32eb1be0360073065a16d48480ba7c4d
MD5 37f8dfe88b8f10a9c44b40538e77190b
BLAKE2b-256 d9b6fd55df27fa2d3c60a4a07634a8ebce3fafc403d06ca18933f6a40724a03b

See more details on using hashes here.

File details

Details for the file visualml-0.1b7-py2-none-any.whl.

File metadata

  • Download URL: visualml-0.1b7-py2-none-any.whl
  • Upload date:
  • Size: 7.6 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.3.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.23.0 CPython/2.7.12

File hashes

Hashes for visualml-0.1b7-py2-none-any.whl
Algorithm Hash digest
SHA256 b3a273db9ce1468f1b2db27b71142147a9085786482645876b220bc1b57558c4
MD5 5ed60efa33ce20b030fe34038d3fdbe6
BLAKE2b-256 4a9613ec59fe424cd88ce3baa48d8518cc63e57fbc5306bf03535f78339fd066

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