Andrews curves

from __future__ import annotations

from gemseo import configure_logger
from gemseo import create_benchmark_dataset
from gemseo.post.dataset.andrews_curves import AndrewsCurves

configure_logger()
<RootLogger root (INFO)>

Load a dataset

iris = create_benchmark_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)
plot andrews curves
[<Figure size 640x480 with 1 Axes>]

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

Gallery generated by Sphinx-Gallery