Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@qinhanmin2014
Copy link
Member

@qinhanmin2014 qinhanmin2014 commented Jul 25, 2018

Closes #4558
Closes #4622
Closes #10029
Closes #11657

(1) Support dictionary output
(2) Reorganize to avoid duplicate code
(3) Return int/float instead of np.int/np.float in classification_report (See #11657)

@qinhanmin2014 qinhanmin2014 added this to the 0.20 milestone Jul 25, 2018
@qinhanmin2014 qinhanmin2014 changed the title ENH Adding various averages to classification_report [MRG] ENH Adding various averages to classification_report Jul 25, 2018
@qinhanmin2014
Copy link
Member Author

cc reviewers from the original PR
@jnothman @glemaitre @GaelVaroquaux @amueller
Note that this is not backward compatible, i.e., users cannot get the old output. But I think that's acceptable, since users are actually getting more information here.

Copy link
Member

@jnothman jnothman left a comment

Choose a reason for hiding this comment

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

Was there something particular I was meant to see / look at?

@qinhanmin2014
Copy link
Member Author

Thanks @jnothman for the review :)

Was there something particular I was meant to see / look at?

For you, maybe no, since you've approved #10029 and #11657. The main purpose of this PR is to support average option for dictionary output.

@qinhanmin2014
Copy link
Member Author

I'll count my +1 and merge when green. Hope that users won't complain about the backward incompatible.

@jnothman
Copy link
Member

jnothman commented Aug 7, 2018 via email

@qinhanmin2014 qinhanmin2014 merged commit 0efaf2d into scikit-learn:master Aug 7, 2018
@qinhanmin2014
Copy link
Member Author

Thanks @apacha

@qinhanmin2014 qinhanmin2014 deleted the 10029 branch August 7, 2018 11:54
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.

4 participants