src.plot.feature_processing_layer_plot

Classes

FeatureProcessingLayerPlot(M, Omega, **kwargs)

class src.plot.feature_processing_layer_plot.FeatureProcessingLayerPlot(M, Omega, **kwargs)
Author:

Alberto M. Esmoris Pena

Class to plot the insights of a feature processing layer.

See MplPlot FeatureProcessingLayer.

Variables:
  • M (np.ndarray) – The matrix of kernel’s centers.

  • Omega (np.ndarray) – The matrix of kernel sizes (think about curvatures).

__init__(M, Omega, **kwargs)

Initialize an instance of FeatureProcessingLayerPlot

Parameters:

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

plot(**kwargs)

Plot the kernel’s radial basis functions.

For each feature, the domain of the variable \(x\) is considered as \(x \in [x_*, x^*]\) where \(x_* = \min_{1 \leq i \leq K} \; \{x_i\} - \sigma\) and \(x^* = \max_{1 \leq 1 \leq K} \; \{x_i\} + \sigma\) with \(\sigma\) the standard deviation of the variable.

See plot.Plot.plot().