Capítulo 9 Judging model effectiveness
Learning objectives:
- Explain why measures of model fit to actual data are important even for purely inferential models.
- Use
{yardstick}
to compute regression metrics.- Recognize
{yardstick}
function output. - Create a metric set with
yardstick::metric_set()
.
- Recognize
- Use
{yardstick}
to compute binary classification metrics.- Describe the common arguments for
{yardstick}
classification metrics. - Visualize a binary classification model fit using
{yardstick}
and{ggplot2}
.
- Describe the common arguments for
- Use
{yardstick}
to compute multi-class classification metrics.- Extend an explicitly binary metric such as
sensitivity()
to multiple classes using{yardstick}
.
- Extend an explicitly binary metric such as
- Combine
{yardstick}
metrics withdplyr::group_by()
.- Visualize a model fit for different groups using
{yardstick}
,{dplyr}
, and{ggplot2}
- Visualize a model fit for different groups using