-
Notifications
You must be signed in to change notification settings - Fork 324
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
decision_function instead of predict_proba #157
Comments
if you just want to use the closest-to-hyperplane selection with a linear SVM, you could also write yourself a query strategy like:
|
This is great, thank you for the tip. Did not realize how simple it would be. |
I am curious why you normalize the confidence scores. I can't see how applying a linear scaling factor of (1 / w_norm) to the y vector would change the return value of the function. Is it simply to ensure all values are between 0 and 1? |
yes you are right. you do not need this step. |
Thought so. Cheers! |
Several non-probabilistic estimators, such as SVMs in particular, can be used with uncertainty sampling. Scikit-Learn estimators that support the decision_function method can be used with the closest-to-hyperplane selection algorithm [Bloodgood]. This is actually a very popular strategy in AL research and would be very easy to implement.
The text was updated successfully, but these errors were encountered: