Closed petethegreat closed 4 months ago
/assign @connor-mccarthy
Possible guess: float('inf')
blocks json serialization.
pr that addresses this is here: #10350
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had recent activity. Please comment "/reopen" to reopen it.
Environment
Steps to reproduce
SlicedClassificationMetrics.load_roc_readings() gives an error. When called, it tries to invoke ClassificationMetrics.load_roc_readings() - this method does not exist, giving an error. The corresponding ClassificationMetrics method is log_roc_curve The order of the parameters (fpr, tpr, thresholds) are different - documentation for load_roc_readings suggests thresholds, tpr, fpr, but log_roc_curve wants fpr, tpr, thresholds
Also, as mentioned in #8117 - SlicedClassificationMetrics does not initialise _sliced_metrics itself, resulting in an error if this is not done manually.
Expected result
When calling SlicedClassificationMetrics.load_roc_readings, the ROC metrics should be loaded correctly without error
Materials and Reference
example to reproduce:
Impacted by this bug? Give it a 👍.