8000 Update scikit-xg-predict.py (#12001) · davidcavazos/python-docs-samples@e791bf4 · GitHub
[go: up one dir, main page]

Skip to content

Commit e791bf4

Browse files
Update scikit-xg-predict.py (GoogleCloudPlatform#12001)
* Update scikit-xg-predict.py Migrating region tag for https://b.corp.google.com/issues/347826240 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 46e3473 commit e791bf4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ml_engine/online_prediction/scikit-xg-predict.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
import googleapiclient.discovery
1919

2020

21+
# [START aiplatformprediction_predict_json_py]
2122
# [START predict_json]
2223
def predict_json(project, model, instances, version=None):
2324
"""Send json data to a deployed model for prediction.
@@ -51,3 +52,4 @@ def predict_json(project, model, instances, version=None):
5152

5253

5354
# [END predict_json]
55+
# [END aiplatformprediction_predict_json_py]

0 commit comments

Comments
 (0)
0