-
Book Overview & Buying
-
Table Of Contents
Feature Store for Machine Learning
By :
In this section, let's continue in the same notebook in which we initialized the demo project previously, register the feature view and entities, and use the Feast API to retrieve features.
The following code block registers all the entities and feature views defined in the example.py file:
%cd demo
!feast apply
The preceding code produces the following output:
/content/demo
Created entity driver_id
Created feature view driver_hourly_stats
Created sqlite table demo_driver_hourly_stats
The output message is straightforward except the last line, where it says Created sqlite table demo_driver_hourly_stats. This comes up if you have online=True set in the FeatureView. The apply command creates the registry.db and online_store.db files, which have been set in feature_store.yaml.
Now that entities and feature views have been registered, we can connect to the feature store and browse through the existing...