Featureform Resource Types
Labels
Labels are a core component of a training set. A model relies on a set of features to make an inference. During the training process, this inference is compared to a label, and the model is adjusted incrementally.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Labels are a core component of a training set. A model relies on a set of features to make an inference. During the training process, this inference is compared to a label, and the model is adjusted incrementally.
import featureform as ff
@ff.entity
class User:
top_song = ff.Label(dataset[["user", "top_song"]], variant="30days", type=ff.String)
import featureform as ff
@ff.entity
class User:
is_bot = ff.Label(dataset[["user", "is_bot"]], variant="simple", type=ff.Bool)
ff.register_training_set(name, variant, label=(name, variant), features=[(name, variant)])
client.training_set(name, variant).dataframe()