Tracking Tidymodels with MLflow

Tracking Tidymodels with MLflow

After I posted my efforts to use MLflow to serve a model with R, I was worried that people may think I don't like MLflow. I want to declare this: MLflow is awesome. I'll showcase its model tracking features, and how to integrate them into a `t...

Data Science Workflows

Data Science Workflows

I'm obsessed with how to structure a data science project. The time I spend worrying about project structure would be better spent on actually writing code. Here's my preferred R workflow, and a few notes on Python as well. I'm obsessed with how to structure a data science project. The time I spe......

Bootstrapping R functions

Bootstrapping R functions

Suppose I want a function that runs some setup code before it runs the first time. Maybe I'm using dplyr but I haven't properly declared all of my dplyr calls in my function, so I want to run library(dplyr) before the actual function is run. Or maybe I want to ins...

Printing data frames with metadata

Printing data frames with metadata

I'm creating an R API wrapper around my state's public transport service. To make life easier for the users, the responses from the API calls are parsed and returned as tibbles/data frames. To make life easier for me, I need to keep track of the API call behind each tibble. I do this by using the......

Model as a package

Model as a package

There's a concept in R of an analysis as a package, in which everything you need for your data analysis is contained within a custom package. When you install the package and build the vignettes, the data analysis is per...