ZoneTwelve commited on
Commit
1b9bc05
·
1 Parent(s): ed4b727

Update the heatmap.jsonl

Browse files
Files changed (3) hide show
  1. .gitattributes +1 -0
  2. README.md +64 -0
  3. heatmap.jsonl +3 -0
.gitattributes CHANGED
@@ -57,3 +57,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
 
 
57
  # Video files - compressed
58
  *.mp4 filter=lfs diff=lfs merge=lfs -text
59
  *.webm filter=lfs diff=lfs merge=lfs -text
60
+ *.jsonl filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -1,3 +1,67 @@
1
  ---
2
  license: apache-2.0
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
heatmap.jsonl ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dbf1335bc5e3b0c199466b2d62520855aecca41f1af6b64ca1984a02d0b85e78
3
+ size 655819