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

Why is predict_proba not predict_proba? #19

Open
Tracked by #21
Innixma opened this issue Mar 1, 2023 · 0 comments
Open
Tracked by #21

Why is predict_proba not predict_proba? #19

Innixma opened this issue Mar 1, 2023 · 0 comments
Assignees

Comments

@Innixma
Copy link
Collaborator

Innixma commented Mar 1, 2023

fpredictor.predict_proba(test_data)
Out[4]: 
         <=50K      >50K
0     0.931291  0.740701
1     0.999250 -0.239742
2     0.043029  0.716479
3     0.998207  0.673785
4     0.988926 -0.229418
        ...       ...
9764  0.977868  0.694124
9765  0.941992 -0.182484
9766  0.866390 -0.106882
9767  0.999667 -0.240159
9768  0.742606  0.016902

Negative predict_proba isn't a thing. How are users supposed to use this output if they care about the prediction probabilities?

@Innixma Innixma mentioned this issue Mar 1, 2023
4 tasks
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

When branches are created from issues, their pull requests are automatically linked.

2 participants