Skip to main content

Python SDK for Feast

Project description


Unit Tests Code Standards Docs Latest GitHub Release

Overview

Feast (Feature Store) is a tool for managing and serving machine learning features. Feast is the bridge between models and data.

Feast aims to:

  • Provide a unified means of managing feature data from a single person to large enterprises.
  • Provide scalable and performant access to feature data when training and serving models.
  • Provide consistent and point-in-time correct access to feature data.
  • Enable discovery, documentation, and insights into your features.

Feast decouples feature engineering from feature usage, allowing independent development of features and consumption of features. Features that are added to Feast become available immediately for training and serving. Models can retrieve the same features used in training from a low latency online store in production. This means that new ML projects start with a process of feature selection from a catalog instead of having to do feature engineering from scratch.

# Setting things up
fs = feast.Client('feast.example.com')
customer_features = ['CreditScore', 'Balance', 'Age', 'NumOfProducts', 'IsActive']

# Training your model (typically from a notebook or pipeline)
data = fs.get_historical_features(customer_features, customer_entities)
my_model = ml.fit(data)

# Serving predictions (when serving the model in production)
prediction = my_model.predict(fs.get_online_features(customer_features, customer_entities))

Getting Started with Docker Compose

Clone the latest stable version of the Feast repository and navigate to the infra/docker-compose sub-directory:

git clone --depth 1 --branch v0.7.0 https://github.com/feast-dev/feast.git
cd feast/infra/docker-compose
cp .env.sample .env

The .env should be configured based on your environment. A GCP service account can be added if BigQuery will be used for historical serving (storing and retrieving training data).

Bring up Feast:

docker-compose up -d

The command above will bring up a complete Feast deployment with a Jupyter Notebook containing example notebooks.

Important resources

Please refer to the official documentation at https://docs.feast.dev

Notice

Feast is a community project and is still under active development. Your feedback and contributions are important to us. Please have a look at our contributing guide for details.

Project details


Release history Release notifications | RSS feed

This version

0.7.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

feast-0.7.1.tar.gz (126.8 kB view hashes)

Uploaded Source

Built Distribution

feast-0.7.1-py3-none-any.whl (119.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page