Data & AI · 2026
Eleições SP 2024 (IA)
Educational multinomial logistic-regression app on fictitious data: dashboard, model evaluation, simulator and downloads. Not an election forecast.
1 / 4
About the project
A college assignment turned into a teaching data app. The original model was trained on 100 randomly generated voters; the page says so everywhere and shows what a model learns when the data is random: 16.7% test accuracy, below chance.
It has a dataset dashboard, confusion matrix, per-candidate ROC curves, probability maps and a simulator showing each variable’s contribution to the logit. While reviewing the code I fixed a class-label bug in the original. A separate box shows the real 2024 result (TSE) as context only.
Highlights
- In-browser softmax inference identical to scikit-learn
- Class-label bug found and fixed
- Clear notices: fictitious data, not a forecast
- Dashboard, ROC, probability maps and simulator



