vetiver-r
Version, share, deploy, and monitor models
Vetiver provides tooling for the full MLOps lifecycle of trained models in R. It handles versioning, sharing, deployment, and monitoring of models, with support for many modeling frameworks including tidymodels, caret, mlr3, XGBoost, keras, and base R functions like lm() and glm().
The package solves the deployment gap between training models and putting them into production. It uses pins for model versioning and storage across various backends (local folders, Posit Connect, S3), generates Plumber REST APIs for model serving, and maintains input data validation to catch prediction errors. Vetiver works alongside a Python implementation, making it suitable for multi-language data science teams.
Contributors#
Resources featuring vetiver-r#
Standardizing a safety model with tidymodels, Posit Team & Databricks at Suffolk Construction
If you’ve ever struggled with standardizing machine learning workflows, ensuring secure data access, or scaling insights across your organization, this month’s Posit Team Workflow demo is for you.
Maxwell Patterson, Data Scientist at Suffolk walked us through how their team is:
Standardizing model workflows using tidymodels, vetiver, Shiny, and Quarto Leveraging row-level permissions in Shiny apps to improve data governance Using Databricks and Posit to gain insights faster and more securely
A few helpful links for this demo: Suffolk Customer Spotlight: https://posit.co/about/customer-stories/suffolk/ Quarto email customization: https://docs.posit.co/connect/user/quarto/#email-customization Vetiver package: https://rstudio.github.io/vetiver-r/reference/vetiver_deploy_rsconnect.html Pins package: https://pins.rstudio.com/ Tidymodels “meta-package” https://tidymodels.tidymodels.org/ More information on how Posit and Databricks work together: https://posit.co/use-cases/databricks/
Do you use both Databricks and Posit, but not together yet. You can use this link to chat more with our team as well: https://pos.it/chat-databricks
Q&A Recording: https://youtube.com/live/zU-bBUJMyQ4?feature=share To add future workflow demos on your calendar: https://pos.it/team-demo
^ These demos happen the last Wednesday of every month
