elphick.sklearn_viz.features.principal_components.plot_loading_vectors

elphick.sklearn_viz.features.principal_components.plot_loading_vectors(x, color=None, standardised=False, title=None)[source]
Parameters:
  • x (DataFrame) – X values to transform and plot.

  • color (Optional[Series]) – optional series by which to color the markers

  • standardised (bool) – If True, plot the standardised PCA, where vectors are transformed to zero mean and unit variance.

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

Return type:

Figure

Returns:

a plotly GraphObjects.Figure