Compare commits

...
Author SHA1 Message Date
Andrew FerlitschandGitHub 8e68e6964a Merge branch 'main' into ml.googleapis_fix 2022-05-31 09:48:41 -07:00
Andrew Ferlitsch 9cb26df7cf feat: start stage8 2022-05-24 22:27:20 +00:00
Andrew Ferlitsch 6c6295e175 feat: start stage7 2022-05-24 22:20:53 +00:00
Andrew FerlitschandGitHub 05bc8b31ef Merge branch 'main' into ml.googleapis_fix 2022-05-20 12:58:21 -07:00
Andrew Ferlitsch 18ea24453f Merge branch 'ml.googleapis_fix' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml.googleapis_fix 2022-05-20 19:57:30 +00:00
Andrew Ferlitsch 9550abebea feat: LightGBM 2022-05-20 19:56:51 +00:00
Andrew Ferlitsch e77332e70f feat: LightGBM 2022-05-20 19:53:30 +00:00
Andrew FerlitschandGitHub 1300bf3d70 Merge branch 'main' into ml.googleapis_fix 2022-05-20 12:39:34 -07:00
Andrew Ferlitsch cba9ec9b66 Merge branch 'ml.googleapis_fix' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml.googleapis_fix 2022-05-20 19:38:43 +00:00
Andrew Ferlitsch febbd0467a feat: swivel and matching engine 2022-05-20 19:38:32 +00:00
Andrew Ferlitsch b140abc467 feat: swivel and matching engine 2022-05-20 19:35:06 +00:00
Andrew FerlitschandGitHub 2273f64b8b Merge branch 'main' into ml.googleapis_fix 2022-05-19 12:42:48 -07:00
Andrew Ferlitsch 0fd12855ed Merge branch 'ml.googleapis_fix' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml.googleapis_fix 2022-05-19 19:39:54 +00:00
Andrew Ferlitsch 54263c6e73 fix: enable apis 2022-05-19 19:38:49 +00:00
Andrew Ferlitsch fffe3b5bd0 fix: enable apis 2022-05-19 19:34:38 +00:00
Andrew FerlitschandGitHub a60be551b9 Merge branch 'main' into ml.googleapis_fix 2022-05-19 12:30:04 -07:00
Andrew Ferlitsch 2514f426a2 Merge branch 'ml.googleapis_fix' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml.googleapis_fix 2022-05-19 19:28:46 +00:00
Andrew Ferlitsch cc4b3c3b31 fix: enable apis 2022-05-19 19:27:52 +00:00
Andrew Ferlitsch b1183d55ae fix: enable apis 2022-05-19 19:25:06 +00:00
Andrew FerlitschandGitHub 1c3e334597 Merge branch 'main' into ml.googleapis_fix 2022-05-19 12:23:40 -07:00
Andrew Ferlitsch 438ea8de24 Merge branch 'ml.googleapis_fix' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml.googleapis_fix 2022-05-19 19:22:37 +00:00
Andrew Ferlitsch 64d828b810 fix: enable apis 2022-05-19 19:22:01 +00:00
Andrew Ferlitsch 1a52004d69 fix: enable apis 2022-05-19 19:18:42 +00:00
Andrew FerlitschandGitHub e8d135d54f Merge branch 'main' into ml.googleapis_fix 2022-05-19 12:15:21 -07:00
Andrew Ferlitsch 955f97ef47 Merge branch 'ml.googleapis_fix' of https://github.com/GoogleCloudPlatform/vertex-ai-samples into ml.googleapis_fix 2022-05-19 19:14:00 +00:00
Andrew Ferlitsch 6ed93d545d fix: enable apis 2022-05-19 19:12:45 +00:00
Andrew Ferlitsch 5218bfdb97 fix: enable apis 2022-05-19 19:00:05 +00:00
Andrew FerlitschandGitHub b5d9ca8cc2 Merge branch 'main' into ml.googleapis_fix 2022-05-19 11:51:41 -07:00
Andrew Ferlitsch 8c9adae468 fix: enable apis 2022-05-19 18:50:07 +00:00
Andrew Ferlitsch d2ade6eba6 fix: enable apis 2022-05-19 18:45:04 +00:00
Andrew Ferlitsch 4cfd337a14 fix: enable apis 2022-05-19 18:34:41 +00:00
Andrew Ferlitsch 29b9133fae fix: enable apis 2022-05-19 18:31:38 +00:00
3 changed files with 36 additions and 0 deletions
@@ -0,0 +1,36 @@
# Stage 7: Monitoring
## Purpose
Monitor predict requests to detect model degradation and alert or trigger degradation response procedures.
## Recommendations
Degradation includes, but not limited to:
1. Health - deterioration in the operational performance of the serving binary.
2. Latency - deterioration in the elapsed time to transmit a prediction response from the serving binary.
3. Serving skew - detection of a distribution difference between the training data and the data seen at serving. This may be either or both the features of the input or the prediction of the output.
4. Data drift - detection of a change of distribution in the input features of the serving data over time.
5. Concept drift - degradation of the business objective.
For cases of skew and drift, random samples of the serving requests/responses are collected in the serving binary. Another process continuously inspects the distribution of the random collected samples. This process may either alter or initiate retraining of the model once skew or drift exceeds pre-specified thresholds.
In the case of concept drift, one may initiate a rollback of the blessed model and/or renewed A/B testing of the blessed model and previous blessed models.
This stage may be done entirely by MLOps. We recommend:
- When manually inspecting the operation of the serving binary, attach to the serving binary using the Vertex Serving Binary Debugger.
- Use Google Cloud network monitoring to monitor the operational health of the serving binary.
- Store network monitoring logs in Cloud Storage and view logs using StackDriver.
- Use Vertex AI Model Monitoring to random sample prediction requests/responses and to measure distributions for skew and drift.
- Store sampled prediction requests/responses in Big Query.
- Use Vertex ML Metadata to periodically record serving distribution statistics.
- Use Vertex Explainable AI to manually inspect for concept drift in business objectives.
- Use Cloud Pub/Sub to automatically trigger re-training pipeline.
<img src='stage7v2.png'>
## Notebooks
### Get Started
Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB