We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb7a850 commit 059a564Copy full SHA for 059a564
samples/snippets/create_single_timeseries_forecasting_model_test.py
@@ -64,6 +64,17 @@ def test_create_single_timeseries() -> None:
64
65
model.fit(X, y)
66
# [END bigquery_dataframes_single_timeseries_forecasting_model_tutorial_create]
67
+
68
+ # [START bigquery_dataframes_single_timeseries_forecasting_model_tutorial_evaluate]
69
+ coef = model.coef_
70
+ print(coef.peek())
71
72
+ # Expected output:
73
+ # ar_coefficients ma_coefficients intercept_or_drift
74
+ # 0 [0.40944762] [-0.81168198] 0.0
75
76
+ # [END bigquery_dataframes_single_timeseries_forecasting_model_tutorial_evaluate]
77
+ assert coef is not None
78
assert model is not None
79
assert parsed_date is not None
80
assert total_visits is not None
0 commit comments