Skip to main content
Version: 0.8

Define Features

This section covers how to define and manage features in Tecton using the feature engineering framework. Tecton allows you to define features in Python, SQL, or Spark and can run them natively on Rift or on a connected Spark provider.

Feature pipelines are composed using Tecton's Declarative framework:

Feature Views and Feature Services

The key concepts of Tecton's framework are:

  1. Data Sources: Data sources define a connection to a batch, stream, push, or request data source (i.e. request-time parameters) and are used as inputs to feature pipelines, known as "Feature Views" in Tecton.
  2. Feature Views: Feature Views take in data sources as inputs, or in some cases other Feature Views, and define a transformation to compute one or more features. Feature Views also provide Tecton with additional information such as metadata and orchestration, serving, and monitoring configurations. There are three types of Feature Views, each designed to support a common data flow pattern.
  3. Entities: An Entity is a business domain that can be modeled and that has features associated with it, e.g. User, Ad, Product, or Product Category. In Tecton, every Feature View is associated with one or more entities.
  4. Feature Services: A Feature Service represents a set of features that power a model. Typically, there is one Feature Service for each version of a model. Feature Services provide convenient endpoints for fetching training data through the Tecton SDK or fetching real-time feature vectors from Tecton's REST API.

In practice, composing pipelines with Tecton means connecting Data Sources to Feature Views to Feature Services.

Tecton objects are declared in Python. We recommend managing your source files using Git as a source of truth for your feature pipelines.

Was this page helpful?

🧠 Hi! Ask me anything about Tecton!

Floating button icon