jonaskoenig commited on
Commit
63125f7
·
verified ·
1 Parent(s): 7bb6004

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +146 -0
README.md ADDED
@@ -0,0 +1,146 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: Material Scans — Microwave Resonance Dataset
3
+ language:
4
+ - en
5
+ tags:
6
+ - microwave-sensing
7
+ - vector-network-analyzer
8
+ - material-classification
9
+ - waste-sorting
10
+ - tabular
11
+ - csv
12
+ task_categories:
13
+ - tabular-classification
14
+ size_categories:
15
+ - 10K<n<100K
16
+ ---
17
+
18
+ # Material Scans — Microwave Resonance Dataset
19
+
20
+ Calibrated one-port microwave reflection spectra of shredded material samples, recorded
21
+ with a planar PCB sensor carrying three coupled ring resonators. The sensor is driven by
22
+ a NanoRFE VNA6000-B vector network analyzer over 2–6 GHz with 1,023 frequency points.
23
+
24
+ The dataset accompanies the master's thesis:
25
+
26
+ > Jonas König. *How Effectively Can Neural Networks Classify Waste Materials via
27
+ > Microwave Resonance? A Comparative Analysis of MLP, CNN, Autoencoder, and Hybrid
28
+ > Architectures.* Universität Leipzig, 2026.
29
+
30
+ Each row is one scan. The task is to predict a fine material subtype (`trash_type`) or
31
+ one of five coarse material classes (`material_type`).
32
+
33
+ ## Files
34
+
35
+ | File | Rows | Description |
36
+ |---|---:|---|
37
+ | `org_data.csv` | 8,061 | Measured scans, original dataset |
38
+ | `eval_2000-6000MHz_1023pt_1seg_avg1_800Hz.csv` | 110 | Held-out new-material evaluation scans, ten per subtype |
39
+ | `augmented_data_1000.csv` | 10,618 | Subtype-level data with synthetic rows; minimum 1,000 rows per class |
40
+ | `augmented_data_1000_material.csv` | 8,561 | Coarse-class data with synthetic rows; minimum 1,000 rows per class |
41
+ | `augmented_data_2000.csv` | 19,254 | Subtype-level data with synthetic rows; minimum 2,000 rows per class |
42
+ | `augmented_data_2000_material.csv` | 10,460 | Coarse-class data with synthetic rows; minimum 2,000 rows per class |
43
+
44
+ The release is about 18 GB. The CSVs are large because spectral arrays are stored inside
45
+ single cells.
46
+
47
+ ## Labels
48
+
49
+ Populated subtypes: ABS, ASA, PET, PP, aluminum, borosilicate, cardboard, carton, mixed,
50
+ paper, tetra_pak.
51
+
52
+ | `material_type` | Subtypes in this release |
53
+ |---|---|
54
+ | plastic | ABS, ASA, PET, PP |
55
+ | metal | aluminum |
56
+ | glass | borosilicate |
57
+ | cardboard | cardboard, carton, paper |
58
+ | composite | mixed, tetra_pak |
59
+
60
+ `dirty` is a separate flag for dirty or contaminated samples. Further label values exist
61
+ in the acquisition schema but are not populated in this release.
62
+
63
+ ## Schema
64
+
65
+ `org_data.csv` and the evaluation file have 123 columns:
66
+
67
+ - `frequency_hz` and per-point arrays: `real`, `imaginary`, `s11_db`, `phase_rad`,
68
+ `vswr`, `qfactor_per_point`, `impedance_re`, `impedance_im`, `group_delay`
69
+ - background-referenced arrays: `diff_real`, `diff_imaginary`, `diff_mag_db`,
70
+ `diff_phase_rad`
71
+ - 28 aggregated scalar statistics
72
+ - six resonance slots: `res0_…` to `res5_…`, with center frequency, bandwidth,
73
+ quality factor, loss-tangent proxy, depth, VSWR, phase, per-point Q, impedance, and
74
+ equivalent L/C
75
+ - labels: `material_type`, `trash_type`, `dirty`
76
+ - ambient state: `temp_1`, `hum_1`, `pressure`, `temp_2`, `hum_2`
77
+
78
+ Spectral and differential arrays are JSON-encoded strings, not one column per frequency
79
+ point. Parse them with `json.loads`.
80
+
81
+ The augmented files have two extra columns:
82
+
83
+ - `synthetic` — `1` for a synthetic row, `0` for a measured row
84
+ - `_file` — source file of the row
85
+
86
+ ## Usage
87
+
88
+ ```python
89
+ import pandas as pd
90
+ from huggingface_hub import hf_hub_download
91
+
92
+ path = hf_hub_download(
93
+ "jonaskoenig/Material_scans",
94
+ "org_data.csv",
95
+ repo_type="dataset",
96
+ )
97
+ df = pd.read_csv(path)
98
+
99
+ # Measured rows only, from an augmented file:
100
+ aug = pd.read_csv(
101
+ hf_hub_download(
102
+ "jonaskoenig/Material_scans",
103
+ "augmented_data_1000.csv",
104
+ repo_type="dataset",
105
+ )
106
+ )
107
+ measured = aug[aug["synthetic"] == 0]
108
+ ```
109
+
110
+ ## Evaluation caveats
111
+
112
+ - The original dataset has no sample identifier or timestamp. Repeated placements of the
113
+ same physical sample can therefore appear in different splits.
114
+ - A scan-level random split measures recognition of repeated scans, not generalization to
115
+ new samples. Use the separate `eval_*` file for the new-material estimate.
116
+ - Synthetic rows are derived from measured class means and are not independent physical
117
+ samples. Filter on `synthetic == 0` for measured-only analyses.
118
+ - The thesis uses an 80/10/10 scan-level split for training and a separate 110-scan
119
+ new-material evaluation set. No fixed split indices are shipped with this release.
120
+
121
+ ## Code and models
122
+
123
+ Code and model definitions:
124
+
125
+ <https://git.tni.dev/org/Master/>
126
+
127
+ The repository is being populated and was empty at the time of writing.
128
+
129
+ ## License
130
+
131
+ No license is declared in this repository yet. Contact the author before redistribution
132
+ or commercial use.
133
+
134
+ ## Citation
135
+
136
+ ```bibtex
137
+ @mastersthesis{koenig2026materialscans,
138
+ author = {Jonas König},
139
+ title = {How Effectively Can Neural Networks Classify Waste Materials via
140
+ Microwave Resonance? A Comparative Analysis of MLP, CNN,
141
+ Autoencoder, and Hybrid Architectures},
142
+ school = {Universität Leipzig},
143
+ year = {2026},
144
+ note = {Dataset: https://huggingface.co/datasets/jonaskoenig/Material_scans}
145
+ }
146
+ ```