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 Evidently 0.4.19 with Python 3.10, the ClassificationQualityMetric() and ClassificationConfusionMatrix() (these are the one I tested but i suspect other metrics to be impacted) throw an error when some data labels contain numerical values. Even if the dataframe column type is specified as string.
See sample code below:
But I do not think that this is the expected behavior and that the dataframe column type should be respected all along the metric(s) computation.
The text was updated successfully, but these errors were encountered:
florianbodr
changed the title
Bug: Classification metrics does not support label names containing numbers
Bug: Classification metrics do not support label names containing numbers
Apr 29, 2024
In Evidently 0.4.19 with Python 3.10, the ClassificationQualityMetric() and ClassificationConfusionMatrix() (these are the one I tested but i suspect other metrics to be impacted) throw an error when some data labels contain numerical values. Even if the dataframe column type is specified as string.
See sample code below:
It ends up with the following error:
Adding a char (like a dot) at the end of the label name numbers fixes the issue:
But I do not think that this is the expected behavior and that the dataframe column type should be respected all along the metric(s) computation.
The text was updated successfully, but these errors were encountered: