# brmuloot/actemium architecture

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

- Interactive diagram: https://gitdiagram.com/brmuloot/actemium
- Repository: https://github.com/brmuloot/actemium

## Overview

Actemium is a notebook-based time-series forecasting project for predicting the WADI reservoir level 1_LT_001_PV. Its documented workflow starts with CSV exploration, then prepares minute-indexed features and temporal splits before comparing a persistence baseline with machine-learning and deep-learning models. Evaluation compares predictions with the test data; SHAP interprets the best ML model, and findings are reported in text and slides. The README documents these relationships, but no notebook source excerpts were provided, so implementation details within the notebooks are not inferred.

Main entry points: [`README.md`](https://github.com/brmuloot/actemium/blob/main/README.md) (Model evaluation), [`preprocessing.ipynb`](https://github.com/brmuloot/actemium/blob/main/preprocessing.ipynb) (Feature preprocessing), [`modeles_ml.ipynb`](https://github.com/brmuloot/actemium/blob/main/modeles_ml.ipynb) (ML forecasting), [`exploration_data.ipynb`](https://github.com/brmuloot/actemium/blob/main/exploration_data.ipynb) (Data exploration)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_data["Data preparation"]
  node_eda["Data exploration"]
  node_prep["Feature preprocessing"]
end

subgraph group_forecast["Forecast models"]
  node_baseline["Persistence baseline<br/>[baseline.ipynb]"]
  node_ml["ML forecasting<br/>[modeles_ml.ipynb]"]
  node_dl["Deep learning<br/>[modeles_dl.ipynb]"]
end

subgraph group_insights["Evaluation and insights"]
  node_evaluation["Model evaluation<br/>[README.md]"]
  node_shap["SHAP analysis<br/>[analyse_shap.ipynb]"]
end

subgraph group_outputs["Project outputs"]
  node_report["Written report<br/>[rapport.txt]"]
  node_slides["Presentation slides"]
end

node_csv["WADI CSV"]

node_csv -->|"explores"| node_eda
node_eda -->|"informs"| node_prep
node_prep -->|"prepares data"| node_baseline
node_prep -->|"prepares data"| node_ml
node_prep -->|"prepares data"| node_dl
node_baseline -->|"provides reference"| node_evaluation
node_ml -->|"compared in"| node_evaluation
node_dl -->|"compared in"| node_evaluation
node_ml -->|"interprets best model"| node_shap
node_evaluation -->|"results reported"| node_report
node_shap -.->|"findings reported"| node_report
node_evaluation -.->|"results presented"| node_slides

click node_eda "https://github.com/brmuloot/actemium/blob/main/exploration_data.ipynb"
click node_prep "https://github.com/brmuloot/actemium/blob/main/preprocessing.ipynb"
click node_baseline "https://github.com/brmuloot/actemium/blob/main/baseline.ipynb"
click node_ml "https://github.com/brmuloot/actemium/blob/main/modeles_ml.ipynb"
click node_dl "https://github.com/brmuloot/actemium/blob/main/modeles_dl.ipynb"
click node_evaluation "https://github.com/brmuloot/actemium/blob/main/README.md"
click node_shap "https://github.com/brmuloot/actemium/blob/main/analyse_shap.ipynb"
click node_report "https://github.com/brmuloot/actemium/blob/main/rapport.txt"
click node_slides "https://github.com/brmuloot/actemium/blob/main/presentation_wadi.pptx"

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_eda,node_prep toneBlue
class node_baseline,node_ml,node_dl toneAmber
class node_evaluation,node_shap toneMint
class node_report,node_slides toneRose
class node_csv toneIndigo
```

## Components

### Data preparation

- [Data exploration](https://github.com/brmuloot/actemium/blob/main/exploration_data.ipynb): `exploration_data.ipynb`
- [Feature preprocessing](https://github.com/brmuloot/actemium/blob/main/preprocessing.ipynb): `preprocessing.ipynb`

### Forecast models

- [Persistence baseline](https://github.com/brmuloot/actemium/blob/main/baseline.ipynb): `baseline.ipynb`
- [ML forecasting](https://github.com/brmuloot/actemium/blob/main/modeles_ml.ipynb): `modeles_ml.ipynb`
- [Deep learning](https://github.com/brmuloot/actemium/blob/main/modeles_dl.ipynb): `modeles_dl.ipynb`

### Evaluation and insights

- [Model evaluation](https://github.com/brmuloot/actemium/blob/main/README.md): `README.md`
- [SHAP analysis](https://github.com/brmuloot/actemium/blob/main/analyse_shap.ipynb): `analyse_shap.ipynb`

### Project outputs

- [Written report](https://github.com/brmuloot/actemium/blob/main/rapport.txt): `rapport.txt`
- [Presentation slides](https://github.com/brmuloot/actemium/blob/main/presentation_wadi.pptx): `presentation_wadi.pptx`

### Other components

- **WADI CSV**

## Connections

- WADI CSV → Data exploration: explores (evidence: `README.md`)
- Data exploration → Feature preprocessing: informs (evidence: `README.md`)
- Feature preprocessing → Persistence baseline: prepares data (evidence: `README.md`)
- Feature preprocessing → ML forecasting: prepares data (evidence: `README.md`)
- Feature preprocessing → Deep learning: prepares data (evidence: `README.md`)
- Persistence baseline → Model evaluation: provides reference (evidence: `README.md`)
- ML forecasting → Model evaluation: compared in (evidence: `README.md`)
- Deep learning → Model evaluation: compared in (evidence: `README.md`)
- ML forecasting → SHAP analysis: interprets best model (evidence: `README.md`)
- Model evaluation → Written report: results reported (evidence: `README.md`)
- SHAP analysis → Written report: findings reported
- Model evaluation → Presentation slides: results presented
