bigframes.bigquery.ml.global_explain#

bigframes.bigquery.ml.global_explain(model: BaseEstimator | str | Series, *, class_level_explain: bool | None = None) DataFrame[source]#

Gets global explanations for a BigQuery ML model.

See the BigQuery ML GLOBAL_EXPLAIN function syntax for additional reference.

Parameters:
  • model (bigframes.ml.base.BaseEstimator or str) – The model to get explanations from.

  • class_level_explain (bool, optional) – Whether to return class-level explanations.

Returns:

The global explanation results.

Return type:

bigframes.pandas.DataFrame