You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, thank you for the implementation. However, as the title indicates, when I want to assess the performance of a prediction (that says that the full time-serie is normal) compared to a ground-truth that says otherwise (contains anomalies), the code raises an assertion error. Shouldn't the score be indicating 0 since the predictions failed to predict that there are anomalies that were not detected?
The text was updated successfully, but these errors were encountered:
nesrnesr
changed the title
When the groundtruth is 0 and 1 and the predictions are fully 0, an assertion error is raised
Assertion error when evaluating a groundtruth with zeros and ones against a prediction that is only made of zeros
May 14, 2022
Unfortunately, I have the same issue and I think nesrnesr is absolutely right. If the prediction does not include any ones the precision should simply be zero. Luckily the case is easy to catch and fix.
Hello, thank you for the implementation. However, as the title indicates, when I want to assess the performance of a prediction (that says that the full time-serie is normal) compared to a ground-truth that says otherwise (contains anomalies), the code raises an assertion error. Shouldn't the score be indicating 0 since the predictions failed to predict that there are anomalies that were not detected?
The text was updated successfully, but these errors were encountered: