Skip to content

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

Open
sneznaj wants to merge 2 commits into
statsmodels:mainfrom
sneznaj:main
Open

sneznaj wants to merge 2 commits into
statsmodels:mainfrom
sneznaj:main

Conversation

@sneznaj

@sneznaj sneznaj commented Oct 3, 2021

Copy link
Copy Markdown

like #1650 without table flip keyword

@josef-pkt

Copy link
Copy Markdown
Member

thanks for updating this

unit test fails, I haven't looked at the details

Does our prediction table in Logit use the same ordering of rows and columns, so that it can directly be used with these functions?

@sneznaj

sneznaj commented Oct 4, 2021 •

Copy link
Copy Markdown
Author

i do not understand the unit test fails and the logit

@josef-pkt

Copy link
Copy Markdown
Member

python is zero based for range and indexing,

check what x is in your unit test

I guess you wanted x = np.arange(1, 5).reshape(2, 2)

discrete binary models, Logit and Probit, have a prediction table in the results instance.
I don't remember how the ordering is in the prediction table, but the eval_measures need to be consistent with it.

@josef-pkt josef-pkt modified the milestones: Someday, 0.14 Feb 14, 2022
@josef-pkt josef-pkt mentioned this pull request Feb 14, 2022
16 of 20 tasks
@josef-pkt josef-pkt modified the milestones: 0.14, 0.15 Dec 1, 2022
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.

2 participants