Preprint / Version 1

Forecasting Temperature Using AI Linear Models

By Vikram Kavalipati

##article.authors##

  • Vikram Kavalipati Senior at Mira Loma High School

DOI:

https://doi.org/10.58445/rars.517

Keywords:

Forecasting temperature, AI, Linear Regression

Abstract

Currently, weather forecasting is done primarily using traditional computer models. Artificial intelligence (AI) would allow predictions to be made much more easily with far less effort. However, AI weather models are still less accurate than traditional computer models. The goal of this project is to explore the possibility of using artificial intelligence in forecasting and to gain an understanding of its potential and limitations while creating an accurate weather forecast. The models use a 70 MB dataset that is in JSON format. The dataset includes a variety of factors including min and max temperature, wind speed and direction, air pressure, and precipitation for more than 50 years. This paper uses a wide variety of regression models to forecast the next day’s temperature for Roseville, CA, including Linear Regression, Ridge Regression, Lasso, etc. Linear regression was consistently the best-performing model, with a mean absolute error of 2.29 degrees, suggesting that even simple linear models can produce weather forecasts that are generally close to the correct value. 

 

References

Blumensath, Thomas. “On the Difference between Orthogonal Matching Pursuit and Orthogonal ...” IEEE, 2007, eprints.soton.ac.uk/142469/1/BDOMPvsOLS07.pdf.

Efron, Bradley. “407 - Donuts Inc..” Stanford, 2004, tibshirani.su.domains/ftp/lars.pdf.

Hastie, Trevor. An Introduction to Statistical Learning, 2021, hastie.su.domains/ISLR2/ISLRv2_website.pdf.

“Numerical Weather Prediction (Weather Models) - National Weather Service.” National Weather Service, www.weather.gov/media/ajk/brochures/NumericalWeatherPrediction.pdf. Accessed 17 Sept. 2023.

Visual Crossing API- https://www.visualcrossing.com/weather-data

Wieringen, Wessel. “Lecture Notes on Ridge Regression.” Arxiv, 2023, arxiv.org/pdf/1509.09169.pdf.

Downloads

Posted

2023-10-01