If you have experience with R or want a quick way to generate a regression with statsmodels using a pandas DataFrame, you can ...
TinyML is an incredibly powerful piece of software, and you can easily train your own model and deploy it on an ESP32.