Skip to main content

Python SDK for Feast

Project description

Feast - Feature Store for Machine Learning

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.

TL;DR: Feast decouples feature engineering from feature usage. 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_batch_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

The following commands will start Feast in online-only mode.

git clone https://github.com/feast-dev/feast.git
cd feast/infra/docker-compose
cp .env.sample .env
docker-compose -f docker-compose.yml -f docker-compose.online.yml up -d

This will start a local Feast deployment with online serving. Additionally, a Jupyter Notebook with Feast examples.

Please see the links below to set up Feast for batch/historical serving with BigQuery.

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

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.5.0.tar.gz (99.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

feast-0.5.0-py3-none-any.whl (93.5 kB view details)

Uploaded Python 3

File details

Details for the file feast-0.5.0.tar.gz.

File metadata

  • Download URL: feast-0.5.0.tar.gz
  • Upload date:
  • Size: 99.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for feast-0.5.0.tar.gz
Algorithm Hash digest
SHA256 0af3e1d5a54a047e81dd590de4ce09264505d153e14fcd7990fa9fe0c09d191e
MD5 b21083b6ca3829a36a5d6a2b65cbb31f
BLAKE2b-256 1759f428ff7969b2c86ee69786a5593ff09102b6b6c24d6cce73abe001bc3d94

See more details on using hashes here.

File details

Details for the file feast-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: feast-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 93.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.8.3

File hashes

Hashes for feast-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 838ff1ec1216563d496597498a72c086dce28d4743c251f64e031be579347a71
MD5 611c4d70f582cc8e51a1b2ea8eb8249d
BLAKE2b-256 ec9c8c47ad40218f49aef3d72f42bf73e46e8b8363d7f5b88d38d7616b9f935c

See more details on using hashes here.

Supported by

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