This chapter explores machine learning within the tidyverse in R. It details “tidymodels,” a “meta-package” that streamlines various machine learning workflows, facilitating the use of advanced analytical methods in cultural research. A key focus is placed on decision trees, random forests, and the critical role of hyperparameter tuning. Using a case study from art history, the chapter demonstrates how these methods can uncover biases in the representation of artists across demographics in educational textbooks. Through guided examples, readers gain insights into the iterative nature of model tuning using hyperparameter grids and learn how to assess the accuracy of predictive models.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Machine Learning with Tidy Models

  • Nabeel Siddiqui

摘要

This chapter explores machine learning within the tidyverse in R. It details “tidymodels,” a “meta-package” that streamlines various machine learning workflows, facilitating the use of advanced analytical methods in cultural research. A key focus is placed on decision trees, random forests, and the critical role of hyperparameter tuning. Using a case study from art history, the chapter demonstrates how these methods can uncover biases in the representation of artists across demographics in educational textbooks. Through guided examples, readers gain insights into the iterative nature of model tuning using hyperparameter grids and learn how to assess the accuracy of predictive models.