TGViewer
C++ - Reddit C++ - Reddit @r_cpp · 230 subscribers
Post #24962 19
Amidst the LLM craze, does anyone still care about old machine learning algorithms?

I've built my own framework that allows embedding, quantization, and self-retraining on microcontrollers using C++ from scratch, currently mainly for tree-based model families (like Random Forest, xgboost...). It can compress and train the entire MNIST dataset of 70,000 images on ESP32 with only 3MB of RAM while still achieving an accuracy of up to \~94% across 10 classes (models size about 600 KB of RAM). This is intended to help the model adapt without having to reload the code into the microcontroller.

Everything is here, including source code, demo, and documentation: https://github.com/viettran-edgeAI/MCU

Although it's designed to handle tabular data, I chose to demo it with a simple computer vision application for visualization.

I spent a lot of time on this project, it didn't rely heavily on AI, and I can explain every line of code. I'm open to discussing anything. I hope everyone can provide some feedback or suggestions. In my country, it seems like now they only care about LLMs; every paper tries to cram LLMs in and they don’t care about these older algorithms anymore—they just brush them aside.

https://redd.it/1skdyr7
@r_cpp
GitHub GitHub - viettran-edgeAI/MCU: Library Toolkit for Microcontrollers Library Toolkit for Microcontrollers. Contribute to viettran-edgeAI/MCU development by creating an account on GitHub.
More from @r_cpp
  1. Oct 6, 2026==2896379== logger no timeout configured, using default 1000 ms ==2896379== ==2896379== HE…
  2. Oct 6, 2026No, -Wall -Werror Does Not Guarantee Detection of Conditionally Uninitialized Local Variab…
  3. Oct 6, 2026C++20 modules support: 228 projects already available to be consumed Hello everyone. I che…
  4. Oct 6, 2026operator<>: A Dream of Higher-order Metaprogramming Parity https://www.elbeno.com/blog/?p=…
  5. Oct 6, 2026University of Waterloo user study on understanding CMake changes Hi everyone, I’m Mattie N…
  6. Oct 6, 2026Try to Implement Reflection Annotations in C++20 https://typecombinator.github.io/en/posts…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →