tidymodels

Predicting Titanic passenger survival using tidymodels

In this post I explain how I build and tuned a Machine Learning model in R using the tidymodels package to predict passenger survival on the Titanic. I define some new features from the data to enhance the accuracy of the model and perform tuning of the model in Python using optuna. The final model reaches a top 2% score on Kaggle.

Tune R tidymodels with the Python optuna package

In this post I explain how I build and tuned a Machine Learning model in R using the tidymodels package. I then show how to tune the hyperparameters directly in R using a grid search and compare the results with performing the tuning in optuna using the reticulate package.