
Predicting the 2026 House Midterms with Machine Learning
Compared logistic regression and random forest on 3,660 district-elections (2004–2024). Logistic regression achieved 97.3% accuracy on the 2024 test; the 2026 forecast covers 262 districts and examines uncertainty in competitive races.
- Python
- scikit-learn
- Data









