gemseo / post / dataset

radviz module

Radar visualization

The Radar class implements the Radviz plot, which is a way to visualize \(n\) samples of a multi-dimensional vector

\[x=(x_1,x_2,\ldots,x_d)\in\mathbb{R}^d\]

in a 2D referential and to highlight the separability of the data.

For that, each sample

\[x^{(i)}=(x_1^{(i)},x_2^{(i)},\ldots,x_d^{(i)})\]

is rendered inside the unit disc with the influences of the different parameters evenly distributed on its circumference. Each parameter influence varies from 0 to 1 and can be interpreted compared to the others.

A variable name is required by the DatasetPlot.execute() method by means of the classifier keyword in order to color the curves according to the value of the variable name. This is useful when the data is labeled or when we are looking for the samples for which the classifier value is comprised in some interval specified by the lower and upper arguments (default values are set to -inf and inf respectively). In the latter case, the color scale is composed of only two values: one for the samples positively classified and one for the others.

class gemseo.post.dataset.radviz.Radar(dataset)[source]

Bases: gemseo.post.dataset.dataset_plot.DatasetPlot

Radar visualization.

Constructor.

Parameters

dataset (Dataset) – dataset