Skip to content

ENH: Add classification performance measures. Closes #1577 - #1650

Closed
jseabold wants to merge 2 commits into
statsmodels:masterfrom
jseabold:classification-metrics
Closed

jseabold wants to merge 2 commits into
statsmodels:masterfrom
jseabold:classification-metrics

Conversation

@jseabold

Copy link
Copy Markdown
Member

Still needs

  • ROC curve
  • rst docs update
  • release note
  • visualization grid for multinomial prediction table?
  • review of notes
  • import into discrete namespace

They're untested, but the formulas are very easily verifiable.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same when pulling 7bd8f67 on jseabold:classification-metrics into b52bc09 on statsmodels:master.

@jseabold

Copy link
Copy Markdown
Member Author

Looking what scikit-learn has, I'm not sure it's worth it to rewrite all of these. Might just copy-paste, add the license, and fix the API to be more like what we have/need.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

true sounds strange what's true? in python, everything that is not null.

scipy would be more expected (contingency table and chisquare tests IIRC)
in eval_measures I just used x1 and x2, without attached meaning.

@josef-pkt

Copy link
Copy Markdown
Member

Kaggle also has Metrics mainly for classification http://www.kaggle.com/wiki/Metrics
(I found initially a git repo who collected them, but don't remember who it was.)

@josef-pkt

Copy link
Copy Markdown
Member

This pull request introduces 5 alerts when merging 7bd8f67 into b52bc09 - view on lgtm.com

new alerts:

  • 5 for Module-level cyclic import

Comment posted by lgtm.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants