src.plot.features_structuring_layer_plot

Classes

FeaturesStructuringLayerPlot(**kwargs)

class src.plot.features_structuring_layer_plot.FeaturesStructuringLayerPlot(**kwargs)
Author:

Alberto M. Esmoris Pena

Class to plot the insights of a features structuring layer.

See MplPlot and FeaturesStructuringLayer.

Variables:
  • QW (np.ndarray) – The matrix of kernel’s weights.

  • omegaD (np.ndarray) – The vector of distance weights.

  • omegaF (np.ndarray) – The vector of feature weights.

  • xmax (float) – The maximum value for the distance domain (defines the x-axis for omegaD plots).

  • kernel_type – The type of kernel to use (e.g., “Gaussian” or “Markov”).

  • omegaD_name (str) – The name of the omegaD vector (typically omegaD but it can be overriden to reutilize the report by a RBFFeatExtractLayer.

__init__(**kwargs)

Initialize an instance of FeaturesStructuringLayerPlot.

Parameters:

kwargs – The key-word arguments defining the plot’s attributes.

plot(**kwargs)

Plot the omegaD(x) for x in [0, xmax] as a function and omegaF as bars. Also plot a histogram with the values of QW.

See plot.Plot.plot().