The criterion: stations seen, cut in time; M1's regressions station by station; no regression when nothing is flagged
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f93cdf3cd1
commit
975ebc7c1a
4 files changed
+10
-4
No files matched your search
@@ -15,4 +15,5 @@ c = evaluate.counts(y, yhat)
|
||||
assert c == {"Visibility": [1, 1, 0], "Obstruction": [2, 2, 2]}, c
|
||||
assert evaluate.regressions({"Obstruction": [10, 10, 5]}, {"Obstruction": [10, 4, 4]}) == [("Obstruction", "found", 50, 40)]
|
||||
assert evaluate.regressions({"Obstruction": [10, 10, 5]}, {"Obstruction": [10, 10, 5]}) == []
|
||||
assert evaluate.regressions({"Obstruction": [0, 15, 0]}, {}) == [] # false alarms gone: not a regression
|
||||
print("ok")
|
||||
Reference in new issue
Block a user