Skip to content

cricci3/featureStore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

90 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

featureStore

Use case

churn-modelling takes data from bank's customers and it would be useful to develop ML models to answer some questions such as:

  • when the customer has left the bank (closed the account)
  • when the customer continues to use the bank's services

feature stores could be very useful here for multiple reasons:

  • data preparation for multiple teams: when several teams are working on the same data set, a feature store allows features to be centralized and organized in a consistent manner, simplifying feature management and sharing among these teams.

  • Always fresh data: a feature store can be configured with a TTL to automatically delete features older than a certain period. This ensures that machine learning models are always based on up-to-date data. In the case of the churn dataset, if we assume that the data are constantly being updated, this feature is especially valuable. The models will always be aligned with the latest information.

  • Feature version management: a feature store manages different versions of features. When developing new models or making changes to existing models, it is important to use the same feature versions to ensure consistency and comparability. For example, if you develop a model to predict user churn, it is essential to use the same features that were used to train the original model.


Run the code

How to run the code:

  • run notebook 0-create_fs to create .raw data

  • open the command line in the "feature_repo" repository and to deploy the features on the Feature Store launch this command:

    feast apply
  • run notebook 1-create_dataset to create the dataset used for training the models

  • run notebooks 2-train_1 and 2-train_2 to train the models

  • run notebook 3-materialize to materialize the Features

  • run notebook 4-online for inference

Enjoy :)

About

Feast Feature Store Proof of Concept

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published