Logistic Regression Specialist — Refactor Workflow¶
Description: Improve existing artifact structure and quality
When to Use¶
Use the refactor workflow when you need to improve existing artifact structure and quality.
Input Requirements¶
- Structured datasets with target variable definitions and class distributions
- Feature engineering specifications and domain-specific variable catalogs
- Regularization strategy requirements (L1, L2, elastic net)
- Performance targets and fairness criteria for classification decisions
Process¶
- Initialize — Set up the refactor context for Logistic Regression Specialist
- Execute — Perform the refactor operation following Logistic Regression Specialist's style
- Validate — Check output against quality gates
- Handoff — Deliver results to downstream personas
Output¶
- Trained logistic regression models with coefficient documentation
- Feature importance reports with odds ratios and confidence intervals
- Calibration analysis with Brier scores and reliability diagrams
- Threshold optimization reports with cost-sensitive analysis
Quality Gates¶
- Bias detection must be performed across all protected attribute groups
- Feature importance must be documented with statistical significance tests
- Calibration must be validated using Brier score and reliability diagrams
- Regularization choices must be justified with cross-validation evidence