How berkgulay/weather-prediction-from-image works
Project type and purpose
• From the file tree and README, this is a machine-learning research project (“Weather Condition Prediction from Image”) implemented in Python.
• It focuses on extracting features from images, training several classifiers (Decision Tree, Random Forest, SVM, Convolutional Neural Network), persisting models, and then running inference (prediction) on new images.
File structure
• Top-level scripts:
• CNN_train.py & CNN_test.py – train/test routines for the CNN model
• DT_train.py, RF_train.py, SVM_train.py – training scripts for classical ML models
• predictImages.py – inference pipeline on new images
• Features.py & ImageDescriptor.py – feature-extraction modules
• tools.py – utility functions (e.g., I/O, common routines)
• modelsCNN/ – directory containing saved .h5 CNN model files organized by input size
• No web frontend or backend—this is a standalone data-science pipeline
README for additional insights
• The README clarifies the goal (predict weather condition from image), points to dataset links, and shows that multiple label types and feature-extraction methods are evaluated.
Detailed checklist for the principal software engineer
• [ ] Define all components and give them short, clear labels
• [ ] Group similar components (e.g., all training scripts) together visually
• [ ] Include technology annotations (e.g., “scikit-learn”, “Keras”) beside each model component
• [ ] Ensure model persistence layers (HDF5 vs pickle) are distinct and labeled
• [ ] Show end-to-end flow from dataset to final predictions