GoogleCloudPlatform / ml-design-patterns

Source code accompanying O'Reilly book: Machine Learning Design Patterns
Apache License 2.0
1.87k stars 527 forks source link

Chapter 6: Model Versioning #16

Open mshearer0 opened 3 years ago

mshearer0 commented 3 years ago

Typo in last cell of notebook:

gcloud ai-platform predict --model 'flighs_regression' --version \ 'v1' --json-instances 'input.json'

Should be flights_regression.

Also ensure installed version of xbgoost used for training matches the AI Platform runtime version (https://cloud.google.com/ai-platform/training/docs/runtime-version-list) otherwise null predictions are produced.