elphick.sklearn_viz.features.principal_components

Developed from the example here: https://plotly.com/python/pca-visualization/

Functions

plot_correlation_circle

type x:

DataFrame

plot_explained_variance

Plot the cumulative explained variance by principal component.

plot_loading_vectors

type x:

DataFrame

plot_principal_components

type x:

DataFrame

plot_scatter_matrix

Plot a scatter matrix

Classes

PCResults(data, explained_variance, loadings)

Class to hold Principal Component results

PrincipalComponents(x[, color])