bigframes.ml.decomposition.PCA.score#

PCA.score(X=None, y=None) DataFrame[source]#

Calculate evaluation metrics of the model.

Note

Output matches that of the BigQuery ML.EVALUATE function. See: https://cloud.google.com/bigquery/docs/reference/standard-sql/bigqueryml-syntax-evaluate#pca_models for the outputs relevant to this model type.

Parameters:
  • X (default None) – Ignored.

  • y (default None) – Ignored.

Returns:

DataFrame that represents model metrics.

Return type:

bigframes.dataframe.DataFrame