Anomaly detection on ESP32 with 24 bytes of RAM — no cloud, no malloc
The core idea: Welford's online algorithm The standard way to compute mean and standard deviation requires storing all samples first, then doing two passes. That's fine in Python. On a microcontroller with 320 KB of RAM, it's a non-starter. John Welford solved this in 1962. His algorithm maintains
ORIGINAL SOURCE →via Dev.to
ADVERTISEMENT
⚡ STAY AHEAD
Events like this, convergence-verified across 689 sources, land in your inbox every Sunday. Free.
GET THE SUNDAY BRIEFING →RELATED · conflict
- [CONFLICT] Intermodal Asia
- [CONFLICT] Securing the Untrusted Agentic Development Layer
- [CONFLICT] 24 ilde "siber suç" operasyonu… 127 kişi tutuklandı
- [CONFLICT] Nurselen'in cinayet zanlısına haksız tahrik indirimi talebi
- [CONFLICT] Kayseri’nin yüksek kesimleri beyaza büründü
- [CONFLICT] Hamzabeyli Sınır Kapısı'nda askeri araç duvara çarptı; 2 asker yaralı