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

Skip to content

chapter07: document semantic of predict() AND predict_proba() #37

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

Open
bmerkle opened this issue Jan 5, 2025 · 0 comments
Open

chapter07: document semantic of predict() AND predict_proba() #37

bmerkle opened this issue Jan 5, 2025 · 0 comments

Comments

@bmerkle
Copy link

bmerkle commented Jan 5, 2025

in chapter07 on page 187 you talk in the text about predict_proba()
however in the source code of the notebook you directly then use predict()

after reading the whole paragraph the intention becomes then clear, however in the first place it is a bit irritating.
Maybe you can describe shortly both semantics and the approach to first find out which class (via predict()) and then detail each class (with the predcit_proba) method.

predict() is used to predict the actual class
predict_proba() is used to predict the class probabilities

@bmerkle bmerkle changed the title chapter07: predict() and predict_proba() are mixed up in text/sourcecode chapter07: document semantic of predict() _and_ predict_proba() Jan 5, 2025
@bmerkle bmerkle changed the title chapter07: document semantic of predict() _and_ predict_proba() chapter07: document semantic of predict() AND predict_proba() Jan 5, 2025
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