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

ks_stat with zero value #3

Open
liyi-1989 opened this issue Dec 14, 2018 · 0 comments
Open

ks_stat with zero value #3

liyi-1989 opened this issue Dec 14, 2018 · 0 comments

Comments

@liyi-1989
Copy link

If the CDF for the score (positive/negative cases) are reversed, the ks_stat will gives 0 instead of the absolute max.

This will happen when the predictor is worst than random guess, so that the positive probability distribution for 1 (positive) is actually smaller than that for 0. And thus, the difference column in the table are all non-positive cases, and thus the ks_stat calculate the max of that column, instead of the max(abs()) of that 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

No branches or pull requests

1 participant