Skip to main content

GitHub Workflow Status (with event) PyPI version Documentation

Parallel Coordinates Plotting for Python parcoords

This package implements a parallel-coordinate plot, commonly used in machine learning, i.e. for hyperparameter visualization.

Example parallel-coordinate plot

Installation

The parcoords package can be installed with pip:

pip install parcoords

You can also view the package on PyPI.

Usage

The following code produces the sample plot at the beginning of this page.

import matplotlib.pyplot as plt
from parcoords import plot_parcoords

# let's define some data to plot
values = [
    [0.1, 10, "smote", 0.78],
    [0.15, 9, "none", 0.46],
    [0.18, 8, "rand_over", 0.67],
    [0.01, 16, "rand_over", 0.84],
    [0.01, 15, "smote", 0.86],
    [0.015, 12, "smote", 0.87],
    [0.03, 12, "smote", 0.81],
    [0.12, 13, "none", 0.51],
    [0.07, 11, "rand_over", 0.7],
    [0.2, 14, "none", 0.55],
]

# plot the values as parallel-coordinate plot
plot_parcoords(
    values,
    labels=["lr", "# epochs", "sampling method", "accuracy"],
    color_field="accuracy",
    scale=[("lr", "log")],
    title="Parallel-Coordinates of the Hyperparameters",
)

plt.show()

License

This repository is licensed under the MIT-License.

Release files for parcoords 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for parcoords 0.1.4
File Size Uploaded
parcoords-0.1.4.tar.gz 5.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for parcoords 0.1.4
File Interpreter ABI Platform
parcoords-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 10.4 kB

Release files / parcoords-0.1.4.tar.gz

Download URL parcoords-0.1.4.tar.gz
Size 5.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b93b1b57fa7f8f41601fcf10048a460b96d6282eca8d4453ca9529d3761b808f
BLAKE2b-256 checksum
How to use checksums
f9764838bc9e07465915b8e825eaa5328a06c52f3227553436bca45b2dd7c3ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release files / parcoords-0.1.4-py3-none-any.whl

Download URL parcoords-0.1.4-py3-none-any.whl
Size 5.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0eb02413a4d1871c1199d2cb9b774099d240f3d58e76172ee7360e4e6929ed88
BLAKE2b-256 checksum
How to use checksums
c1834756c3edb110432765f409b46906095ba9074292573375189c4e23c75f49
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.17

Release history Release notifications | RSS feed

This release

0.1.4 This release

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page