bigframes.ml.decomposition.PCA.fit#

PCA.fit(X: DataFrame | Series | DataFrame | Series, y: DataFrame | Series | DataFrame | Series | None = None) _T#

Fit the model according to the given training data.

Parameters:
Returns:

Fitted estimator.

Return type:

PCA