Material_scans / README.md
jonaskoenig's picture
Update README.md
8c78369 verified
|
Raw History Blame Contribute Delete
5.21 kB
---
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}
}
```