bigframes.ml.decomposition.PCA.explained_variance_ratio_#

property PCA.explained_variance_ratio_: DataFrame#

Percentage of variance explained by each of the selected components.

Returns:

DataFrame containing following columns:

principal_component_id: An integer that identifies the principal component.

explained_variance_ratio: the total variance is the sum of variances, also known as eigenvalues, of all of the individual principal components. The explained variance ratio by a principal component is the ratio between the variance, also known as eigenvalue, of that principal component and the total variance.

Return type:

bigframes.dataframe.DataFrame