Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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.

Files for visualml, version 0.1b7
Filename, size File type Python version Upload date Hashes
Filename, size visualml-0.1b7-py2-none-any.whl (7.6 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size visualml-0.1b7.tar.gz (12.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page