Duplicate records and target leakage inflate machine learning accuracy in electric vehicle charging energy prediction
Machine learning models trained on public electric vehicle (EV) charging records routinely report coefficients of determination above 0.95. We audited one such dataset, 148,136 records from a Colorado municipal network spanning 2018 to 2023, and traced most of that accuracy to the file rather than to the models. Of the 138,721 records that parse, only 77,045 are distinct sessions; the rest are exact duplicates masked by a sequential row identifier. Session duration, known only once a session has ended, is supplied as an input, and energy is charging power multiplied by time. A factorial design separates the two effects for the energy target. With both present, the held-out R 2 is 0.9705; removing duplicates alone leaves 0.8965, removing duration alone leaves 0.7151, and removing both leaves 0.1127, the best of ten regression models. Tuning does not change this. Expanding-window validation gives 0.8695 ± 0.0095 with both factors present and a skill score below 0.046 without them. Within one fitted model, test sessions whose records also appear in training score 0.9972 and the remainder 0.0356. Gasoline savings are a fixed 0.1255 multiple of energy and greenhouse gas savings a two-level multiple, 0.42 before 28 January 2021 and 0.71 after, so the three reported targets are a single measured quantity. The file records the session and the station but no vehicle or driver attributes, such as battery capacity, state of charge on arrival, charger power rating or a user identifier. Records of this form therefore describe when charging demand occurs, but they do not support prediction of the energy of an individual session. Daily demand at a station reaches R 2 = 0.53 under chronological validation, though a 28-day rolling mean is statistically indistinguishable from it (R 2 = 0.528).
Authors
- Biswaranjan Acharya (ORCID: https://orcid.org/0000-0002-6506-9207)
- Aleena Swetapadma (ORCID: https://orcid.org/0000-0001-8270-2927)
- Anamika Yadav (ORCID: https://orcid.org/0000-0001-7396-8926)
- Aliazar Deneke Deferisha
- Ashwani Sah
Institutions
- National Institute of Technology Raipur (IN)
- Arba Minch University (ET)
- Jagadguru Kripalu University (IN)
- KIIT University (IN)
Publication Details
- Journal
- Scientific Reports
- Published
- 2026-11-29
- DOI
- https://doi.org/10.1038/s41598-026-79166-x
- Primary Topic
- Electric Vehicles and Infrastructure
- Type
- article
- Field-Weighted Citation Impact
- 0.00