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

Add predict_proba() or decision_function() to each predictor #38

Open
mgalloy opened this issue Jan 28, 2018 · 0 comments
Open

Add predict_proba() or decision_function() to each predictor #38

mgalloy opened this issue Jan 28, 2018 · 0 comments
Assignees

Comments

@mgalloy
Copy link
Owner

mgalloy commented Jan 28, 2018

Each predictor should have either a predict_proba() or decision_function() method.

The predict_proba method of a classifier outputs the probability of the instance being in each of the classes.

The decision_function method finds the distance to the separating hyperplane. For example, an SVM classifier finds hyperplanes separating the space into areas associated with classification outcomes. This function, given a point, finds the distance to the separators.

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

No branches or pull requests

1 participant