Skip to content

Training Sets

Register a training set.

Example:

ff.register_training_set(
    name="my_training_set",
    label=("label", "v1"),
    features=[("feature1", "v1"), ("feature2", "v1")],
)

Parameters:

Name Type Description Default
name str

Name of training set to be registered

required
variant str

Name of variant to be registered

''
label NameVariant

Label of training set

('', '')
features List[NameVariant]

Features of training set

[]
resources List[Resource]

A list of previously registered resources

[]
owner Union[str, UserRegistrar]

Owner

''
description str

Description of training set to be registered

''
schedule str

Kubernetes CronJob schedule string (" * * * ")

''
tags List[str]

Optional grouping mechanism for resources

[]
properties dict

Optional grouping mechanism for resources

{}

Returns:

Name Type Description
resource ResourceRegistrar

resource