tl_test_model_difference: Perform statistical comparison of models using...

View source: R/model-selection.R

tl_test_model_differenceR Documentation

Perform statistical comparison of models using cross-validation

Description

Perform statistical comparison of models using cross-validation

Usage

tl_test_model_difference(
  cv_results,
  baseline_model = NULL,
  test = "t.test",
  metric = NULL
)

Arguments

cv_results

Results from tl_compare_cv function

baseline_model

Name of the model to use as baseline for comparison

test

Type of statistical test: "t.test" or "wilcox"

metric

Name of the metric to compare

Value

A data frame with statistical test results


tidylearn documentation built on Feb. 6, 2026, 5:07 p.m.