* feat(metrics): OBB support in ConfusionMatrix, MASKS guard, shape validation * refactor(tests): extract reusable ConfusionMatrix MASKS test cases * refine(metrics): exclude metric_target from ConfusionMatrix.__eq__ * refactor(metrics): consolidate _assert_supported_target call sites * fix(metrics): normalise OBB (N,4,2) shape explicitly in detections_to_tensor * test(metrics): add OBB wrong-target-cols case to validate_input_tensors * test(metrics): add OBB edge-case parametrize cases to detections_to_tensor * test(metrics): replace validate_input_tensors with _validate_input_tensors in test_detection * refactor(metrics): make ConfusionMatrix unhashable * fix(metrics): add shape validation to evaluate_detection_batch * fix(metrics): cast class_id to float32 in detections_to_tensor * test(metrics): fix test_evaluate_detection_batch targets shape --------- Co-authored-by: jirka <6035284+Borda@users.noreply.github.com> Co-authored-by: Claude Code <noreply@anthropic.com> Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| conftest.py | ||
| test_detection.py | ||
| test_f1_score.py | ||
| test_mean_average_precision.py | ||
| test_mean_average_precision_area.py | ||
| test_mean_average_recall.py | ||
| test_oriented_bounding_box_metrics.py | ||
| test_precision.py | ||
| test_recall.py | ||