Baseline for drift detection and model performance monitoring. A Baseline defines a reference point for comparing production data against expected patterns. It serves as the foundation for detecting data drift, model performance degradation, and distributional changes in ML systems.Documentation Index
Fetch the complete documentation index at: https://handbook.fiddler.ai/llms.txt
Use this file to discover all available pages before exploring further.
Example
Baselines are immutable once created. To modify baseline parameters, create a new baseline and update your monitoring configurations.
Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | str | ✗ | None | Human-readable name for the baseline. Should be descriptive and unique within the model context. |
model_id | `UUID | str` | ✗ | None |
environment | EnvType | ✗ | None | Environment type (PRE_PRODUCTION or PRODUCTION). Determines the data environment this baseline monitors. |
type_ | str | ✗ | None | Baseline type. Supported values: “STATIC”: Fixed dataset reference (requires dataset_id); “ROLLING_WINDOW”: Sliding time window (requires offset_delta); “PREVIOUS_PERIOD”: Previous time period comparison |
dataset_id | `UUID | str | None` | ✗ |
start_time | `int | None` | ✗ | None |
end_time | `int | None` | ✗ | None |
offset_delta | `int | None` | ✗ | None |
window_bin_size | `WindowBinSize | str | None` | ✗ |
Example
After initialization, call create() to persist the baseline to the Fiddler platform. The baseline configuration cannot be modified after creation.
classmethod get(id_)
Retrieve a baseline by its unique identifier. Fetches a baseline from the Fiddler platform using its UUID. This method returns the complete baseline configuration including metadata and statistics.Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
id_ | `UUID | str` | ✗ | None |
Returns
The baseline instance with all configuration and metadata populated from the server. Return type:Baseline
Raises
- NotFound — If no baseline exists with the specified ID.
- ApiError — If there’s an error communicating with the Fiddler API.
Example
This method makes an API call to fetch the latest baseline information from the server, including any updated statistics or metadata.
classmethod from_name(name, model_id)
Get the baseline instance of a model from baseline nameParameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | str | ✗ | None | Baseline name |
model_id | `UUID | str` | ✗ | None |