flowchart TB
subgraph Day1["Day 1: Foundations"]
A1[Python for Geospatial]
A2[Google Earth Engine]
A3[Data Preprocessing]
end
subgraph Day2["Day 2: Machine Learning"]
B1[Random Forest]
B2[CNNs Introduction]
B3[Land Cover Classification]
end
subgraph Day3["Day 3: Deep Learning"]
C1[U-Net Segmentation]
C2[Flood Mapping]
C3[Object Detection]
end
subgraph Day4["Day 4: Advanced Topics"]
D1[LSTMs]
D2[Foundation Models]
D3[XAI]
end
Day1 --> Day2
Day2 --> Day3
Day3 --> Day4
style Day1 fill:#e8f5e9
style Day2 fill:#e1f5ff
style Day3 fill:#fff4e1
style Day4 fill:#f3e5f5
Session 4: Synthesis, Q&A, and Pathway to Continued Learning
Bringing It All Together: From Basics to Operational AI for Philippine Earth Observation
Session 4: Course Synthesis & Your Next Steps
Consolidating 4 Days of Learning into Actionable Skills
From Python basics to foundation models - your journey to operational AI for Philippine Earth Observation
Session Overview
This final 2-hour session brings together everything you’ve learned across all four days. We’ll synthesize key AI/ML techniques, discuss best practices for operational deployment in Philippine agencies, point you to Philippine EO platforms and resources for continued learning, and help you plan your next steps.
By the end of this session, you will be able to:
- Synthesize all AI/ML techniques learned across 4 days
- Map techniques to your agency’s priority use cases
- Apply best practices for model deployment
- Find Philippine EO data platforms and further learning resources
- Share your work and learn with peers
- Plan your next steps and projects
Presentation Slides
Session Details
Duration: 2 hours (120 minutes) | Format: Interactive Discussion + Q&A | Difficulty: Synthesis
Prerequisites: - Completion of Days 1-4 - Reflection on your agency’s use cases - Questions prepared for Q&A
Part 1: 4-Day Journey Recap (25 minutes)
The AI/ML Landscape We’ve Covered
Day-by-Day Synthesis
Day 1: Building the Foundation 🏗️
Core Skills: - Copernicus Sentinel-1 (SAR) and Sentinel-2 (optical) data - AI/ML fundamentals - Python for geospatial data (GeoPandas, Rasterio) - Google Earth Engine for satellite data access - Philippine EO ecosystem (PhilSA, NAMRIA, PAGASA)
Key Insight: Data preparation takes most of the effort in any EO AI project
Day 2: Machine Learning Fundamentals 🌳
Techniques Covered: - Random Forest for land cover classification (Palawan case study) - CNNs for automated feature extraction - Transfer learning from pre-trained networks
Key Insight: Random Forest still relevant - don’t always jump to deep learning
Philippine Applications: - NAMRIA land cover mapping - DENR forest classification - DA agricultural monitoring
Day 3: Deep Learning for Spatial Tasks 🗺️
Techniques Covered: - U-Net for semantic segmentation - Sentinel-1 flood mapping (Central Luzon) - Pixel-wise classification - Object Detection - Metro Manila settlement detection
Key Insight: Deep learning shines with complex spatial patterns and enough labelled data
Philippine Applications: - NDRRMC rapid flood assessment - PhilSA urban growth monitoring - DENR mangrove mapping
Day 4: Time Series & Emerging Trends 🚀
Techniques Covered: - LSTMs for temporal forecasting (Keras and PyTorch) - Mindanao NDVI / drought forecasting - Foundation Models (Prithvi-EO-2.0, Clay, TerraMind) and embedding datasets (Satellite Embedding, Tessera, OlmoEarth) - Fewer labels needed; validate locally - Self-Supervised Learning - Learn from unlabelled data - Explainable AI (SHAP, LIME, Grad-CAM, Integrated Gradients)
Key Insight: Pre-trained models and embeddings lower the entry cost; simple baselines and local validation keep you honest
Philippine Applications: - PAGASA seasonal forecasting - DA crop yield prediction - Multi-hazard monitoring
Technique Selection Matrix
Question 1: What’s your prediction goal?
A. Single label per image → Image Classification - Small dataset (<1K): transfer learning, a foundation model, or a classifier on embeddings - Large dataset (>5K): train a CNN or fine-tune a foundation model
B. Pixel-wise labels → Semantic Segmentation - Best: U-Net or fine-tuned foundation model - Applications: Flood extent, land cover, vegetation
C. Bounding boxes → Object Detection - Use: YOLO, SSD, or DETR - Applications: Buildings, vehicles, ships
D. Time series → Sequence Modeling - Start with simple baselines (persistence, seasonal), then LSTM or Transformer - Applications: Drought, crop phenology, change detection
E. Tabular features → Traditional ML - Best: Random Forest or XGBoost - Advantages: Interpretable, fast
Question 2: How much labeled data?
- Very few (tens to hundreds): embeddings + Random Forest, or foundation-model fine-tuning
- Hundreds to a few thousand: transfer learning + augmentation, or traditional ML on good features
- Many thousands or more: full deep learning becomes realistic
These ranges are rules of thumb; always test on your own data.
Question 3: Need to explain predictions?
- Yes (high-stakes): Use XAI or simpler models
- No (research only): Any model
Part 2: Best Practices for Operational Deployment (30 minutes)
The Data-Centric AI Mindset
Traditional (Model-Centric): - Get any data → focus on model architecture → tune hyperparameters - Result: Marginal gains, high effort
Data-Centric Approach: - Systematically improve data quality → fix labeling errors → representative sampling - Result: Larger gains, sustainable performance
Before spending hours tuning a model:
- Inspect a sample of the training data and the model’s errors
- Look for:
- Labelling inconsistencies
- Missing edge cases
- Class imbalance
- Regional bias (e.g., all samples from Luzon)
- Fix data issues first
- Then improve the model
In EO projects, relabelling a few confusing samples or adding examples from an under-represented region often helps more than a new architecture.
Validation Strategy Best Practices
1. Temporal Validation for Time Series
# WRONG: Random split (data leakage!)
train_test_split(X, y, test_size=0.2, random_state=42)
# RIGHT: Temporal split
train_end = '2020-12-31'
X_train = X[X.index <= train_end]
X_test = X[X.index > train_end]2. Spatial Cross-Validation - Train on Luzon → Test on Visayas/Mindanao - Ensures model generalizes to unseen locations
3. Stratified Sampling - Proportional class representation - Diverse geographic locations - Seasonal variations included
Handling Class Imbalance
Problem: 95% non-flood, 5% flood pixels → Model predicts all non-flood → 95% accuracy but useless!
Solutions:
1. Weighted Loss
# Keras: pass class weights to fit(), not compile()
class_weights = {0: 1.0, 1: 19.0} # non-flood : flood (inverse of class frequency)
model.fit(X_train, y_train, class_weight=class_weights, epochs=20)
# PyTorch: weight the loss directly
criterion = torch.nn.CrossEntropyLoss(weight=torch.tensor([1.0, 19.0]))2. Oversampling/Undersampling - Oversample minority (flood) - Undersample majority (non-flood) - SMOTE (synthetic samples) for tabular features
3. Better Metrics - Use F1-score, IoU, precision/recall - Focus on minority class performance
Deployment Checklist
Data Preparation: - [ ] Training data cleaned and verified - [ ] Validation strategy appropriate (temporal/spatial) - [ ] Test set represents deployment conditions - [ ] Class balance addressed
Model Development: - [ ] Baseline model established - [ ] Hyperparameter tuning completed - [ ] Multiple architectures compared - [ ] Model size appropriate for hardware
Validation: - [ ] Cross-validation performed - [ ] Test metrics meet requirements - [ ] Error analysis completed - [ ] Edge cases identified - [ ] XAI techniques applied
Operationalization: - [ ] Inference time acceptable - [ ] GPU/CPU requirements documented - [ ] API wrapper created - [ ] Monitoring dashboard set up - [ ] Retraining pipeline established
Stakeholder Communication: - [ ] Model limitations clearly stated - [ ] Uncertainty quantification provided - [ ] Explainability examples prepared - [ ] User training conducted - [ ] Feedback mechanism established
Model Monitoring & Maintenance
Models degrade over time due to: - Concept drift: Patterns change (climate change, urbanization) - Data drift: Input distribution shifts (new sensor, preprocessing) - Label drift: Definition changes (taxonomy update)
Solution: Continuous Monitoring
def monitor_model_performance():
current_metrics = evaluate_on_latest_data()
if current_metrics['accuracy'] < baseline - 0.05:
alert_team("Model performance degraded!")
trigger_retraining()
log_metrics(current_metrics)Retraining Schedule: - Disaster models: After each major event - Agricultural models: Quarterly (seasonal shifts) - Land cover models: Annually (gradual changes)
Part 3: Philippine EO Platforms & Resources (20 minutes)
This course’s materials
All slides, notebooks and sample data from this course stay openly available at anefelo.github.io/eo-ai-ml-training (licence CC BY-SA 4.0). The notebooks open directly in Google Colab.
Philippine Copernicus infrastructure
- CopPhil Infrastructure: the Philippines’ Copernicus mirror site, hosted at PhilSA. Sentinel data over the Philippines served from local servers, with a data explorer, hosted JupyterLab and S3 access (free registration)
- CopPhil Digital Campus: an online learning platform with self-paced EO courses that complement this one
Philippine EO AI Ecosystem
1. SkAI-Pinas (DOST-ASTI) - National AI programme for remote sensing and other data - DIMER: model repository (share and reuse AI models) - AIPI: AI processing interface for running models without heavy coding
2. DOST-ASTI DATOS - Remote sensing and data science help desk producing flood, crop and land-cover maps
3. PhilSA Space+ Data Dashboard - Public platform for satellite-derived datasets and maps (overview)
4. NAMRIA Geoportal - Basemaps, boundaries and land cover
5. PAGASA climate services - Climate monitoring, seasonal outlooks, El Niño/La Niña advisories
External Resources
Foundation models and embeddings: - Prithvi: huggingface.co/ibm-nasa-geospatial - TerraMind: huggingface.co/ibm-esa-geospatial - Clay: github.com/Clay-foundation/model - Satellite Embedding: Earth Engine tutorials
Learning platforms: - Google Earth Engine: earthengine.google.com - EO College (free EO courses) - TensorFlow: tensorflow.org/tutorials - PyTorch: pytorch.org/tutorials - fast.ai: course.fast.ai
Part 4: Learning with Others (15 minutes)
Why community matters
Challenges of solo work: - Reinventing the wheel - Limited feedback - Difficulty staying current
Benefits of learning with peers: - Knowledge sharing and code review - Collaboration across agencies - Shared datasets and labels
Practical ways to keep going
- Form a small study group with colleagues from this course; meet regularly to review each other’s notebooks
- Pick one shared project (for example a provincial land-cover or flood map) and divide the labelling
- Follow and contribute to open-source EO tools (TorchGeo, TerraTorch, geemap)
- Present results internally and at Philippine EO events
How to Contribute
Share Your Work: - Share models through DIMER - Write tutorials - Present at events - Publish case studies
Help Others: - Review code - Mentor newcomers - Organize study groups
Improve Resources: - Report issues - Suggest new topics - Contribute to open-source - Translate documentation
Advocate: - Promote EO AI in your agency - Encourage open data policies - Support capacity building - Bridge technical and policy communities
Part 5: Your Next Steps & Action Plan (20 minutes)
Immediate Actions (This Week)
1. Reflect on Your Learning - Which technique fits your agency’s needs? - What project could you start with? - What resources do you need?
2. Set Up Environment - Make sure you can run the course notebooks in Google Colab - Register a Google Cloud project for Earth Engine (non-commercial use) - Register for the CopPhil Infrastructure and explore the CopPhil Digital Campus - Bookmark this course site
3. Start Small - Pick ONE simple project - Use existing notebooks as templates - Don’t aim for perfection - iterate!
Short-Term Goals (Next 3 Months)
Month 1: Proof of Concept - Select well-defined problem - Gather/access data - Implement baseline model - Document lessons learned
Month 2: Refinement - Address data quality issues - Try alternative approaches - Validate on multiple regions - Present to colleagues
Month 3: Mini-Deployment - Operationalize on pilot area - Create simple web app/report - Train end-users - Establish monitoring
Project Ideas by Agency
Disaster Risk Reduction: - Real-time flood mapping (Sentinel-1) - Post-disaster damage assessment - Typhoon risk prediction - Landslide susceptibility updates
Agriculture: - Rice crop calendar monitoring - Drought early warning - Pest/disease outbreak detection - Crop type classification
Environment: - Forest cover change detection - Mangrove health monitoring - Mining activity surveillance - Protected area alerts
Urban Planning: - Informal settlement tracking - Urban heat island analysis - Traffic congestion monitoring - Building permit compliance
Water Resources: - Reservoir level monitoring - Irrigation assessment - Water quality proxies - Watershed mapping
Part 6: Open Q&A Session (10 minutes)
Common Questions
Q: “I don’t have GPU access. Can I still do deep learning?”
A: Yes! Strategies: - Google Colab (free GPU tier, with usage limits) - Smaller models and patches - Pre-trained models and embeddings (little or no training) - DOST-ASTI COARE high-performance computing for research use - University partnerships and cloud education credits
Q: “How do I get more labeled data cheaply?”
A: Multiple approaches: - Crowdsourcing (students as annotators) - Semi-supervised learning - Active learning - Transfer learning - Synthetic data generation - Inter-agency data sharing
Q: “Our internet is slow. How to access large datasets?”
A: Workarounds: - CopPhil Infrastructure: Sentinel data hosted in the Philippines, with JupyterLab next to the data - Process in the cloud (GEE), download only results - Use embedding datasets instead of raw imagery where possible - Pre-download during off-peak hours - Focus on smaller AOIs initially
Q: “How to convince management to invest?”
A: Build business case: - Start with low-cost proof-of-concept - Quantify benefits (time/cost saved) - Show examples from other agencies - Link to your agency’s mandate and plans - Propose phased approach with milestones
Q: “What if my model doesn’t perform well?”
A: Systematic debugging: 1. Check data first (labels, balance, diversity) 2. Verify preprocessing (normalization, no leakage) 3. Simplify model (start with baseline) 4. Analyze errors (where/why fails?) 5. Try different approach 6. Ask community for help
Part 7: Course Conclusion (5 minutes)
What You’ve Achieved
In 4 days, you have: - ✅ Used Python for geospatial analysis - ✅ Accessed Sentinel data with Google Earth Engine - ✅ Trained ML models (RF, CNN, U-Net, object detection, LSTM) - ✅ Applied them to Philippine DRR, CCA and NRM challenges - ✅ Explored foundation models, embeddings and XAI - ✅ Built end-to-end workflows you can adapt
You can now: - Propose and lead EO AI projects - Critically evaluate AI/ML solutions - Contribute to Philippine EO community - Continue learning independently
The Road Ahead
Remember: - Start small, iterate often - Focus on data quality - Explain your models (XAI builds trust) - Collaborate actively - Stay curious (AI evolves rapidly)
This training is the beginning of your journey as an EO AI practitioner.
The Philippines needs you: - To harness satellite data for disaster resilience - To support sustainable agriculture - To protect natural resources - To plan climate-adapted cities
You now have the skills to make an impact.
Start small, validate locally, and share what you learn. 🚀🇵🇭
Course Feedback
Feedback, corrections and questions are welcome by email: dimitris@anefelo.com
Useful to hear: - What worked well? - What needs improvement? - Topics to add or remove? - Pace and difficulty?
Final Reflection
Write down:
- One technique you’ll apply first
- One challenge you anticipate and how to address it
- One person you’ll collaborate with or mentor
- One goal for 3 months from now
Share with a peer if comfortable.
Closing Remarks
Congratulations! 🎉
You’ve completed the 4-Day Training on AI/ML for Earth Observation.
What matters now is what you do next.
Take what you’ve learned, adapt it to your context, share with colleagues, and contribute to the community. Together, we’re building a more resilient, sustainable, and data-informed Philippines.
Mabuhay ang Philippine EO AI community! 🇵🇭🛰️🤖
Stay connected: - 🌐 Course site: anefelo.github.io/eo-ai-ml-training - 📧 dimitris@anefelo.com
Thank you for your dedication!
— Dimitrios Kasampalis
This session concludes Day 4: Time Series Analysis, Emerging Trends, and Sustainable Learning - 4-Day Training on AI/ML for Earth Observation.