Machine Learning-based Weather Prediction: A Comparative Study of Regression and Classification Algorithms