src.plot.pca_variance_plot

Classes

PCAVariancePlot(evr, **kwargs)

class src.plot.pca_variance_plot.PCAVariancePlot(evr, **kwargs)
Author:

Alberto M. Esmoris Pena

Class to plot the explained variance ratio from a PCA. See PCATransformer

Variables:

evr (np.ndarray) – The explained variance ratio for each feature derived by PCA projection.

__init__(evr, **kwargs)

Initialize a MplPlot.

Parameters:

kwargs – The attributes for the MplPlot.

plot(**kwargs)

Plot the explained variance ratio (y axis) over the number of output dimensions (x axis).

See plot.Plot.plot().