Skip to content

enh: support multiple types of prediction #233

Merged
isabelizimm merged 10 commits intomainfrom
pred-types
Mar 21, 2025
Merged

enh: support multiple types of prediction #233
isabelizimm merged 10 commits intomainfrom
pred-types

Conversation

@isabelizimm
Copy link
Contributor

@isabelizimm isabelizimm commented Mar 18, 2025

resolves #2

allows users to pass in "predict", "predict_proba", or "predict_log_proba" to a vetiver_post() call in order to create another endpoint that uses that type of prediction for scikit-learn models.

# example
api = VetiverAPI()
api.vetiver_post(endpoint_fx="predict_proba")

@isabelizimm isabelizimm marked this pull request as ready for review March 20, 2025 21:36
@isabelizimm isabelizimm merged commit abb17c0 into main Mar 21, 2025
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support different types of prediction

1 participant