Advanced Tutorial: Creating a MTBF Custom Metric
Creating a MTBF custom metric using the timestamp column from chunk data.
Repurposing our binary classification sample dataset
import pandas as pd
import nannyml as nml
reference = pd.read_parquet("https://github.com/NannyML/sample_datasets/raw/main/synthetic_pure_covariate_shift_datasets/binary_classification/synthetic_custom_metrics_binary_classification_reference.pq")
monitored = pd.read_parquet("https://github.com/NannyML/sample_datasets/raw/main/synthetic_pure_covariate_shift_datasets/binary_classification/synthetic_custom_metrics_binary_classification_monitored.pq")
reference.head(5)Developing the MTBF metric functions
Testing MTBF in the Cloud product




Next Steps
Last updated