Failure Mode Analysis
Failure Mode Analysis is a test that allows users to deeply analyse their model's performance.
Execute Test
rules = FMARules()
rules.add(metric='F1Score', metric_threshold=0.5, label='ALL', conf_threshold=0.5, iou_threshold=0.5)
rules.add(metric='Recall', metric_threshold=0.5, label='ALL', conf_threshold=0.5, iou_threshold=0.5)
rules.add(metric='Precision', metric_threshold=0.5, label='ALL', conf_threshold=0.5, iou_threshold=0.5)
dataset_name = "validation_dataset"
cls_default = clustering(test_session=test_session,
dataset_name=dataset_name,
method="k-means",
embedding_col="Embedding",
level="image",
args={"numOfClusters": 7}
)
edge_case_detection = failure_mode_analysis(test_session=test_session,
dataset_name=dataset_name,
test_name=run_name,
model="RagaModel",
gt="GT",
rules=rules,
type="fma",
output_type="instance_segmentation",
clustering=cls_default,
embedding_col_name="Embedding")
test_session.add(edge_case_detection)
test_session.run()Analysing Test Results

Navigating and Interpreting Results


Practical Tips
Last updated
Was this helpful?

