Dataset Viewer
Auto-converted to Parquet Duplicate
sample_id
large_stringlengths
6
8
tool_id
int64
1
10
run_id
int64
1
15
image_label
large_stringclasses
3 values
image_label_id
int64
1
3
force_phase_label
int64
1
3
force_phase_name
large_stringclasses
3 values
labels_in_sync
bool
2 classes
gaps
float64
0
155
flank_wear
float64
22.6
347
overhang
float64
0
76.8
chip
imagewidth (px)
1.02k
1.02k
tool
imagewidth (px)
1.55k
3.1k
work
imagewidth (px)
512
512
spec_x
imagewidth (px)
495
495
spec_y
imagewidth (px)
495
495
spec_z
imagewidth (px)
495
495
scal_x
imagewidth (px)
496
496
scal_y
imagewidth (px)
496
496
scal_z
imagewidth (px)
496
496
T1R2B1
1
2
sharp
1
1
initial_break_in_wear
true
7.67
34.89
48.61
T1R2B2
1
2
sharp
1
1
initial_break_in_wear
true
0
52.5
25.75
T1R2B3
1
2
sharp
1
1
initial_break_in_wear
true
7.07
52.76
21.56
T1R2B4
1
2
sharp
1
1
initial_break_in_wear
true
0
44.5
9.43
T1R3B1
1
3
sharp
1
1
initial_break_in_wear
true
9.44
39.9
17.89
T1R3B2
1
3
sharp
1
1
initial_break_in_wear
true
0
60.17
9.41
T1R3B3
1
3
sharp
1
1
initial_break_in_wear
true
0
55.71
21.98
T1R3B4
1
3
sharp
1
1
initial_break_in_wear
true
0
49.43
15.07
T1R4B1
1
4
sharp
1
1
initial_break_in_wear
true
9.47
55.07
6.14
T1R4B2
1
4
sharp
1
1
initial_break_in_wear
true
0
62.96
18.93
T1R4B3
1
4
used
2
1
initial_break_in_wear
false
1.46
73.87
12.68
T1R4B4
1
4
sharp
1
1
initial_break_in_wear
true
0
63.93
31.55
T1R5B1
1
5
sharp
1
2
steady_state_stabilization_wear
false
10.14
66.79
16.38
T1R5B2
1
5
sharp
1
2
steady_state_stabilization_wear
false
7.33
64.39
17.38
T1R5B3
1
5
used
2
2
steady_state_stabilization_wear
true
7.89
78.2
23.66
T1R5B4
1
5
used
2
2
steady_state_stabilization_wear
true
0.01
72.43
21.14
T1R6B1
1
6
used
2
2
steady_state_stabilization_wear
true
13.91
72.7
23.56
T1R6B2
1
6
sharp
1
2
steady_state_stabilization_wear
false
9.88
69.9
29.41
T1R6B3
1
6
used
2
2
steady_state_stabilization_wear
true
28.76
85.18
20.27
T1R6B4
1
6
used
2
2
steady_state_stabilization_wear
true
11.71
78.11
25.14
T1R7B1
1
7
used
2
2
steady_state_stabilization_wear
true
14.32
74.94
29.33
T1R7B2
1
7
used
2
2
steady_state_stabilization_wear
true
15.95
81.86
19.91
T1R7B3
1
7
used
2
2
steady_state_stabilization_wear
true
1.91
88.48
29.8
T1R7B4
1
7
used
2
2
steady_state_stabilization_wear
true
13.89
85.41
50.25
T1R8B1
1
8
used
2
2
steady_state_stabilization_wear
true
6.95
75.92
20.58
T1R8B2
1
8
used
2
2
steady_state_stabilization_wear
true
24.89
97.17
33.61
T1R8B3
1
8
used
2
2
steady_state_stabilization_wear
true
6.25
95.96
30.41
T1R8B4
1
8
used
2
2
steady_state_stabilization_wear
true
0
110.81
31.17
T1R9B1
1
9
used
2
3
accelerated_severe_wear
false
9.83
102.15
20.28
T1R9B2
1
9
used
2
3
accelerated_severe_wear
false
8.93
109.34
26.75
T1R9B3
1
9
dulled
3
3
accelerated_severe_wear
true
7.92
118.61
39.75
T1R9B4
1
9
dulled
3
3
accelerated_severe_wear
true
11.43
118.03
19.36
T1R10B1
1
10
dulled
3
3
accelerated_severe_wear
true
10.11
122.4
9.25
T1R10B2
1
10
dulled
3
3
accelerated_severe_wear
true
14.8
127.92
37.66
T1R10B3
1
10
dulled
3
3
accelerated_severe_wear
true
0.3
123.61
19.34
T1R10B4
1
10
dulled
3
3
accelerated_severe_wear
true
9.62
121.19
10.98
T1R11B1
1
11
dulled
3
3
accelerated_severe_wear
true
8.03
139.58
26.17
T1R11B2
1
11
dulled
3
3
accelerated_severe_wear
true
16.34
136.69
18.69
T1R11B3
1
11
dulled
3
3
accelerated_severe_wear
true
0
147.84
40.78
T1R11B4
1
11
dulled
3
3
accelerated_severe_wear
true
0.15
124.31
23.22
T2R1B1
2
1
sharp
1
1
initial_break_in_wear
true
0
23.13
14.71
T2R1B2
2
1
sharp
1
1
initial_break_in_wear
true
0
24.99
22.02
T2R1B3
2
1
sharp
1
1
initial_break_in_wear
true
4.52
33.33
11.79
T2R1B4
2
1
sharp
1
1
initial_break_in_wear
true
0
31.57
8.4
T2R2B1
2
2
sharp
1
1
initial_break_in_wear
true
0
30.72
25.17
T2R2B2
2
2
sharp
1
1
initial_break_in_wear
true
0.22
32.43
9.12
T2R2B3
2
2
sharp
1
1
initial_break_in_wear
true
7.31
45.13
9.32
T2R2B4
2
2
sharp
1
1
initial_break_in_wear
true
5.46
35.41
6.18
T2R3B1
2
3
sharp
1
1
initial_break_in_wear
true
0
33.85
36.14
T2R3B2
2
3
sharp
1
1
initial_break_in_wear
true
0
42.84
9.04
T2R3B3
2
3
sharp
1
1
initial_break_in_wear
true
1.79
50.62
10.21
T2R3B4
2
3
sharp
1
1
initial_break_in_wear
true
0
61.66
6.99
T2R4B1
2
4
sharp
1
1
initial_break_in_wear
true
0
57.09
21.22
T2R4B2
2
4
sharp
1
1
initial_break_in_wear
true
4.14
60.89
19.29
T2R4B3
2
4
sharp
1
1
initial_break_in_wear
true
0.12
60.22
12.25
T2R4B4
2
4
sharp
1
1
initial_break_in_wear
true
0
63.85
17.73
T2R5B1
2
5
sharp
1
1
initial_break_in_wear
true
4.48
65.2
25.94
T2R5B2
2
5
sharp
1
1
initial_break_in_wear
true
0
67.92
18.23
T2R5B3
2
5
used
2
1
initial_break_in_wear
false
5.23
72.47
29.74
T2R5B4
2
5
sharp
1
1
initial_break_in_wear
true
0
67.77
27.57
T2R6B1
2
6
used
2
2
steady_state_stabilization_wear
true
4.18
76.01
42.36
T2R6B2
2
6
used
2
2
steady_state_stabilization_wear
true
0
79.28
26.17
T2R6B3
2
6
used
2
2
steady_state_stabilization_wear
true
2.32
81.07
60.04
T2R6B4
2
6
used
2
2
steady_state_stabilization_wear
true
0
82.5
36
T2R7B1
2
7
used
2
2
steady_state_stabilization_wear
true
0
81.63
23.85
T2R7B2
2
7
used
2
2
steady_state_stabilization_wear
true
0.22
90.49
19.99
T2R7B3
2
7
used
2
2
steady_state_stabilization_wear
true
0
86.95
28.34
T2R7B4
2
7
used
2
2
steady_state_stabilization_wear
true
0
85.57
74.85
T2R8B1
2
8
used
2
2
steady_state_stabilization_wear
true
0
86.76
45.58
T2R8B2
2
8
used
2
2
steady_state_stabilization_wear
true
9.13
91.57
15.97
T2R8B3
2
8
used
2
2
steady_state_stabilization_wear
true
0.18
91.23
31.37
T2R8B4
2
8
used
2
2
steady_state_stabilization_wear
true
0
94.61
30.13
T2R9B1
2
9
used
2
2
steady_state_stabilization_wear
true
6.68
91.91
37.24
T2R9B2
2
9
used
2
2
steady_state_stabilization_wear
true
5.24
92.17
11.05
T2R9B3
2
9
used
2
2
steady_state_stabilization_wear
true
0
95.06
24.19
T2R9B4
2
9
used
2
2
steady_state_stabilization_wear
true
9.47
96.54
13.8
T2R11B1
2
11
used
2
2
steady_state_stabilization_wear
true
9.74
109.66
17.72
T2R11B2
2
11
used
2
2
steady_state_stabilization_wear
true
6.34
107.11
29.58
T2R11B3
2
11
used
2
2
steady_state_stabilization_wear
true
0.1
103.62
30.44
T2R11B4
2
11
dulled
3
2
steady_state_stabilization_wear
false
0.23
112.3
18.32
T2R12B1
2
12
dulled
3
3
accelerated_severe_wear
true
2.78
112.75
46.4
T2R12B2
2
12
dulled
3
3
accelerated_severe_wear
true
3.7
116.69
24.04
T2R12B3
2
12
used
2
3
accelerated_severe_wear
false
0
106.86
11.54
T2R12B4
2
12
dulled
3
3
accelerated_severe_wear
true
0
117.87
32.81
T2R13B1
2
13
dulled
3
3
accelerated_severe_wear
true
12.14
117.12
29.85
T2R13B2
2
13
dulled
3
3
accelerated_severe_wear
true
10.94
145.06
15.52
T2R13B3
2
13
dulled
3
3
accelerated_severe_wear
true
0
132.72
46.38
T2R13B4
2
13
dulled
3
3
accelerated_severe_wear
true
0
122.59
25.55
T2R14B1
2
14
dulled
3
3
accelerated_severe_wear
true
0
125.88
44.98
T2R14B2
2
14
dulled
3
3
accelerated_severe_wear
true
12.94
147.16
16.17
T2R14B3
2
14
dulled
3
3
accelerated_severe_wear
true
0
140.86
38.08
T2R14B4
2
14
dulled
3
3
accelerated_severe_wear
true
0
141.62
45.16
T2R15B1
2
15
dulled
3
3
accelerated_severe_wear
true
0
129.06
43.1
T2R15B2
2
15
dulled
3
3
accelerated_severe_wear
true
0
174.56
18.89
T2R15B3
2
15
dulled
3
3
accelerated_severe_wear
true
0
142.84
44.34
T2R15B4
2
15
dulled
3
3
accelerated_severe_wear
true
3.36
158.19
29.24
T3R1B1
3
1
sharp
1
1
initial_break_in_wear
true
0
27.58
8.18
T3R1B2
3
1
sharp
1
1
initial_break_in_wear
true
0
30.11
19.14
T3R1B3
3
1
sharp
1
1
initial_break_in_wear
true
0
34.81
11.77
T3R1B4
3
1
sharp
1
1
initial_break_in_wear
true
0
33.74
12.16
End of preview. Expand in Data Studio

Nonastreda: Multimodal Dataset for Tool Wear State Monitoring

Nonastreda is a multimodal dataset for efficient tool wear state monitoring in milling. It contains 512 sample-level records combining visual, time-frequency, and force-signal-derived representations of tool wear.

This Hugging Face repository is a mirror and machine-learning-friendly access point for the dataset. The canonical scholarly description is the associated Data in Brief article, and the canonical archived dataset record is hosted on Mendeley Data.

Official links

Overview

Nonastreda overview pipeline

The dataset combines visual inspection data, force-signal-derived image representations, and raw force signals for tool wear monitoring. Each sample is indexed by an identifier such as T10R10B1, and the same identifier is used across the available image modalities.

Each sample-level row includes:

  • tool_id and run_id, parsed from the sample identifier,
  • one microscope-image-based tool-wear classification label,
  • one additional force-phase classification label derived from force-signal amplitudes,
  • three regression targets,
  • nine image modalities.

The raw force-signal file is also included for future research, but it is not used as a sample-level visualization table because the sequences are organized per tool rather than cut into sub-sequences for each blade/image sample.

Modalities

Each sample is represented by nine image modalities:

Modality group Viewer columns Description
Visual images chip, tool, work Images of chip, tool blade, and workpiece
Mel-spectrograms spec_x, spec_y, spec_z Mel-spectrogram representations of force-signal axes X, Y, and Z
Scalograms scal_x, scal_y, scal_z Scalogram representations of force-signal axes X, Y, and Z

The human-readable metadata.csv file keeps the corresponding file path columns, such as chip_file_name, tool_file_name, and scal_z_file_name.

Dataset split and recommended evaluation protocol

This repository provides a single Hugging Face split:

  • train: all 512 samples.

No fixed train/test split is imposed. For model evaluation, we recommend leave-one-tool-out cross-validation using tool_id.

Since the dataset contains 10 tools, this gives 10 train/test folds. In each fold, samples from one tool are held out for testing, and samples from the remaining nine tools are used for training. This protocol evaluates whether a model generalizes to unseen tools rather than only learning tool-specific visual or signal patterns.

Example fold definition:

from datasets import load_dataset

NUM_TOOLS = 10

ds = load_dataset("hubtru/nonastreda", split="train")

for held_out_tool in range(1, NUM_TOOLS + 1):
    train_ds = ds.filter(lambda x: x["tool_id"] != held_out_tool)
    test_ds = ds.filter(lambda x: x["tool_id"] == held_out_tool)
    print(f"Fold T{held_out_tool}: train={len(train_ds)}, test={len(test_ds)}")

Tasks

This dataset can be used for several related machine-learning tasks.

1. Image-based tool wear classification

Recommended primary classification task:

  • input: one or more of the nine image modalities,
  • target: image_label or image_label_id,
  • classes: sharp, used, dulled.

2. Multimodal multi-output regression

Recommended regression task:

  • input: one or more of the nine image modalities,
  • targets: gaps, flank_wear, and overhang.

3. Exploratory force-phase classification

Additional research task:

  • input: force-related representations or raw force signals,
  • target: force_phase_label or force_phase_name,
  • phases: initial/break-in wear, steady-state/stabilization wear, accelerated/severe wear.

This label is provided for exploratory and multimodal research and should not be treated as a direct duplicate of the image-based wear label.

Classification labels

The dataset provides two classification label sets that represent different interpretations of tool-wear state.

Image-based wear label

Microscope-based tool inspection

The image_label column is the primary classification label described in the associated Data in Brief article. It was assigned from microscope images of the tool blade using three tool-wear ranges:

  • sharp
  • used
  • dulled

For convenience, the dataset also provides image_label_id:

  • sharp = 1
  • used = 2
  • dulled = 3

This is the recommended label for reproducing the classification task described in the article.

Force-phase label

Force components for Tool T1

The force_phase_label column is an additional research label derived from force-signal amplitudes in forces_xyz_raw.mat. It follows three phases of tool wear:

  • 1: initial / break-in wear
  • 2: steady-state / stabilization wear
  • 3: accelerated / severe wear

The corresponding text label is provided in force_phase_name.

This label is provided for exploratory and multimodal research. It was not used as the primary classification label in the Data in Brief article.

Label synchronization

The column labels_in_sync indicates whether the image-based label and force-phase label agree numerically:

labels_in_sync = image_label_id == force_phase_label

There are 71 samples where the two label sets are out of sync. These cases should not be interpreted as annotation errors. They reflect the fact that the labels are derived from different sources and capture different aspects of the tool-wear process.

Researchers may use these out-of-sync samples to study disagreement between visual tool-wear state and force-signal-based wear phase.

Regression targets

The dataset provides three regression targets:

Column Description
gaps Gap-related measurement
flank_wear Flank wear measurement
overhang Overhang measurement

These targets are provided in metadata.csv and originate from labels_reg.csv.

Repository structure

nonastreda/
β”œβ”€β”€ README.md
β”œβ”€β”€ CITATION.cff
β”œβ”€β”€ LICENSE
β”œβ”€β”€ metadata.csv
β”œβ”€β”€ metadata.parquet
β”œβ”€β”€ data/
β”‚   └── train-00000-of-00001.parquet
β”œβ”€β”€ chip/
β”œβ”€β”€ tool/
β”œβ”€β”€ work/
β”œβ”€β”€ spec/
β”‚   β”œβ”€β”€ x/
β”‚   β”œβ”€β”€ y/
β”‚   └── z/
β”œβ”€β”€ scal/
β”‚   β”œβ”€β”€ x/
β”‚   β”œβ”€β”€ y/
β”‚   └── z/
β”œβ”€β”€ figures/
β”‚   β”œβ”€β”€ overview_pipeline.png
β”‚   β”œβ”€β”€ microscope_setup.png
β”‚   └── force_components_t1.png
└── raw/
    β”œβ”€β”€ forces_xyz_raw.mat
    β”œβ”€β”€ labels.csv
    └── labels_reg.csv

Metadata columns

metadata.csv is the recommended human-readable index. The default Hugging Face Dataset Viewer is configured to use data/train-*.parquet, where the nine image modalities are stored as image columns rather than file-name strings.

Column Description
sample_id Unique sample identifier
tool_id Tool identifier parsed from sample_id, e.g. T10R14B3 β†’ 10
run_id Run identifier parsed from sample_id, e.g. T10R14B3 β†’ 14
image_label Primary microscope-image-based class label: sharp, used, or dulled
image_label_id Numeric encoding of image_label: 1, 2, or 3
force_phase_label Additional force-amplitude-based wear phase label: 1, 2, or 3
force_phase_name Text description of the force-phase label
labels_in_sync Whether image_label_id and force_phase_label agree
gaps Regression target
flank_wear Regression target
overhang Regression target
chip_file_name Path to chip image in metadata.csv
tool_file_name Path to tool blade image in metadata.csv
work_file_name Path to workpiece image in metadata.csv
spec_x_file_name Path to X-axis Mel-spectrogram image in metadata.csv
spec_y_file_name Path to Y-axis Mel-spectrogram image in metadata.csv
spec_z_file_name Path to Z-axis Mel-spectrogram image in metadata.csv
scal_x_file_name Path to X-axis scalogram image in metadata.csv
scal_y_file_name Path to Y-axis scalogram image in metadata.csv
scal_z_file_name Path to Z-axis scalogram image in metadata.csv

Raw files

The original source files are preserved under raw/:

  • raw/labels.csv: original classification labels, including image_label and tool_label.
  • raw/labels_reg.csv: original regression labels.
  • raw/forces_xyz_raw.mat: raw force signals for the X, Y, and Z axes.

The raw .mat file is included to support future research on signal processing and sequence modeling. It is not used directly in the default sample-level Hugging Face Dataset Viewer configuration.

Loading the dataset

from datasets import load_dataset

ds = load_dataset("hubtru/nonastreda")
print(ds["train"][0])

To load the single split directly:

from datasets import load_dataset

ds = load_dataset("hubtru/nonastreda", split="train")
print(ds[0])

Example image access:

from datasets import load_dataset

ds = load_dataset("hubtru/nonastreda", split="train")
row = ds[0]

chip_image = row["chip"]
tool_image = row["tool"]
work_image = row["work"]

To load the human-readable metadata table after cloning or downloading the repository:

import pandas as pd

metadata = pd.read_csv("metadata.csv")
print(metadata.head())

Intended use

This dataset is intended for research in:

  • tool wear monitoring,
  • condition monitoring,
  • predictive maintenance,
  • industrial machine learning,
  • multimodal learning,
  • visual inspection,
  • time-frequency image analysis,
  • manufacturing process monitoring.

Limitations and notes

  • The dataset contains 512 sample-level records.
  • The Hugging Face train split contains all samples; no fixed test split is imposed.
  • For evaluation, leave-one-tool-out cross-validation using tool_id is recommended.
  • The default Hugging Face viewer is centered on sample-level image modalities and labels.
  • The raw force signals are included for completeness but require separate handling.
  • The two classification labels are derived from different sources and should not be assumed to be equivalent.
  • The image_label / image_label_id fields should be used for reproducing the primary classification task described in the article.
  • The force_phase_label field should be treated as an additional exploratory label.

License

This dataset is released under the Creative Commons Attribution 4.0 International license, CC BY 4.0.

Users may share and adapt the dataset, including for commercial purposes, provided that appropriate credit is given.

Citation

If you use this dataset, please cite the associated Data in Brief article and the archived Mendeley Data record.

Article

@article{truchan2025nonastreda,
  title = {Nonastreda multimodal dataset for efficient tool wear state monitoring},
  journal = {Data in Brief},
  year = {2025},
  doi = {10.1016/j.dib.2025.111905},
  url = {https://www.sciencedirect.com/science/article/pii/S2352340925006298}
}

Dataset

@dataset{truchan2025nonastreda_mendeley,
  title = {Nonastreda: Multimodal Dataset for Identifying Tool Wear Condition},
  year = {2025},
  publisher = {Mendeley Data},
  doi = {10.17632/m892d2wtzh.1},
  url = {https://data.mendeley.com/datasets/m892d2wtzh/1}
}

Contact

For questions about the dataset, please refer to the contact information provided in the associated Data in Brief article and Mendeley Data record.

Downloads last month
1,083