Closed angeliney closed 11 months ago
loading library works successfully
Error due to fairlearn updating their API in v0.9.0
[/usr/local/lib/python3.10/dist-packages/credoai/modules/constants_metrics.py](https://localhost:8080/#) in <module> 58 "gini_coefficient": gini_coefficient_discriminatory, 59 "matthews_correlation_coefficient": sk_metrics.matthews_corrcoef, ---> 60 "overprediction": fl_metrics._mean_overprediction, 61 "precision_score": sk_metrics.precision_score, 62 "roc_auc_score": sk_metrics.roc_auc_score, AttributeError: module 'fairlearn.metrics' has no attribute '_mean_overprediction'
pip install credoai-lens[full]
from credoai.evaluators import ModelFairness, Performance
Downgrade fairlearn version back to before the changes occur: pip install fairlearn==0.8.0
pip install fairlearn==0.8.0
@angeliney, thanks for your interest in Lens. Unfortunately, this package is no longer maintained. I will therefore close this issue.
Expected Behavior
loading library works successfully
Actual Behavior
Error due to fairlearn updating their API in v0.9.0
Steps to Reproduce the Problem
pip install credoai-lens[full]
from credoai.evaluators import ModelFairness, Performance
Specifications
Workaround
Downgrade fairlearn version back to before the changes occur:
pip install fairlearn==0.8.0