File size: 5,206 Bytes
63125f7
 
 
 
 
 
 
 
 
 
 
 
 
8c78369
 
 
63125f7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4d10156
63125f7
 
 
 
8c78369
63125f7
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
---
pretty_name: Material Scans — Microwave Resonance Dataset
language:
  - en
tags:
  - microwave-sensing
  - vector-network-analyzer
  - material-classification
  - waste-sorting
  - tabular
  - csv
task_categories:
  - tabular-classification
license: other
license_name: civil-m
license_link: https://civil-software-licenses.github.io/licenses.html
size_categories:
  - 10K<n<100K
---

# Material Scans — Microwave Resonance Dataset

Calibrated one-port microwave reflection spectra of shredded material samples, recorded
with a planar PCB sensor carrying three coupled ring resonators. The sensor is driven by
a NanoRFE VNA6000-B vector network analyzer over 2–6 GHz with 1,023 frequency points.

The dataset accompanies the master's thesis:

> Jonas König. *How Effectively Can Neural Networks Classify Waste Materials via
> Microwave Resonance? A Comparative Analysis of MLP, CNN, Autoencoder, and Hybrid
> Architectures.* Universität Leipzig, 2026.

Each row is one scan. The task is to predict a fine material subtype (`trash_type`) or
one of five coarse material classes (`material_type`).

## Files

| File | Rows | Description |
|---|---:|---|
| `org_data.csv` | 8,061 | Measured scans, original dataset |
| `eval_2000-6000MHz_1023pt_1seg_avg1_800Hz.csv` | 110 | Held-out new-material evaluation scans, ten per subtype |
| `augmented_data_1000.csv` | 10,618 | Subtype-level data with synthetic rows; minimum 1,000 rows per class |
| `augmented_data_1000_material.csv` | 8,561 | Coarse-class data with synthetic rows; minimum 1,000 rows per class |
| `augmented_data_2000.csv` | 19,254 | Subtype-level data with synthetic rows; minimum 2,000 rows per class |
| `augmented_data_2000_material.csv` | 10,460 | Coarse-class data with synthetic rows; minimum 2,000 rows per class |

The release is about 18 GB. The CSVs are large because spectral arrays are stored inside
single cells.

## Labels

Populated subtypes: ABS, ASA, PET, PP, aluminum, borosilicate, cardboard, carton, mixed,
paper, tetra_pak.

| `material_type` | Subtypes in this release |
|---|---|
| plastic | ABS, ASA, PET, PP |
| metal | aluminum |
| glass | borosilicate |
| cardboard | cardboard, carton, paper |
| composite | mixed, tetra_pak |

`dirty` is a separate flag for dirty or contaminated samples. Further label values exist
in the acquisition schema but are not populated in this release.

## Schema

`org_data.csv` and the evaluation file have 123 columns:

- `frequency_hz` and per-point arrays: `real`, `imaginary`, `s11_db`, `phase_rad`,
  `vswr`, `qfactor_per_point`, `impedance_re`, `impedance_im`, `group_delay`
- background-referenced arrays: `diff_real`, `diff_imaginary`, `diff_mag_db`,
  `diff_phase_rad`
- 28 aggregated scalar statistics
- six resonance slots: `res0_…` to `res5_…`, with center frequency, bandwidth,
  quality factor, loss-tangent proxy, depth, VSWR, phase, per-point Q, impedance, and
  equivalent L/C
- labels: `material_type`, `trash_type`, `dirty`
- ambient state: `temp_1`, `hum_1`, `pressure`, `temp_2`, `hum_2`

Spectral and differential arrays are JSON-encoded strings, not one column per frequency
point. Parse them with `json.loads`.

The augmented files have two extra columns:

- `synthetic` — `1` for a synthetic row, `0` for a measured row
- `_file` — source file of the row

## Usage

```python
import pandas as pd
from huggingface_hub import hf_hub_download

path = hf_hub_download(
    "jonaskoenig/Material_scans",
    "org_data.csv",
    repo_type="dataset",
)
df = pd.read_csv(path)

# Measured rows only, from an augmented file:
aug = pd.read_csv(
    hf_hub_download(
        "jonaskoenig/Material_scans",
        "augmented_data_1000.csv",
        repo_type="dataset",
    )
)
measured = aug[aug["synthetic"] == 0]
```

## Evaluation caveats

- The original dataset has no sample identifier or timestamp. Repeated placements of the
  same physical sample can therefore appear in different splits.
- A scan-level random split measures recognition of repeated scans, not generalization to
  new samples. Use the separate `eval_*` file for the new-material estimate.
- Synthetic rows are derived from measured class means and are not independent physical
  samples. Filter on `synthetic == 0` for measured-only analyses.
- The thesis uses an 80/10/10 scan-level split for training and a separate 110-scan
  new-material evaluation set. No fixed split indices are shipped with this release.

## Code and models

Code and model definitions:

<https://git.tni.dev/VNA-Master>


## License

This dataset is licensed under the [Civil-M License](https://civil-software-licenses.github.io/licenses.html), an MIT-based license with a no-weapons/no-military-use clause. It is source-available, not an OSI-approved open-source license.
## Citation

```bibtex
@mastersthesis{koenig2026materialscans,
  author = {Jonas König},
  title  = {How Effectively Can Neural Networks Classify Waste Materials via
            Microwave Resonance? A Comparative Analysis of MLP, CNN,
            Autoencoder, and Hybrid Architectures},
  school = {Universität Leipzig},
  year   = {2026},
  note   = {Dataset: https://huggingface.co/datasets/jonaskoenig/Material_scans}
}
```