
Review a clinical modelling pipeline for common pitfalls
Source:R/agent-review.R
tr_agent_review.RdRuns a series of rule-based checks for common clinical-ML pitfalls
(class imbalance or low event rate, low events-per-variable, possible
leakage, near-zero variance predictors), then optionally asks an LLM to
summarize the findings in plain language. Works with both binary
classification models (triageR_model) and survival models
(triageR_survival_model).