Skip to content

Commit

Permalink
fix: Updated quickstart notebook to patch an incorrect reference to a…
Browse files Browse the repository at this point in the history
…n outdated featureview name (#3271)

Signed-off-by: Francisco Javier Arceo <franciscojavierarceo@users.noreply.github.com>

Signed-off-by: Francisco Javier Arceo <franciscojavierarceo@users.noreply.github.com>
  • Loading branch information
franciscojavierarceo authored Oct 4, 2022
1 parent 0728117 commit b9b9c54
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions examples/quickstart/quickstart.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -512,7 +512,7 @@
"\n",
"# This groups features into a model version\n",
"driver_stats_fs = FeatureService(\n",
" name=\"driver_activity\", features=[driver_hourly_stats_view, transformed_conv_rate]\n",
" name=\"driver_activity_v1\", features=[driver_hourly_stats_view, transformed_conv_rate]\n",
")\n",
"```"
]
Expand Down Expand Up @@ -547,7 +547,7 @@
"Created entity \u001b[1m\u001b[32mdriver\u001b[0m\n",
"Created feature view \u001b[1m\u001b[32mdriver_hourly_stats\u001b[0m\n",
"Created on demand feature view \u001b[1m\u001b[32mtransformed_conv_rate\u001b[0m\n",
"Created feature service \u001b[1m\u001b[32mdriver_activity\u001b[0m\n",
"Created feature service \u001b[1m\u001b[32mdriver_activity_v1\u001b[0m\n",
"\n",
"Created sqlite table \u001b[1m\u001b[32mfeature_repo_driver_hourly_stats\u001b[0m\n",
"\n"
Expand Down Expand Up @@ -942,11 +942,11 @@
"### Fetching features using feature services\n",
"You can also use feature services to manage multiple features, and decouple feature view definitions and the features needed by end applications. The feature store can also be used to fetch either online or historical features using the same api below. More information can be found [here](https://docs.feast.dev/getting-started/concepts/feature-retrieval).\n",
"\n",
" The `driver_activity` feature service pulls all features from the `driver_hourly_stats` feature view:\n",
" The `driver_activity_v1` feature service pulls all features from the `driver_hourly_stats` feature view:\n",
"\n",
"```python\n",
"driver_stats_fs = FeatureService(\n",
" name=\"driver_activity\", features=[driver_hourly_stats_view]\n",
" name=\"driver_activity_v1\", features=[driver_hourly_stats_view]\n",
")\n",
"```"
]
Expand Down Expand Up @@ -979,7 +979,7 @@
"from feast import FeatureStore\n",
"feature_store = FeatureStore('.') # Initialize the feature store\n",
"\n",
"feature_service = feature_store.get_feature_service(\"driver_activity\")\n",
"feature_service = feature_store.get_feature_service(\"driver_activity_v1\")\n",
"feature_vector = feature_store.get_online_features(\n",
" features=feature_service,\n",
" entity_rows=[\n",
Expand Down Expand Up @@ -1101,4 +1101,4 @@
},
"nbformat": 4,
"nbformat_minor": 0
}
}

0 comments on commit b9b9c54

Please sign in to comment.