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

Support different types of prediction #2

Open
isabelizimm opened this issue Feb 9, 2022 · 1 comment
Open

Support different types of prediction #2

isabelizimm opened this issue Feb 9, 2022 · 1 comment
Labels
deploy enhancement New feature or request

Comments

@isabelizimm
Copy link
Contributor

Currently, vetiver supports the predict method when handling models. In other use cases, it maybe important to be able to use predict_proba or predict_log_proba.

@juliasilge
Copy link
Member

On the R side, we handle this by passing in an argument about the type of predictions. It would look something like this:

pr() %>% vetiver_pr_predict(v, type = "prob")
## or 
pr() %>% vetiver_pr_predict(v, type = "quantile")
## and so on

@isabelizimm isabelizimm added enhancement New feature or request deploy labels Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deploy enhancement New feature or request
Projects
Development

No branches or pull requests

2 participants