Setting up a local feature store
In the Implementing features with Feature Store notebook, 8_feature_store_feast.ipynb, you use Feature Store in local mode, with a SQLite-based registry and online store and a file-based offline store, which requires no external infrastructure.
The Fraud Detection tutorial is not intended for a production environment. The 8_feature_store_feast.ipynb notebook uses local mode as a fully functional alternative.
For information on using Feature Store in a production environment, see Configuring Feature Store.
-
You have imported the workshop files into your JupyterLab environment as described in Importing the workshop files into the JupyterLab environment.
-
You have run the
1_experiment_train.ipynbnotebook and it produces theartifact/scaler.pkl.
-
In your JupyterLab environment, open the
8_feature_store_feast.ipynbfile and follow the instructions in the notebook.The notebook guides you through the following tasks:
-
Install the
feastPython package. -
Prepare a 10,000-row data subset with entity IDs and timestamps (required by Feature Store).
-
Configure a local Feature Store instance.
-
Define feature views and a feature service.
-
Apply the definitions to the Feature Store registry.
-
Materialize features to the online store.
-
Retrieve historical features (training use case) and verify data integrity.
-
Retrieve online features (inference use case).
-
Integrate Feature Store features with the fraud detection model.
-