rstudio / posit-demo-assets

2 stars 3 forks source link

Add plumber-loan-model example #60

Closed tnederlof closed 10 months ago

tnederlof commented 10 months ago

This PR adds plumber-loan-model which is a plumber API exposing a predict endpoint for a model created with tidymodels/xgboost. The model is predicting the riskiness of a new loan based on certain parameters. The model is already saved/serialized and the API predict endpoint loads that in. This also includes the training data and a train script so training can be rerun.