bigframes.ml.decomposition.MatrixFactorization.to_gbq#

MatrixFactorization.to_gbq(model_name: str, replace: bool = False) MatrixFactorization[source]#

Save the model to BigQuery.

Parameters:
  • model_name (str) – The name of the model.

  • replace (bool, default False) – Determine whether to replace if the model already exists. Default to False.

Returns:

Saved model.

Return type:

MatrixFactorization