fdl.BaselineType

Enum for different types of baselines

EnumDescription
fdl.BaselineType.PRE_PRODUCTIONUsed for baselines on uploaded datasets.They can be training or validation datasets.
fdl.BaselineType.STATIC_PRODUCTIONUsed to describe a baseline on production events of a model between a specific time range
fdl.BaselineType.ROLLING_PRODUCTIONUsed to describe a baseline on production events of a model relative to the current time
from fiddler import BaselineType

PROJECT_NAME = 'example_project'
BASELINE_NAME = 'example_rolling'
DATASET_NAME = 'example_validation'
MODEL_NAME = 'example_model'

client.add_baseline(
  project_id=PROJECT_NAME,
  model_id=MODEL_NAME,
  baseline_id=BASELINE_NAME,
  type=BaselineType.PRE_PRODUCTION,
  dataset_id=DATASET_NAME,
)