Plot - Parallel coordinates

from __future__ import annotations

from gemseo.api import configure_logger
from gemseo.api import load_dataset
from gemseo.post.dataset.parallel_coordinates import ParallelCoordinates
from matplotlib import pyplot as plt

configure_logger()
<RootLogger root (INFO)>

Load a dataset

iris = load_dataset("IrisDataset")

Plot parallel coordinates

We can use the ParallelCoordinates plot, a.k.a. cowebplot, where each samples is represented by a continuous straight line in pieces whose nodes are indexed by the variables names and measure the variables values.

ParallelCoordinates(iris, classifier="specy").execute(save=False, show=False)
# Workaround for HTML rendering, instead of ``show=True``
plt.show()
plot parallel coordinates

Total running time of the script: ( 0 minutes 0.301 seconds)

Gallery generated by Sphinx-Gallery