bigframes.ml.preprocessing.KBinsDiscretizer.to_gbq#

KBinsDiscretizer.to_gbq(model_name: str, replace: bool = False) _T#

Save the transformer as a BigQuery model.

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 transformer.