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
In the case of a NaN value for metrics with interpretations, a very good (or very bad) interpretation is often reported, due to a lack of checks in the _analysis function.
Contact details
No response
What happened?
In the case of a NaN value for metrics with interpretations, a very good (or very bad) interpretation is often reported, due to a lack of checks in the _analysis function.
Please let me know, if I should look deeper into this and provide a Pull request.
A potential fix would be: https://github.com/fhausmann/pycm/tree/fix_na_interpretation
Steps to reproduce
Expected behavior
Some metrics, such as pearson_C_analysis return "None" in this case, which I think is the correct behavior.
Actual behavior
Either the best or the worst interpretation is reported, depending on the metric.
Operating system
Linux
Python version
Python 3.12
PyCM version
PyCM 4.1
Relevant log output
No response
The text was updated successfully, but these errors were encountered: