Announcing vetiver for MLOps in R and Python

[This article was first published on RStudio | Open source & professional software for data science teams on RStudio, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

We are thrilled to announce the release of vetiver, a framework for MLOps tasks in R and Python. The goal of vetiver is to provide fluent tooling to version, share, deploy, and monitor a trained model.

Data scientists have open source tools that they love using to prepare data for modeling and train models, but there is a lack of fluent open source tooling for MLOps tasks like putting a model in production or monitoring model performance. Using vetiver for MLOps lets you use the tools you are comfortable with for exploratory data analysis and model training/tuning, and provides a flexible framework for the parts of a model lifecycle not served as well by current approaches.

As of today, the vetiver framework supports models trained via scikit-learn, PyTorch, tidymodels, caret, mlr3, XGBoost, ranger, lm(), and glm(). We are interested in what other modeling frameworks to support, so please let us know what you would like to use vetiver with!

Getting started

You can install the released version of vetiver for R from CRAN:

install.packages("vetiver")

You can install the released version of vetiver for Python from PyPI:

pip install vetiver

See our documentation for more on how to:

Why use vetiver?

The vetiver framework for MLOps tasks is built for data science teams that use R and/or Python, with a native, fluent experience for both. We especially had “bilingual” data science teams in mind as we designed vetiver’s approach, enabling teams that use both languages (or an individual who uses both) to deploy models with consistent and unified practices.

The vetiver framework provides data scientists with a first deployment experience that is as painless as possible, while being flexible and extensible for more advanced users. At RStudio, we have experienced how tools that are built to help beginners succeed and do the “right thing” are also typically good tools for data practitioners as they mature and advance. In vetiver specifically, functions handle both recording and checking the model’s input data prototype, to avoid common failure modes when deploying models. Other functions support predicting from a remote API endpoint so that you can treat a deployed model much the same as a local R or Python model in memory.

Get in touch

We are so happy about releasing vetiver for R and Python, and we want to know how to make it better. Join our discussion on RStudio Community to chat with us about deploying your models, and let us know what you would like to see from vetiver!

To leave a comment for the author, please follow the link and comment on their blog: RStudio | Open source & professional software for data science teams on RStudio.

R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)