bigframes.ml.decomposition.PCA.predict#
- PCA.predict(X: DataFrame | Series | DataFrame | Series) DataFrame[source]#
Predict the closest cluster for each sample in X.
- Parameters:
X (bigframes.dataframe.DataFrame or bigframes.series.Series or pandas.core.frame.DataFrame or pandas.core.series.Series) – Series or a DataFrame to predict.
- Returns:
Predicted DataFrames.
- Return type: