Comparing hyperparameter tuning strategies with tidymodels

We compare 5 hyperparameter tuning search strategies in terms of (a) model quality and (b) run time on 10 learning problems with 3 machine learning algorithms using the tidymodels framework. Bayesian search gave best results, while the racing methods had lowest running time. When interpreting the results, it must be taken into account that the search strategies have their own hyperparameters, which can substantially influence the results.

Math annotations in ggplot2 with latex2exp

The latex2exp package translates math expressions from LaTeX into R’s internal mathplot format. This can be useful when annotating a ggplot2 visualization. This post illustrates some differences in the way latex2exp works with ggplot2’s layer types, such as geoms, annotations, labels, facets, and axis texts.