Model Evaluation Patterns

Quantifies model performance for classification, regression, and survival tasks using yardstick R packages.

9|1|Updated Jan 10, 2026
One-click install
npx skills add https://github.com/choxos/BiostatAgent --skill model-evaluation-patterns
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Model Evaluation Patterns
Source: https://github.com/choxos/BiostatAgent/tree/main/plugins/r-tidy-modeling/skills/model-evaluation
Command: npx skills add https://github.com/choxos/BiostatAgent --skill model-evaluation-patterns

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a unified framework to quantify and compare model performance across classification, regression, and survival tasks using yardstick and related R packages, enabling consistent benchmarking and reproducible reporting.

Core Features & Use Cases

  • Classification metrics: accuracy, AUC, F1, precision/recall, and confusion matrices for binary and multiclass problems.
  • Regression metrics: RMSE, MAE, R², MAPE, and calibration tools for regression predictions.
  • Visualization & benchmarking: ROC/PR curves, calibration plots, and side-by-side model comparisons for rapid decision making.

Quick Start

Evaluate a trained model by computing standard metrics and generating a performance report across relevant tasks.

Frequently Asked Questions about Model Evaluation Patterns

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate model evaluation metrics for classification and regression in R?

Model evaluation metrics for classification and regression are calculated using the yardstick package. It computes accuracy, AUC, F1, RMSE, and R² by comparing clearly defined truth and prediction objects. This approach ensures consistent benchmarking and reproducible reporting.

What is the best way to compare model performance across multiple tasks?

The best way to compare model performance across multiple tasks is using a unified framework. It enables side-by-side model comparisons with ROC/PR curves, calibration plots, and standard metrics, facilitating rapid decision making from small experiments to production-scale pipelines.

Can I generate calibration plots and ROC curves using yardstick?

Yes, you can generate calibration plots and ROC curves using yardstick. The framework supports visualization and benchmarking across classification and regression predictions, allowing you to visually assess model performance and calibration quality.

Does this model evaluation framework support survival analysis tasks?

Yes, the model evaluation framework supports survival analysis tasks. It quantifies model performance across classification, regression, and survival tasks using yardstick and related R packages, making it applicable to clinical research and risk assessment workflows.

What do I need to compute RMSE and MAE for my regression predictions?

To compute RMSE and MAE for regression predictions, you need clearly defined truth and prediction objects. The framework uses these inputs to calculate standard regression metrics and provides calibration tools for evaluating prediction accuracy.