# adriadescals/oil_palm_riau architecture

> Architecture diagram of the GitHub repository adriadescals/oil_palm_riau, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-19). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/adriadescals/oil_palm_riau
- Repository: https://github.com/adriadescals/oil_palm_riau

## Overview

This repository is a pair of Google Colab notebooks for assessing supervised oil-palm mapping in Riau using Sentinel-1 and Sentinel-2. One assesses Random Forest and feature selection; the other compares supervised models with sequential feature selection. Their documented workflow uses training data accessed through the Google Earth Engine API and evaluates mapping by oil-palm typology and age. The README establishes these capabilities, but no notebook source excerpts were available, so internal processing steps and specific data-flow details are not represented.

Main entry points: [`Assessment_of_Random_Forest_for_oil_palm_classification.ipynb`](https://github.com/adriadescals/oil_palm_riau/blob/master/Assessment_of_Random_Forest_for_oil_palm_classification.ipynb) (Random Forest assessment), [`Model_comparison_SFS_for_oil_palm_classification.ipynb`](https://github.com/adriadescals/oil_palm_riau/blob/master/Model_comparison_SFS_for_oil_palm_classification.ipynb) (Model comparison)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_inputs["Data sources"]
  node_sentinel[("Sentinel imagery")]
  node_gee["Google Earth Engine"]
  node_training[("Training points")]
end

subgraph group_analysis["Classification analysis"]
  node_rf["Random Forest assessment"]
  node_comparison["Model comparison"]
end

subgraph group_outcomes["Mapping outcomes"]
  node_mapping["Oil-palm mapping"]
  node_assessment["Suitability assessment"]
end

node_researcher(("Researcher"))

node_researcher -->|"runs notebook"| node_rf
node_researcher -->|"runs notebook"| node_comparison
node_gee -->|"provides points"| node_training
node_rf -->|"accesses training"| node_gee
node_comparison -->|"accesses training"| node_gee
node_sentinel -.->|"supports classification"| node_rf
node_sentinel -.->|"supports classification"| node_comparison
node_rf -->|"assesses mapping"| node_mapping
node_comparison -->|"compares mapping models"| node_mapping
node_mapping -->|"assessed by typology and age"| node_assessment

click node_rf "https://github.com/adriadescals/oil_palm_riau/blob/master/Assessment_of_Random_Forest_for_oil_palm_classification.ipynb"
click node_comparison "https://github.com/adriadescals/oil_palm_riau/blob/master/Model_comparison_SFS_for_oil_palm_classification.ipynb"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_sentinel,node_gee,node_training toneBlue
class node_rf,node_comparison toneAmber
class node_mapping,node_assessment toneMint
class node_researcher toneIndigo
```

## Components

### Data sources

- **Sentinel imagery**
- **Google Earth Engine**
- **Training points**

### Classification analysis

- [Random Forest assessment](https://github.com/adriadescals/oil_palm_riau/blob/master/Assessment_of_Random_Forest_for_oil_palm_classification.ipynb): `Assessment_of_Random_Forest_for_oil_palm_classification.ipynb`
- [Model comparison](https://github.com/adriadescals/oil_palm_riau/blob/master/Model_comparison_SFS_for_oil_palm_classification.ipynb): `Model_comparison_SFS_for_oil_palm_classification.ipynb`

### Mapping outcomes

- **Oil-palm mapping**
- **Suitability assessment**

### Other components

- **Researcher**

## Connections

- Researcher → Random Forest assessment: runs notebook (evidence: `README.md`)
- Researcher → Model comparison: runs notebook (evidence: `README.md`)
- Google Earth Engine → Training points: provides points (evidence: `README.md`)
- Random Forest assessment → Google Earth Engine: accesses training (evidence: `README.md`)
- Model comparison → Google Earth Engine: accesses training (evidence: `README.md`)
- Sentinel imagery → Random Forest assessment: supports classification
- Sentinel imagery → Model comparison: supports classification
- Random Forest assessment → Oil-palm mapping: assesses mapping (evidence: `README.md`)
- Model comparison → Oil-palm mapping: compares mapping models (evidence: `README.md`)
- Oil-palm mapping → Suitability assessment: assessed by typology and age (evidence: `README.md`)
