Skip to content
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

Merged
merged 12 commits into from
Jan 28, 2022
Merged

Quality metrics options #122

merged 12 commits into from
Jan 28, 2022

Conversation

0lgaF
Copy link
Contributor

@0lgaF 0lgaF commented Jan 24, 2022

Add quality metrics options:
conf_interval_n_sigmas
classification_threshold
cut_quantile

average='macro')
avg_f1 = metrics.f1_score(reference_data[target_column], reference_data[prediction_column],
average='macro')
if len(prediction_column) > 2:
Copy link
Contributor

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:
Copy link
Contributor

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)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants