-
Notifications
You must be signed in to change notification settings - Fork 283
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
Return weights for every sample? #150
Comments
.. if I use a pipeline like this:
It gives me distances of:
where the lowest distance is the correct class. Can I use these numbers as 'weights' for each class somehow? Ideally I need a 0 - 1 value for each. thanks again. |
... Ah, switching to SVM is working for me. Thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have a model trained, and am using the following to return the likelihood:
This is working great, giving me, for example:
The classification is correct, But, based on the data I have given it, i would expect the distance of some other samples to be non zero also. Is it possible to return the'weights' or distance for every class, not just the classified class?
Or should this be happening already?
Thanks!
The text was updated successfully, but these errors were encountered: