0. One-Click Run All Models

library(E2E)

Overview

E2E provides three powerful one-click functions that automatically run comprehensive modeling pipelines:


1. Diagnostic Pipeline

# Run all diagnostic models
results_dia <- int_dia(
  train_dia,
  test_dia,
  test_dia, #can be any other data
  tune = TRUE,
  n_estimators = 5,
  seed = 123
)

# Visualize results
#plot_integrated_results(results_dia, metric_name = "AUROC")

2. Imbalanced Data Pipeline

# Run all models including imbalance handling methods
results_imb <- int_imbalance(
  train_dia,
  test_dia,
  test_dia, #can be any other data
  tune = TRUE,
  n_estimators = 5,
  seed = 123
)

# Visualize results
#plot_integrated_results(results_imb, metric_name = "AUROC")

3. Prognostic Pipeline

# Run all prognostic models
results_pro <- int_pro(
  train_pro,
  test_pro,
  test_pro, #can be any other data
  tune = TRUE,
  n_estimators = 5,
  time_unit = "day",
  years_to_evaluate = c(1, 3, 5),
  seed = 123
)

# Visualize results (C-index)
#plot_integrated_results(results_pro, metric_name = "C-index")

Key Features

Fully Automated: Run dozens of models with one line of code ✅ Multi-Dataset Evaluation: Evaluate on training and multiple test sets simultaneously ✅ Diverse Methods: Covers single models, Bagging, Stacking, and Voting ✅ Clear Visualization: Heatmaps display all results intuitively