Note
Click here to download the full example code
Plot - Parallel coordinates¶
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()
Out:
<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()

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