elphick.sklearn_viz.features.principal_components.plot_explained_variance

elphick.sklearn_viz.features.principal_components.plot_explained_variance(x, y=None, title=None)[source]

Plot the cumulative explained variance by principal component.

Parameters:
  • x (DataFrame) – X values to transform and plot.

  • y (Optional[Series]) – optional target vector

  • title (Optional[str]) – Optional plot title

Return type:

Figure

Returns: