ZoneTwelve commited on
Commit
9cbd7b2
·
1 Parent(s): 2816316

Update the dataset README.

Browse files
Files changed (1) hide show
  1. README.md +64 -37
README.md CHANGED
@@ -1,67 +1,94 @@
1
  ---
2
- license: apache-2.0
3
  datasets:
4
- - thermbench
5
  tags:
6
  - benchmark
7
  - heatmap
 
8
  - source-localization
9
- - synthetic-data
10
- pretty_name: ThermBench
 
11
  ---
12
 
13
- # ThermBench 🔥: Heat Source Localization Benchmark
 
 
 
14
 
15
- ## Summary
16
- **ThermBench** is a synthetic benchmark dataset for evaluating algorithms that infer hidden **heat sources** from a **2D heatmap**.
17
- Each sample consists of an observed grid (matrix of thermal intensities) and the true underlying source positions and strengths.
18
- The diffusion rule is based on inverse Manhattan distance:
 
19
 
20
  \[
21
- H(i,j) \;=\; \sum_{s=1}^K \frac{I_s}{d_{s,(i,j)}+1}
22
  \]
23
 
24
- where \(I_s\) is the source intensity and \(d\) is the Manhattan distance from source \(s\) to grid cell \((i,j)\).
25
 
26
- ## Dataset Structure
27
- - **`input_text`**: Heatmap input following problem format:
28
- - First line: grid size `N M`
29
- - Second line: number of sources `K`
30
- - Then `N` rows of grid heat values
31
- - **`output_text`**: Ground-truth sources (row, col, intensity)
32
- - **`level`**: Difficulty tier (`very_easy`, `easy`, `medium`, `hard`, `extreme`)
33
 
34
- Example:
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  ```json
36
  {
37
  "level": "easy",
38
- "input_text": "5 5\n2\n10 8 6 5 4\n8 10 7 6 5\n...",
39
  "output_text": "1 1 10.0\n5 5 10.0"
40
  }
41
  ```
42
 
43
- ## Difficulty Levels
44
- - `very_easy`: 3×3 grid, 1 source
45
- - `easy`: 5×5 grid, 2 sources
46
- - `medium`: 10×10 grid, 3 sources
47
- - `hard`: 20×20 grid, 5 sources
48
- - `extreme`: 30×30 grid, 7 sources
49
 
50
- Each level contains **100 samples** (total: 500 entries).
51
- A **fuzzy variant** (`thermbench-fuzzy`) introduces noise, source jitter, and decay variations to simulate real-world uncertainty.
52
 
53
- ## Usage
54
  ```python
55
  from datasets import load_dataset
56
 
57
- ds = load_dataset("username/thermbench", split="train")
58
- print(ds[0])
 
 
 
59
  ```
60
 
61
- ## Applications
62
- - Algorithmic evaluation of source localization
63
- - Benchmarking robustness against noise
64
- - Teaching problem-solving with synthetic physics-based data
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
 
66
- ## License
67
- Apache License, Version 2.0
 
1
  ---
 
2
  datasets:
3
+ - ZoneTwelve/Thermal-Heatmap-Source-Localization
4
  tags:
5
  - benchmark
6
  - heatmap
7
+ - physics
8
  - source-localization
9
+ - synthetic
10
+ license: apache-2.0
11
+ pretty_name: Thermal Heatmap Source Localization (ThermBench)
12
  ---
13
 
14
+ # ThermBench 🔥 Thermal Heatmap Source Localization Benchmark
15
+
16
+ ## 📝 Summary
17
+ **ThermBench** is a physics-inspired **synthetic dataset** designed to evaluate algorithms that infer **hidden thermal sources** from an observed **heat diffusion map**.
18
 
19
+ Each data sample contains:
20
+ - an **observed heatmap** (matrix of values),
21
+ - and the **ground-truth sources**: `(row, col, intensity)`.
22
+
23
+ Diffusion follows inverse Manhattan distance:
24
 
25
  \[
26
+ H(i,j) \;=\; \sum_{s=1}^{K} \frac{I_s}{d(i,j,s)+1}
27
  \]
28
 
29
+ where \(d\) is the Manhattan distance to source \(s\).
30
 
31
+ ---
 
 
 
 
 
 
32
 
33
+ ## 📊 Dataset Structure
34
+
35
+ - **level**: Difficulty tier (`very_easy`, `easy`, `medium`, `hard`, `extreme`)
36
+ - **input_text**: Heatmap formatted as:
37
+ ```
38
+ N M
39
+ K
40
+ <N rows of values>
41
+ ```
42
+ - **output_text**: True source positions and intensities in format:
43
+ ```
44
+ row col intensity
45
+ ```
46
+
47
+ ### Example
48
  ```json
49
  {
50
  "level": "easy",
51
+ "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",
52
  "output_text": "1 1 10.0\n5 5 10.0"
53
  }
54
  ```
55
 
56
+ ---
 
 
 
 
 
57
 
58
+ ## 🚀 Usage
 
59
 
 
60
  ```python
61
  from datasets import load_dataset
62
 
63
+ dataset = load_dataset(
64
+ "ZoneTwelve/Thermal-Heatmap-Source-Localization",
65
+ split="train"
66
+ )
67
+ print(dataset[0])
68
  ```
69
 
70
+ ---
71
+
72
+ ## 🎚 Difficulty Levels
73
+
74
+ - **very_easy** → 3×3 grid, 1 source
75
+ - **easy** → 5×5 grid, 2 sources
76
+ - **medium** → 10×10 grid, 3 sources
77
+ - **hard** → 20×20 grid, 5 sources
78
+ - **extreme** → 30×30 grid, 7 sources
79
+
80
+ Each level contains 100 samples → **500 total**.
81
+
82
+ A fuzzy extension of ThermBench introduces noise, intensity jitter, and rounding differences to simulate real‑world sensor readings.
83
+
84
+ ---
85
+
86
+ ## 🔧 Intended Applications
87
+ - Benchmarking **inverse problem solvers**
88
+ - Robustness studies for optimization/AI
89
+ - Educational resource for algorithm development
90
+
91
+ ---
92
 
93
+ ## 📜 License
94
+ Apache License 2.0 © ZoneTwelve