Skip to content

Commit

Permalink
Address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
alicechang0909 committed Dec 26, 2024
1 parent bc6024c commit 4dda51d
Showing 1 changed file with 9 additions and 39 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github",
"colab_type": "text"
},
"source": [
"<a href=\"https://colab.research.google.com/github/alicechang0909/vertex-ai-samples/blob/main/notebooks/official/feature_store/feature_monitoring_with_feature_registry.ipynb\" target=\"_parent\"><img src=\"https://colab.research.google.com/assets/colab-badge.svg\" alt=\"Open In Colab\"/></a>"
]
},
{
"cell_type": "code",
"execution_count": null,
Expand Down Expand Up @@ -39,7 +29,7 @@
"id": "JAPoU8Sm5E6e"
},
"source": [
"## Feature Monitoring in Vertex AI Featurestore\n",
"## Feature Monitoring in Vertex AI Feature Store\n",
"\n",
"<table align=\"left\">\n",
" <td style=\"text-align: center\">\n",
Expand Down Expand Up @@ -73,7 +63,7 @@
"source": [
"## Overview\n",
"\n",
"In this tutorial, you will learn how to use the Vertex AI SDK for Python to monitor feature data in Vertex AI featurestore\n",
"In this tutorial, you will learn how to use the Vertex AI SDK for Python to monitor feature data in Vertex AI Feature Store\n",
"\n",
"This tutorial uses the following Google Cloud ML services and resources:\n",
"\n",
Expand Down Expand Up @@ -219,7 +209,7 @@
"outputs": [],
"source": [
"# change to your own project id\n",
"PROJECT_ID = \"\" # @param {type:\"string\"}\n",
"PROJECT_ID = \"[your-project-id]\" # @param {type:\"string\"}\n",
"LOCATION = \"us-central1\" # @param {type:\"string\"}\n",
"\n",
"import vertexai\n",
Expand Down Expand Up @@ -517,7 +507,7 @@
"source": [
"### Execute a FeatureMonitorJob\n",
"\n",
"FeatureMonitorJob will be excuted in two ways:\n",
"FeatureMonitorJob will be executed in two ways:\n",
"1. Automatically executed in scheduled time set the schedule_config in FeatureMonitor.\n",
"2. Manually trigger. In the following sections we will manually trigger monitor job to observe stats and drifts.\n",
"\n",
Expand Down Expand Up @@ -682,7 +672,7 @@
"id": "8u4yzoSDHncf"
},
"source": [
"Drifts happen when data in Feature Offline Store (BQ Source) changes overtime. Every Feature Monitor job will caculate drift comparing the data snapshot in the new job with the data snapshot in last job.\n",
"Drifts happen when data in Feature Offline Store (BQ Source) changes overtime. Every Feature Monitor job will calculate drift comparing the data snapshot in the new job with the data snapshot in last job.\n",
"\n",
"Algorithm to calculate drift score:\n",
"* For Categorical type: [L-infinity](https://en.wikipedia.org/wiki/Chebyshev_distance) distance.\n",
Expand Down Expand Up @@ -802,7 +792,7 @@
"id": "07i-yw89LsUL"
},
"source": [
"Observe the full stastics and drift"
"Observe the full statistics and drift"
]
},
{
Expand Down Expand Up @@ -943,31 +933,11 @@
"metadata": {
"colab": {
"toc_visible": true,
"provenance": [],
"include_colab_link": true
},
"environment": {
"kernel": "conda-base-py",
"name": "workbench-notebooks.m126",
"type": "gcloud",
"uri": "us-docker.pkg.dev/deeplearning-platform-release/gcr.io/workbench-notebooks:m126"
"provenance": []
},
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"language": "python",
"name": "conda-base-py"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.15"
"display_name": "Python 3",
"name": "python3"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 4dda51d

Please sign in to comment.