Technical case study
Weather Prediction Classification
An IBM course assignment compares several classification approaches on historical Australian weather observations.
Overview
This IBM machine learning assignment uses weather observations from Australian stations to predict the binary RainTomorrow target.
Problem
The weather observations combine numerical measurements with categorical features that need preprocessing.
Objective
Work through a complete supervised-learning comparison as part of the IBM coursework.
My approach
I prepared the features and target, trained the assignment’s estimators, and compared model predictions with common evaluation metrics.
Technology stack
- Python
- Pandas
- NumPy
- scikit-learn
- Jupyter
Architecture
-
Weather observations
Load historical Australian weather records.
-
Preprocessing
Prepare categorical and numerical fields for the estimators.
-
Training
Fit the coursework’s supervised-learning baselines.
-
Evaluation
Compare their predictions on the assignment split.
Key engineering decisions
- Compare linear, tree-based, neighbor-based, and margin-based approaches.
- Keep the course assignment attribution with the implementation and results.
Implementation details
- Prepare the RainTomorrow target and predictor columns.
- Compare logistic regression, KNN, decision tree, SVM, and the assignment’s linear regression baseline.
Results and limitations
The notebook documents an educational comparison. An operational forecasting system would need evaluation across time and locations.
Lessons learned
The train-test split matters as much as the algorithm when observations are associated with particular dates and places.