Note
Click here to download the full example code
Plot - Andrews curves¶
from __future__ import annotations
from gemseo.api import configure_logger
from gemseo.api import load_dataset
from gemseo.post.dataset.andrews_curves import AndrewsCurves
configure_logger()
<RootLogger root (INFO)>
Load a dataset¶
iris = load_dataset("IrisDataset")
Plot Andrews Curves¶
We can use the AndrewsCurves
plot
which can be viewed as a smooth
version of the parallel coordinates. Each sample is represented by a curve
and if there is structure in data, it may be visible in the plot.
AndrewsCurves(iris, "specy").execute(save=False, show=True)

[<Figure size 640x480 with 1 Axes>]
Total running time of the script: ( 0 minutes 0.489 seconds)