-
Notifications
You must be signed in to change notification settings - Fork 536
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quality metrics options #122
Conversation
src/evidently/analyzers/prob_classification_performance_analyzer.py
Outdated
Show resolved
Hide resolved
average='macro') | ||
avg_f1 = metrics.f1_score(reference_data[target_column], reference_data[prediction_column], | ||
average='macro') | ||
if len(prediction_column) > 2: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe will be better to set average='binary' or average='macro' depending on len(prediction_column) and set it explicitly in the same code for both cases?
average='macro') | ||
avg_f1 = metrics.f1_score(current_data[target_column], current_data[prediction_column], | ||
average='macro') | ||
if len(prediction_column) > 2: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the same as above, but for len(prediction_column)
Add quality metrics options:
conf_interval_n_sigmas
classification_threshold
cut_quantile