-
Notifications
You must be signed in to change notification settings - Fork 12
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
Option to pass at rgcca_predict to get class predicted probabilities #79
Comments
Hi @tonyliang19! |
Thanks for your consideration on this matter, I would say if the first option deviates a lot from regular S3 predict, then adding a new output probs would be adequate and enough. As it complements by your other standard output of a rgcca predict. |
You can try the branch: https://github.com/rgcca-factory/RGCCA/tree/add_probs_in_predict; we'll merge it if it suits your needs! |
Amazing, I will try this as soon as possible and you let you know! |
Thats exactly what I needed! I liked that you provided the probability for each class predicted. This works for now, although I have not tested with the case of multi-class classifications. Again, thanks for you work on this |
Hello, I was testing the
rgcca_predict
functionality with my data on classifcation problem. I think it's very awesome to just have a string to change the underlying model to use. But I noticed the returned output is simply just the predicted class and not the probabilities itself.So, I wonder if you have implemented a way that you just pass like an additional parameter to your
rgcca_predict
like a normal S3 predict(..., type = "probs"), whereas you could pass thattype
arg to return either probability or link function output etc. Thanks!The text was updated successfully, but these errors were encountered: