๐ค๏ธ WeatherPrediction
WeatherPrediction is a weather forecasting app powered by machine learning that predicts temperatures for Global and London locations. The app predicts the average temperature between the maximum and minimum values for a given day.
๐ Global: Predicts the average global temperature for a specific date.
๐๏ธ London: Predicts the average temperature within London for the selected date.
You can access the app here: WeatherPrediction App
๐ค Machine Learning Model
Algorithm:
Multivariate Polynomial Regression
Global Model Accuracy: 90% (Error rate: 12%)
London Model Accuracy: 72% (Error rate: 26%)

For more details, check out the Jupyter Notebook GitHub Repository.
๐ ๏ธ Tech Stack

Frontend:
Languages: JavaScript, CSS, HTML
Frameworks: React, Bootstrap
Web Technologies:
Pyodide & WebAssembly - Allows running Python and ML libraries natively in the browser.
Machine Learning:
Python & Scikit-learn - Robust libraries for machine learning.
๐ ML Model Integration
The machine learning model is integrated into the app using Pyodide (a Python interpreter for the browser) and WebAssembly. This combination allows the app to run the model with native capabilities directly in the browser.
The integration flow includes:
Web-worker loads Pyodide and required Python libraries.
The selected date is passed to either the Global or London temperature prediction model.

How it works:
Web-worker: Communicates between the frontend and the ML backend.
It processes:
Loading Pyodide
Passing the selected date for Global or London temperature predictions..

0 likes ยท 9 views ยท Jan 18, 2025
WeatherPrediction is a Python ML app that forecasts daily temperatures using regression, compiled to WebAssembly for use in browsers and React Native.
Timeline
Dec 11, 2024 - Mar 20, 2025