Rainfall Classification Using Temperature and Precipitation Metrics: A MATLAB Implementation
American International Theism University Scientific Research Journal · 2026 · 5 (1)
DOI: 10.63094/aitusrj.26.5.1.3 ↗Kurz gefasst
Fachartikel in der Zeitschrift American International Theism University Scientific Research Journal, 2026. Verfasst von Adil Khursheed und 3 weiteren Autor:innen.
Abstract (Originalsprache)
This study explores a data-driven prediction of rainfall through binary classification models trained by historical weather data in Seattle, Washington. Using a dataset covering the period 1948 to 2017, this study employs three meteorological values namely precipitation (PRCP), maximum temperature (TMAX), and minimum temperature (TMIN) to formulate and assess predictive models in MATLAB. Four algorithms of machine learning are evaluated as follows: Decision Tree, Logistic Regression, K Nearest Neighbors (KNN), and Linear Discriminant Analysis. These well generalized models are the Decision Tree model and Logistic Regression model that had perfect classification accuracy when tested and zero misclassification cost. The study also uses LIME (Local Interpretable Model-Agnostic Explanations) to visualize feature contributions, further verifying that precipitation was the most important predictor. The findings indicate that viable rainfall forecasting can be effected with little input, as is the case with the models, which can also be used to provide predictive solutions in resource constrained implementations like civic development or smart farming practices. Although such a finding is promising, the article does not overlook these limitations including the limitation to collect other weather variables and the exclusion of external validation.
Zitieren
APA
Khursheed, A., Hasham, I., Khan, M. W., & Hussaini, S. U. (2026). Rainfall Classification Using Temperature and Precipitation Metrics: A MATLAB Implementation. American International Theism University Scientific Research Journal, 5(1). https://doi.org/10.63094/aitusrj.26.5.1.3
Vancouver
Khursheed A, Hasham I, Khan MW, Hussaini SU. Rainfall Classification Using Temperature and Precipitation Metrics: A MATLAB Implementation. American International Theism University Scientific Research Journal. 2026;5(1). doi:10.63094/aitusrj.26.5.1.3
BibTeX
@article{Khursheed2026,
author = {Khursheed, Adil and Hasham, Irteza and Khan, Muhammad Waqar and Hussaini, Syed Umarullah},
title = {Rainfall Classification Using Temperature and Precipitation Metrics: A MATLAB Implementation},
journal = {American International Theism University Scientific Research Journal},
year = {2026},
volume = {5},
number = {1},
doi = {10.63094/aitusrj.26.5.1.3}
}
EUVIMED