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.
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..