training_extensions icon indicating copy to clipboard operation
training_extensions copied to clipboard

Add test for FMeasure confidence threshold retention

Open andersendsa opened this issue 1 month ago • 0 comments

Is your request related to a specific problem or use case? Please describe.

FMeasure.reset() clears predictions and targets but retains the best confidence threshold. The existing test does not verify that a lower-scoring evaluation preserves that threshold.

What should the feature do?

Add a test that computes F1 after a reset with mismatched predictions and targets. Verify that the lower F1 score does not replace the previously recorded best confidence threshold. CC: @leoll2

andersendsa avatar Nov 01 '26 05:11 andersendsa