Renuel Roberts
DIIDevHeads IoT Integration Server
•Created by Renuel Roberts on 12/18/2024 in #📡-edge-networking
Resolving Unrealistic Weather Predictions in MicroPython Linear Regression Model on Raspberry Pi Pic
While implementing a networked weather station on the Raspberry Pi Pico W using MicroPython, I encountered an unexpected result in the predicted temperature and weather classification. The code is supposed to fetch real-time weather data and use a simple linear regression model to predict the next hour’s weather, but the output prediction is producing unrealistic temperature values like negative temperatures in tropical regions.
Here is the relevant portion of my code:
13 replies