Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

FIX do not ignoretarget_names whenoutput_dict=True inclassification_report_imbalanced#989

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
glemaitre merged 3 commits intoscikit-learn-contrib:masterfromAYY7:fixes
Jul 8, 2023

Conversation

AYY7
Copy link
Contributor

Reference Issue

Fixes#863

What does this implement/fix? Explain your changes.

Whenoutput_dict=True andtarget_names is given, set the keys of theoutput_dict to the correspondingtarget_names

{'label 1': {'pre':0.5,             'rec':1.0,             ...            }, 'label 2': { ... },  ...}

Whenoutput_dict=True andtarget_names is not given, set the keys of theoutput_dict to the corresponding labels instr format

{'0': {'pre':0.5,             'rec':1.0,             ...            }, '1': { ... },  ...}

Any other comments?

@glemaitreglemaitre self-requested a reviewJuly 8, 2023 19:05
Copy link
Member

@glemaitreglemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM is on my side. I sync withmaster to see if the CIs agree.

@glemaitreglemaitre changed the title[MRG] Fix classification_report_imbalanced output_dict keys to target_namesFIX do not ignoretarget_names whenoutput_dict=True inclassification_report_imbalancedJul 8, 2023
@glemaitreglemaitre merged commit5be5670 intoscikit-learn-contrib:masterJul 8, 2023
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@glemaitreglemaitreglemaitre approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

[ENH] set classification_report_imbalanced output_dict keys to target_names
2 participants
@AYY7@glemaitre

[8]ページ先頭

©2009-2025 Movatter.jp