ZoneTwelve's picture
Update the dataset README.
9cbd7b2
---
datasets:
- ZoneTwelve/Thermal-Heatmap-Source-Localization
tags:
- benchmark
- heatmap
- physics
- source-localization
- synthetic
license: apache-2.0
pretty_name: Thermal Heatmap Source Localization (ThermBench)
---
# ThermBench πŸ”₯ β€” Thermal Heatmap Source Localization Benchmark
## πŸ“ Summary
**ThermBench** is a physics-inspired **synthetic dataset** designed to evaluate algorithms that infer **hidden thermal sources** from an observed **heat diffusion map**.
Each data sample contains:
- an **observed heatmap** (matrix of values),
- and the **ground-truth sources**: `(row, col, intensity)`.
Diffusion follows inverse Manhattan distance:
\[
H(i,j) \;=\; \sum_{s=1}^{K} \frac{I_s}{d(i,j,s)+1}
\]
where \(d\) is the Manhattan distance to source \(s\).
---
## πŸ“Š Dataset Structure
- **level**: Difficulty tier (`very_easy`, `easy`, `medium`, `hard`, `extreme`)
- **input_text**: Heatmap formatted as:
```
N M
K
<N rows of values>
```
- **output_text**: True source positions and intensities in format:
```
row col intensity
```
### Example
```json
{
"level": "easy",
"input_text": "5 5\n2\n10 8 6 5 4\n8 10 7 6 5\n6 7 10 7 6\n5 6 7 10 8\n4 5 6 8 10",
"output_text": "1 1 10.0\n5 5 10.0"
}
```
---
## πŸš€ Usage
```python
from datasets import load_dataset
dataset = load_dataset(
"ZoneTwelve/Thermal-Heatmap-Source-Localization",
split="train"
)
print(dataset[0])
```
---
## 🎚 Difficulty Levels
- **very_easy** β†’ 3Γ—3 grid, 1 source
- **easy** β†’ 5Γ—5 grid, 2 sources
- **medium** β†’ 10Γ—10 grid, 3 sources
- **hard** β†’ 20Γ—20 grid, 5 sources
- **extreme** β†’ 30Γ—30 grid, 7 sources
Each level contains 100 samples β†’ **500 total**.
A fuzzy extension of ThermBench introduces noise, intensity jitter, and rounding differences to simulate real‑world sensor readings.
---
## πŸ”§ Intended Applications
- Benchmarking **inverse problem solvers**
- Robustness studies for optimization/AI
- Educational resource for algorithm development
---
## πŸ“œ License
Apache License 2.0 Β© ZoneTwelve