Skip to Content
ProcessesProcesses
  • Article
  • Open Access

5 December 2026

20 Pages

From Spectral Features to Foundation-Model Representations for Constituent-Count Classification of Cotton-Containing Fibre Mixtures

,
,
,
,
and
Centro de Biotecnologia e Química Fina (CBQF), Laboratório Associado, Escola Superior de Biotecnologia, Universidade Católica Portuguesa, Rua de Diogo Botelho 1327, 4169-005 Porto, Portugal
*
Author to whom correspondence should be addressed.
Processes2026, 14(23), 3958;https://doi.org/10.3390/pr14233958 
(registering DOI)
This article belongs to the Section Materials Processes

Abstract

This study compared six strategies for classifying 415 cotton-containing textile specimens as Cotton + 1 fibre (CO1f; n = 270 ), Cotton + 2 fibres (CO2f; n = 85 ) or Cotton + 3 fibres (CO3f; n = 60 ), using FTIR, NIR and combined FTIR–NIR spectra. The 18 strategy–input pairs ranged from full-spectrum and feature-based machine learning (ML) to Gramian Angular Field (GAF) representations and frozen DINOv2 embeddings, with and without PCA. Among the 18 strategy–input combinations, NIR GAF–DINOv2 with PCA achieved the highest Accuracy (85.03 ± 9.76%) and AUC (0.8919 ± 0.1089), whereas NIR GAF–DINOv2 without PCA achieved the highest Macro-F1 (0.7931 ± 0.1411). In the matched specimen-level comparison, Accuracy was 82.89% for feature-based ML and 85.06% for GAF–DINOv2, with Macro-F1 values of 0.7634 and 0.8064, respectively. CO1f recall was similar (90.00% vs. 91.48%), whereas feature-based ML achieved higher CO2f recall (81.18% vs. 67.06%) and GAF–DINOv2 higher CO3f recall (81.67% vs. 53.33%). The NIR GAF–DINOv2–PCA configuration was selected post hoc for exploratory secondary analysis. Grouped ablation yielded Macro-F1 0.6888 for the complete pipeline, compared with 0.5508 for flattened GAF–PCA, 0.5506 for direct scaled PAA, and 0.6742 without PCA; random-encoder controls yielded 0.5651 and 0.6529. Overall, conventional feature-based and foundation-model representations showed metric- and class-dependent advantages, while combined FTIR–NIR did not consistently outperform the strongest NIR configurations. These results constitute internal specimen-level validation and require external validation before operational use.

1. Introduction

Textile-fibre identification is central to quality control, authentication, sorting, and recycling. The transition toward circular textile systems increases the need for rapid and reliable analytical methods capable of characterising not only pure fibres but also increasingly heterogeneous blends [1]. In parallel, Industry 4.0 is accelerating the integration of sensing, automation, and data-driven decision systems into textile production and end-of-life management [2,3]. Within this context, robust fibre characterisation is both an analytical challenge and an enabling component of automated textile sorting.
Infrared spectroscopy is particularly attractive for textile analysis because measurements are rapid, non-destructive, and require minimal sample preparation. Fourier-transform infrared (FTIR) spectroscopy provides chemically interpretable information associated with molecular vibrations and functional groups, whereas near-infrared (NIR) spectroscopy offers rapid acquisition, deeper sample penetration, portability, and practical compatibility with industrial sensing systems [1,4,5]. These complementary characteristics have motivated the use of both modalities for textile-fibre characterisation and sorting.
The analytical problem becomes substantially more difficult for fibre mixtures. Multiple constituents contribute simultaneously to the measured spectrum, causing overlap among absorption features and reducing the diagnostic value of individual spectral bands. This is particularly relevant for cotton-containing textiles incorporating regenerated cellulosic fibres such as viscose, modal, lyocell, and cupro. Their common cellulose-based chemistry produces similar O–H, C–H, and C–O vibrational signatures, and classification may, therefore, depend on comparatively weak differences associated with crystallinity, molecular orientation, processing history, and residual non-cellulosic components [5]. As the number of constituents increases, compositional variability and spectral overlap further reduce the effectiveness of direct spectral interpretation.
Chemometrics and machine learning (ML) provide a means of extracting multivariate information from spectroscopic textile data. Conventional approaches based on principal component analysis (PCA), linear discriminant analysis (LDA), partial least squares discriminant analysis (PLS-DA), support vector machines, decision trees, nearest-neighbour methods, and related classifiers have been applied to FTIR, NIR, and hyperspectral measurements for textile and fibre classification [4,5,6,7].
Several studies illustrate the strong predictive performance achievable when spectroscopy is combined with multivariate or machine-learning methods. NIR spectroscopy combined with spectral preprocessing and Random Forest classification has been used to discriminate cotton, polyester, denim, polypropylene, polycotton, and viscose, with reported accuracies ranging from 65% to 100% [8]. In historical textiles, NIR spectroscopy combined with PCA-LDA and SIMCA achieved 91.6% correct prediction for fibre mixtures [9]. Hyperspectral approaches have also produced high classification performance: one-dimensional convolutional neural networks applied to 25 commercial textile fibres achieved 98.6% test accuracy [10], while a recent NIR-HSI and ML approach for eight cellulosic fibres reported 93.80% classification accuracy [5]. Related studies have investigated cotton inspection and quality assessment using image-derived colour, shape, and texture features [11,12], deep-learning architectures for cotton grading and foreign-fibre detection [13,14,15], ATR-FTIR-based textile classification [16], and NIR and hyperspectral methods for distinguishing cotton and regenerated cellulosic fibres [17,18,19]. Together, these studies demonstrate the substantial potential of data-driven spectroscopic classification.
However, the reported performance values should not be interpreted as direct benchmarks for the present task because the underlying datasets, class definitions, validation protocols, and prediction targets differ. Most previous studies have focused on pure fibres, predefined fibre classes, relatively simple mixtures, or direct constituent identification. Comparatively less attention has been given to cotton-containing mixtures of increasing constituent complexity and to the effect of progressively changing the representation of the same spectroscopic information.
Beyond classifier choice, classification performance also depends on how spectral information is represented. Recent advances in ML have improved the ability to extract subtle and distributed patterns from spectroscopic data that may not be readily captured by conventional analytical approaches [5,20,21]. Full spectra preserve all measured variables but contain strong collinearity and potentially redundant regions. Statistical feature selection can concentrate the analysis on discriminative variables, while PCA can compress correlated information into orthogonal latent dimensions. A further possibility is to transform one-dimensional signals into structured two-dimensional representations. Gramian Angular Fields (GAFs), for example, encode pairwise angular relationships across a signal and make it possible to apply image-oriented representation models to non-image data [22].
Foundation models extend this representation hierarchy. DINOv2 is a self-supervised visual foundation model capable of generating transferable embeddings without task-specific supervised pre-training [23]. Such models have stimulated interest in transferring representations learned from large visual datasets to specialised scientific domains [24,25]. Nevertheless, the usefulness of pretrained visual representations for textile spectroscopy, particularly for complex cotton-containing mixtures, remains largely unexplored. It is also unclear whether any performance gain arises from representation learning itself, dimensionality reduction, spectral feature selection, or the underlying information content of the spectral modality.
Within this context, an important distinction concerns the prediction target itself. Whereas much of the existing literature focuses on identifying specific fibre types, the present study addresses the compositional complexity of cotton-containing mixtures, defined by the number of additional fibre types present alongside cotton. Accordingly, the prediction target is constituent count rather than identification of the individual fibre constituents or estimation of their proportions.
Against this background, this study investigates how progressively different representations of FTIR and NIR spectral information affect constituent-count classification of cotton-containing fibre mixtures. The analysis spans the original spectral domain, supervised feature selection, dimensionality reduction, two-dimensional GAF encoding, and pretrained DINOv2 representations. Specifically, six complementary strategies are compared: (1) full-spectrum ML, (2) feature-based ML without PCA, (3) feature-based ML with PCA, (4) GAF-based classification, (5) GAF–DINOv2 representation without PCA, and (6) GAF–DINOv2 representation with PCA. Each strategy is evaluated using FTIR, NIR, and combined FTIR–NIR inputs, yielding 18 strategy–input pairs.
Together, these comparisons address three related questions within a common experimental framework: (i) whether feature selection and dimensionality reduction improve classification relative to the original spectral representation; (ii) whether transformation into structured two-dimensional representations provides additional discriminatory information; and (iii) how pretrained foundation-model representations compare with conventional feature-engineering approaches across fibre-mixture complexity classes. All strategies are evaluated within the same nested cross-validation framework to minimise information leakage and enable consistent comparison of spectral modality and representation strategy.

2. Materials and Methods

2.1. Samples and Spectral Acquisition

2.1.1. Near-Infrared Spectroscopy

NIR spectra were acquired on a Fourier transform near infrared spectrometer (Spectrum Two, PerkinElmer, Shelton, CT, USA) equipped with an indium-gallium-arsenide (InGaAs) detector in diffuse reflectance mode. The five replicate measurements were acquired for each sample, with each replicate spectrum resulting from the average of 100 scans. Spectra were recorded at a resolution of 8 cm−1 within the wavenumber interval of 10,000 to 4000 cm−1. The background was acquired between samples using a Teflon reference material.

2.1.2. FTIR Spectroscopy

The FTIR spectra were acquired using a PerkinElmer Spectrum BX FTIR System equipped with a DTGS detector and a PIKE Technologies Gladi ATR accessory. Measurements were performed in attenuated total reflectance (ATR) mode over the wavenumber range of 4000–600 cm−1 at a resolution of 4 cm−1 using 32 co-added scans. Five replicate measurements were acquired for each specimen, with the specimen placed on the ATR crystal under constant pressure. The ATR crystal was cleaned and a background spectrum was acquired between specimens.

2.1.3. Dataset Description

The textile specimens and their reference labels were provided by CITEVE (Technological Centre for the Textile and Clothing Industries of Portugal). Cotton-containing specimens were classified according to the number of additional fibre types present: one (CO1f), two (CO2f), or three (CO3f). These constituent-count labels defined the target classes for the classification task.
The final dataset comprised 415 distinct textile specimens, including 270 CO1f, 85 CO2f and 60 CO3f specimens. Each specimen was represented by one averaged FTIR spectrum and one averaged NIR spectrum. For each modality, five within-specimen technical acquisitions were averaged before modelling and were not treated as independent observations. The resulting FTIR and NIR spectra contained 1701 and 3001 variables, respectively.
The distribution of fibre combinations and cotton content across the three classes is summarised in Table 1.
Table 1. Summary of fibre combinations and cotton content across the three classes. Mean cotton percentages were calculated by weighting each fibre combination according to its number of specimens.
Supplementary Table S1 summarises the fibre combinations and cotton content, while Supplementary Table S2 provides the sample-level fibre compositions and corresponding percentages. These composition data were used solely to characterise the dataset and were not included as predictors in the classification models.

2.2. Computational Environment

Analyses were performed in Google Colab (Google LLC, Mountain View, CA, USA) on Linux 6.6.122+ (x86_64), using an Intel Xeon CPU at 2.00 GHz (Intel Corporation, Santa Clara, CA, USA) and 12.67 GB RAM, with Python 3.9.21 (Python Software Foundation, Wilmington, DE, USA). Conventional machine learning used scikit-learn 1.6.1 (scikit-learn developers), NumPy 2.1.3 (NumPy developers), and pandas 2.2.3 (pandas development team). Foundation-model feature extraction used Hugging Face Transformers 5.16.1 (Hugging Face, Inc., New York, NY, USA), while Gramian Angular Field (GAF) generation used pyts 0.13.0 (pyts developers).

2.3. Spectral Preprocessing

FTIR and NIR spectra were normalised using Standard Normal Variate (SNV), followed by Savitzky–Golay smoothing and first-derivative transformation using a 17-point window and a second-order polynomial [26]. All preprocessing steps used during predictive modelling were fitted within the corresponding training data whenever applicable.

2.4. Classification Strategies

Six strategies were evaluated using FTIR, NIR, and combined FTIR–NIR inputs, resulting in 18 strategy–input pairs (six strategies × three spectral inputs). FTIR–NIR fusion was, therefore, treated as an input modality rather than as a separate strategy. For each pair, classifier and hyperparameter selection was performed within the inner cross-validation loop, with performance estimated from the corresponding outer-fold predictions. The overall computational framework is shown in Figure 1.
Figure 1. Computational framework for the comparison of six strategies using FTIR, NIR, and combined FTIR–NIR inputs. The strategies progress from full-spectrum and feature-based machine learning to GAF-based classification and GAF–DINOv2 representations, with PCA evaluated within the feature-based and foundation-model families. Classifier and hyperparameter selection were performed within nested cross-validation.

2.4.1. Strategy 1: Full-Spectrum Machine Learning

The first strategy evaluated classification directly from the complete preprocessed spectral vectors, without supervised feature selection or dimensionality reduction. For FTIR, all 1701 variables were retained, whereas NIR models used all 3001 variables. For combined FTIR–NIR analysis, the corresponding preprocessed vectors were concatenated before classification. This strategy established the full-spectrum baseline.

2.4.2. Strategy 2: Feature-Based Machine Learning Without PCA

The second strategy evaluated supervised spectral feature selection without subsequent dimensionality reduction. Within each training fold, variables were assessed using an ANOVA F-test. Variables satisfying p < 0.05 were ranked in decreasing order of F-value. Candidate feature subsets started with the 30 highest-ranked variables and increased in increments of 10, up to the total number of spectral bins available for each input modality (FTIR, NIR, or combined FTIR–NIR). The selected variables were provided directly to the classifiers. The complete feature-selection procedure was independently applied to FTIR, NIR and combined FTIR–NIR inputs.

2.4.3. Strategy 3: Feature-Based Machine Learning with PCA

The third strategy extended ANOVA-based feature selection by applying PCA to the selected variables. Candidate feature subsets were generated as described for Strategy 2. PCA was then fitted exclusively to the selected training variables, with between 1 and 30 principal components evaluated during model selection. ANOVA selection, PCA fitting and classifier optimisation were restricted to the corresponding training folds and subsequently applied unchanged to validation observations. For both Strategies 2 and 3, the highest-ranked spectral bands identified through ANOVA-based feature selection, together with their corresponding F-values, are reported in Supplementary Table S3 for each spectral input modality.

2.4.4. Strategy 4: GAF-Based Classification

The fourth strategy investigated classification from Gramian Angular Field (GAF) representations without DINOv2 feature extraction. The transformation was applied independently to FTIR, NIR, and combined FTIR–NIR inputs, as illustrated in Figure 2.
Figure 2. Transformation of NIR, FTIR, and combined FTIR–NIR spectra into 224 × 224 GAF representations. For direct GAF-based classification, the resulting matrices were vectorised before classification, whereas the two-dimensional representations were retained as inputs to the frozen DINOv2 encoder in Strategies 5 and 6.
Each preprocessed spectral vector was reduced to 224 points using Piecewise Aggregate Approximation (PAA) [27], scaled to [ − 1 , 1 ] , and transformed into a 224 × 224 Gramian Angular Field [22].
To illustrate the effect of this dimensionality reduction on the original spectral profiles, Supplementary Figure S1 compares the exported class-mean FTIR and NIR spectra with their corresponding exact non-overlapping 224-point PAA representations. The comparison shows that PAA preserves the broad spectral profiles while averaging narrow spectral features and within-bin variability. For the combined FTIR–NIR condition, the two spectral vectors were concatenated before PAA reduction and GAF generation. In this strategy, each resulting 224 × 224 GAF matrix was flattened into a one-dimensional vector containing 224 × 224 = 50,176 elements before being provided to the downstream classifier. Thus, GAF encoding generated a structured two-dimensional representation, but direct GAF classification was performed on its vectorised form. Note for subsequent Strategies 5 and 6, by contrast, the two-dimensional GAF representation was retained as input to the frozen DINOv2 encoder.

2.4.5. Strategy 5: GAF–DINOv2 Foundation-Model Representation Without PCA

The fifth strategy combined GAF encoding with feature extraction using the frozen facebook/dinov2-base encoder [23]. The  224 × 224 GAF representations were supplied to DINOv2 without task-specific fine-tuning. The classification token was extracted for each observation, resulting in a 768-dimensional embedding. Embeddings were standardised using parameters estimated exclusively from the training observations and were then provided directly to the classifiers, without PCA. DINOv2 was retained as a frozen feature extractor to evaluate transferability while limiting the number of fitted parameters in the 415-specimen dataset. Task-specific fine-tuning was outside the scope of the present comparison.

2.4.6. Strategy 6: GAF–DINOv2 Foundation-Model Representation with PCA

The sixth strategy used the same preprocessing, PAA, GAF transformation and frozen DINOv2 feature extraction described for Strategy 5. The 768-dimensional embeddings were standardised using training-fold statistics and subsequently reduced using PCA. Candidate representations retaining 10, 25, 50 or 100 principal components were evaluated during model optimisation. Standardisation, PCA fitting, classifier selection and model training were restricted to the corresponding training folds.

2.5. Classifiers and Hyperparameter Optimisation

Five scikit-learn classifiers representing different learning paradigms were considered. Their configurations are summarised in Table 2.
Table 2. Classifiers and hyperparameter configurations.

2.6. Nested Cross-Validation

Validated pipelines were assessed using nested stratified cross-validation with 10 outer folds and 3 inner folds [28]. Inner folds were used for feature selection, classifier selection, and hyperparameter optimisation, with macro-averaged F1-score ( F 1 macro ) as the optimisation criterion. The configuration achieving the highest mean inner-validation AUC was selected and refitted on the complete outer-training set. All data-dependent transformations, including feature selection, standardisation, and PCA, were fitted exclusively on the corresponding training data within each cross-validation stage. The fitted pipeline was then applied unchanged to the corresponding outer-validation fold. Outer-fold predictions were pooled so that each observation contributed once to the final estimates.

2.7. Matched Specimen-Level Comparison and Bootstrap Uncertainty

The primary evaluation comprised 18 strategy–input combinations, corresponding to six strategies applied to three spectral input modalities (FTIR, NIR, and combined FTIR–NIR). Performance metrics were summarised as the mean ± sample standard deviation across the ten outer validation folds. No formal paired significance tests were performed across these 18 combinations.
Following the primary evaluation of the 18 strategy–input combinations, the two best-performing configurations, identified based on their leading results across the evaluated performance metrics, were selected for an exploratory matched specimen-level comparison.
For this comparison, pooled performance metrics were recomputed directly from matched out-of-fold predictions for all 415 specimens. Specimen identifiers, true labels, and outer-fold assignments were verified to ensure correspondence between the two prediction sets.
An exact two-sided McNemar test was applied to the matched predictions to assess differences in classification accuracy. Uncertainty in the performance differences was quantified using 10,000 paired percentile bootstrap resamples stratified by true class. Identical specimen-level draws were applied to both prediction sets to preserve their paired structure.
The paired bootstrap procedure was used to estimate 95% confidence intervals for the differences in pooled Accuracy and Macro-F1. Intervals including zero were interpreted as providing insufficient evidence of a performance difference, without establishing equivalence between the configurations. Given the post-selection nature of this analysis, the statistical comparisons were considered exploratory.

2.8. Performance Metrics

Performance was evaluated using Accuracy, Macro-F1 ( F 1 macro ) and area under the receiver-operating-characteristic curve (AUC). Accuracy was calculated as [29]
Accuracy = N correct N total × 100 % .
Because the dataset contains unequal class sizes, F 1 macro assigns equal weight to the three classes [30]:
F 1 macro = 1 C ∑ c = 1 C 2 P c R c P c + R c ,
where C = 3 is the number of classes and P c and R c denote precision and recall for class c, respectively. Multi-class AUC was computed using a macro-averaged one-versus-rest strategy [31].
R c was calculated as
R c = T P c T P c + F N c ,
where T P c and F N c denote the numbers of true-positive and false-negative predictions for class c, respectively. Recall was reported separately for CO1f, CO2f and CO3f to characterise class-specific classification performance [29]. Class-specific recall values are expressed as percentages when reported in Section 3.
The dataset and Python code are publicly available at https://github.com/PeBapRi/FTIRNIRFibers.git (accessed on 8 October 2026).

2.9. Secondary Analysis Protocol for the Selected Foundation-Model Pipeline

Following inspection of the primary comparison, the NIR GAF–DINOv2–PCA configuration was selected post hoc for exploratory secondary representation-focused analyses based on its overall predictive performance. These analyses comprised component ablation, representation visualisation and error-profile analysis. For the grouped secondary analyses, the 415 observations were assigned to 82 analysis groups. Repeated nested grouped cross-validation used 10 outer folds, 3 inner folds and 3 repeats, with complete groups retained within the corresponding training or held-out partitions. Performance was pooled across held-out observations within each repeat and then averaged across repeats. All transformations and downstream model selection remained restricted to the corresponding training partitions.

3. Results

3.1. Spectral Characteristics

Figure 3 and Figure 4 show the mean spectra for CO1f, CO2f and CO3f classes. The class-average profiles overlapped across most of the displayed NIR and FTIR spectral ranges.
Figure 3. Mean NIR spectra of the three cotton-containing mixture classes.
Figure 4. Mean FTIR spectra of the three cotton-containing mixture classes.

3.2. Primary Comparison of the 18 Strategy–Input Pairs

Table 3 summarises the primary comparison of the 18 strategy–input pairs obtained from six strategies evaluated using FTIR, NIR, and combined FTIR–NIR inputs. For each pair, classifier and hyperparameter selection was performed within the inner cross-validation loop, with performance estimated from the corresponding outer-fold predictions.
Table 3. Primary comparison of the 18 strategy–input pairs. Each of the six strategies was independently evaluated using FTIR, NIR, and combined FTIR–NIR inputs. Values are reported as mean ± sample standard deviation across the ten outer cross-validation folds. The reported classifier and hyperparameter configuration for each pair was selected within the nested cross-validation framework. No formal paired significance tests were performed across the 18 strategy–input combinations.
The 18 strategy–input pairs showed distinct performance profiles across the six strategies and three spectral inputs (Table 3).
For the conventional approaches (Strategies 1–3), the highest Accuracy was obtained with feature-based ML with PCA using NIR, which achieved 82.81 ± 15.32 % Accuracy, 0.7540 ± 0.1993 Macro-F1, and 0.8398 ± 0.1409 AUC. Within this strategy, FTIR achieved 77.26 ± 16.57 % Accuracy, 0.6721 ± 0.2225 Macro-F1, and 0.7967 ± 0.2048 AUC, whereas combined FTIR–NIR achieved 79.92 ± 12.57 % Accuracy, 0.6964 ± 0.2020 Macro-F1, and 0.8228 ± 0.1004 AUC.
For the GAF-based approaches (Strategies 4–6), the highest Accuracy was obtained with GAF–DINOv2 with PCA using NIR ( 85.03 ± 9.76 %), with a F 1 macro of 0.7761 ± 0.1356 and an AUC of 0.8919 ± 0.1089 . GAF–DINOv2 without PCA using NIR achieved 76.82 ± 17.22 % Accuracy, Macro-F1 0.7931 ± 0.1411 , and AUC 0.8477 ± 0.1723 . Direct GAF classification produced its highest Accuracy and Macro-F1 with the combined FTIR–NIR input ( 73.46 ± 8.80 % and 0.7404 ± 0.0975 , respectively).
Across all 18 strategy–input pairs, NIR GAF–DINOv2 with PCA achieved the highest mean Accuracy ( 85.03 ± 9.76 %) and AUC ( 0.8919 ± 0.1089 ), whereas NIR GAF–DINOv2 without PCA achieved the highest mean F 1 macro ( 0.7931 ± 0.1411 ).

Class-Wise and Bootstrap Comparison of the Selected Feature-Based and Foundation-Model NIR Configurations

The class-wise performance of the feature-based ML with PCA and GAF–DINOv2 with PCA models was examined using matched specimen-level out-of-fold predictions for all 415 observations. The specimen identifiers, true labels and outer-fold assignments were verified to agree between the two procedures. The corresponding confusion matrices are shown in Figure 5.
Figure 5. Confusion matrices for the two leading NIR configurations: (a) feature-based ML with PCA and (b) GAF–DINOv2 with PCA, based on matched specimen-level out-of-fold predictions for the 415 observations.
Feature-based ML with PCA correctly classified 344 of the 415 specimens (82.89%), whereas GAF–DINOv2 with PCA correctly classified 353 specimens (85.06%). The corresponding F 1 macro values were 0.7634 and 0.8064, respectively.
Uncertainty was quantified using 10,000 percentile bootstrap resamples stratified by true class. Identical specimen-level draws were applied to both procedures to preserve the paired prediction structure. Table 4 reports the pooled performance estimates and their 95% bootstrap intervals.
Table 4. Performance of the two leading NIR configurations based on matched specimen-level out-of-fold predictions for 415 observations. Values in brackets are 95% percentile intervals obtained from 10,000 bootstrap resamples stratified by true class. Identical specimen-level resamples were applied to both models.
The two models showed similar R c for CO1f: 90.00% for feature-based ML with PCA and 91.48% for GAF–DINOv2 with PCA. For CO2f, R c was 81.18% and 67.06%, respectively. For CO3f, R c was 53.33% for feature-based ML with PCA and 81.67% for GAF–DINOv2 with PCA.
An exploratory paired statistical comparison was also performed using the matched out-of-fold predictions from the 415 specimens. The exact two-sided McNemar test did not identify a statistically significant difference in accuracy ( p = 0.448 ). The 95% paired bootstrap confidence intervals for the differences between GAF–DINOv2 with PCA and feature-based ML with PCA were [ − 2.65 , + 6.99 ] percentage points for Accuracy and [ − 0.018 , + 0.107 ] for Macro-F1. Both intervals included zero, indicating that the observed differences were insufficient to establish statistical superiority of either pipeline.

3.3. Secondary Analysis of the Selected Foundation-Model Pipeline

Secondary analyses were performed for the NIR GAF–DINOv2–PCA configuration and included component ablation, DINOv2 representation visualisation, and error-profile analysis.

3.3.1. Ablation Analysis

A grouped component ablation was performed for the NIR GAF–DINOv2–PCA configuration. The reference pipeline was compared with flattened GAF–PCA, two randomly initialised encoder controls, pretrained DINOv2 without PCA and direct scaled PAA. Results are reported in Table 5.
Table 5. Grouped component ablation of the NIR pretrained GAF–DINOv2–PCA pipeline. Performance values are mean ± sample SD across three repeat-specific pooled evaluations. Differences are calculated as reference F 1 macro minus the corresponding control; 95% intervals were obtained using paired class-stratified resampling of complete evaluation groups.
The reference GAF–DINOv2–PCA configuration achieved 76.87 ± 2.37 % Accuracy, 0.6888 ± 0.0241   F 1 macro , and 0.8425 ± 0.0205 Macro-AUC. Relative to the reference, F 1 macro differences were + 0.138 for flattened GAF–PCA, + 0.124 for random encoder 42–PCA, + 0.036 for random encoder 43–PCA, + 0.015 for pretrained DINOv2 without PCA, and + 0.138 for direct scaled PAA. The corresponding 95% intervals were [ + 0.060 , + 0.225 ] , [ + 0.027 , + 0.226 ] , [ − 0.044 , + 0.112 ] , [ − 0.039 , + 0.070 ] , and [ + 0.048 , + 0.233 ] , respectively. R c values are reported in Table 5.

3.3.2. PCA-Based Representation Visualisation

The learned representation generated by the selected NIR GAF–DINOv2 pipeline was visualised using PCA (Figure 6). For this exploratory analysis, DINOv2 embeddings were standardised using training-set statistics and projected onto the first two principal components. The PCA model was fitted on 335 training observations from grouped repeat 1, outer fold 1, and subsequently applied without refitting to the 80 held-out observations.
Figure 6. Exploratory PCA visualisation of the pretrained DINOv2 embeddings obtained from NIR GAF representations. Circles denote training observations ( n = 335 ) and crosses denote held-out observations ( n = 80 ). Standardisation and PCA were fitted exclusively on the training observations and applied unchanged to the held-out set. The projection is descriptive and was not used for model selection or performance estimation.
The two-dimensional projection displays training and held-out observations separately. The PCA coordinates correspond to linear combinations of DINOv2 embedding dimensions rather than original spectral variables. As a complementary analysis, the PCA score plot for the NIR feature-based pipeline (ANOVA + PCA) is provided in Supplementary Figure S2.

3.3.3. Error-Profile Analysis

The mean NIR spectra of correctly classified and misclassified specimens were compared separately within each true constituent-count class using the held-out predictions from the repeated grouped NIR GAF–DINOv2–PCA evaluation (Figure 7).
Figure 7. Mean NIR spectra of correctly classified and misclassified specimens for each true constituent-count class under the repeated grouped NIR GAF–DINOv2–PCA evaluation. Blue curves represent the mean spectra of correctly classified specimens, whereas red curves represent the mean spectra of misclassified specimens. Panel annotations indicate the total number of specimens and the range of correct and incorrect predictions across repeats.
For CO1f ( n = 270 ), 223–238 specimens were correctly classified per repeat and 32–47 were misclassified. The mean spectrum of the misclassified specimens was higher than that of the correctly classified specimens across a broad portion of the displayed NIR range, including a marked difference around 7000–6000 cm−1.
For CO2f ( n = 85 ), 50–56 specimens were correctly classified per repeat and 29–35 were misclassified. The mean spectra of correctly classified and misclassified specimens overlapped across most of the displayed spectral range, with several crossings between the two curves.
For CO3f ( n = 60 ), 35–36 specimens were correctly classified per repeat and 24–25 were misclassified. The two mean spectra were similar at higher wavenumbers. Below approximately 6000 cm−1, the mean spectrum of the misclassified specimens was generally lower than that of the correctly classified specimens, with differences visible around 5200–4200 cm−1.

4. Discussion

4.1. Performance Across Strategies and Evaluation Metrics

The primary comparison showed that model ranking depended on the performance metric considered. Among the 18 strategy–input combinations, NIR GAF–DINOv2 with PCA achieved the highest mean Accuracy ( 85.03 ± 9.76 %) and AUC ( 0.8919 ± 0.1089 ), whereas NIR GAF–DINOv2 without PCA achieved the highest mean F 1 macro ( 0.7931 ± 0.1411 ). Accuracy is influenced by the majority class, whereas F 1 macro weights the three classes equally. The results, therefore, do not support defining one representation as uniformly superior across all endpoints.
The matched specimen-level out-of-fold analysis provides a complementary comparison of the two selected NIR configurations using the same 415 observations. Under this analysis, feature-based ML with PCA achieved 82.89% Accuracy and F 1 macro 0.7634, while GAF–DINOv2 with PCA achieved 85.06% Accuracy and F 1 macro 0.8064. The class-stratified bootstrap intervals quantify uncertainty in these pooled estimates while preserving the paired prediction structure. They should not be interpreted as a formal test of superiority between the pipelines.
The primary strategy–input table and the matched out-of-fold bootstrap analysis use different evaluation summaries and, therefore, generate different numerical estimates. The primary comparison supports ranking across the 18 strategy–input pairs, whereas the matched analysis examines the two selected NIR configurations at specimen level and describes their class-specific prediction behaviour.

4.2. Spectral Modality and Multimodal Fusion

NIR produced the highest global Accuracy, F 1 macro , and AUC values across the 18-pair comparison, although the highest F 1 macro and the highest Accuracy/AUC were obtained with different NIR representation strategies. The mean FTIR and NIR spectra showed substantial overlap among CO1f, CO2f, and CO3f, consistent with discrimination based on distributed multivariate information rather than visually isolated class-specific bands.
A plausible spectroscopic explanation is that NIR contains broad overtone and combination-band information associated with the molecular and physical organisation of cellulosic materials. Because all three classes contain cotton and differ in the number of additional fibres, subtle distributed differences may be informative. This interpretation remains hypothesis-generating because the present analysis did not estimate causal contributions of individual spectral regions.
Combining FTIR and NIR did not produce the highest Accuracy, F 1 macro or AUC across the 18 pairs. Fusion remained competitive in several strategies, including feature-based ML without PCA and direct GAF classification, but did not consistently improve performance over the strongest single-modality results. Concatenation can increase dimensionality and introduce correlated or weakly informative variables; complementary information will improve prediction only when the model can exploit it without increasing estimation variance.

4.3. Class-Wise Behaviour of the Two NIR Configurations

The confusion matrices and matched bootstrap analysis reveal class-wise differences that are not captured by aggregate Accuracy alone. CO1f R c was similar for feature-based ML with PCA (90.00%) and GAF–DINOv2 with PCA (91.48%). In contrast, feature-based ML achieved higher CO2f R c (81.18% versus 67.06%), whereas GAF–DINOv2 achieved higher CO3f R c (81.67% versus 53.33%). The two representations, therefore, distribute their classification errors differently across the minority classes.
This reversal is important in the context of the class distribution. CO1f is the largest class, while CO2f and CO3f contain fewer observations and represent progressively more complex mixtures. A modest change in overall Accuracy can, therefore, coexist with a large redistribution of errors between CO2f and CO3f. For applications in which the distinction of more compositionally complex mixtures is particularly important, R c should consequently be considered alongside aggregate metrics. Nevertheless, these results concern constituent-count classes only: the models distinguish cotton-containing textiles according to the number of additional fibre types and do not identify the constituent fibres or estimate their proportions.

4.4. Interpretation of the DINOv2 Component Ablation

The grouped ablation addresses the internal composition of the selected NIR GAF–DINOv2–PCA representation rather than extending the primary ranking of classification strategies. The complete reference pipeline achieved a mean F 1 macro of 0.6888 under this grouped repeated evaluation. Flattened GAF–PCA and direct scaled PAA both produced F 1 macro values close to 0.55, with reference-minus-control differences of + 0.138 and 95% intervals that excluded zero. These results show that neither the reduced one-dimensional PAA representation nor flattened GAF values reproduced the grouped performance of the complete representation pipeline.
The random-encoder results require a more conservative interpretation. Relative to the pretrained reference, random encoder 42–PCA showed a F 1 macro difference of + 0.124 with an interval excluding zero, whereas random encoder 43–PCA showed a smaller difference of + 0.036 with an interval spanning zero. Because the conclusion differs between the two random initialisations, the present ablation does not isolate a stable advantage attributable solely to pretrained DINOv2 weights. A larger set of random initialisations would be needed to estimate the expected performance distribution of randomly initialised frozen encoders and to separate a pretraining effect from architecture- and initialisation-dependent variability.
Similarly, the pretrained DINOv2 configuration without PCA achieved F 1 macro 0.6742, only 0.015 below the reference, with a 95% interval spanning zero. PCA, therefore, remains part of the evaluated reference configuration, but these data do not establish an independent predictive benefit from PCA. Its practical value may instead include dimensionality reduction, regularisation, and reduced computational burden.
The class-specific ablation results also show that performance changes were not uniform across classes. For example, flattened GAF–PCA and direct scaled PAA retained relatively high CO1f R c but showed substantially lower CO2f and CO3f R c s than the complete pipeline. This pattern is consistent with the broader observation that the minority and more compositionally complex classes are more sensitive to the choice of representation. It should not, however, be interpreted as evidence that a particular DINOv2 embedding dimension or spectral region is responsible for those differences.

4.5. DINOv2 Representation Visualisation and Error Profiles

The secondary analyses of the NIR GAF–DINOv2–PCA pipeline provided additional information on the representation space and on the spectral characteristics of specimens associated with correct and incorrect predictions. These analyses were performed only for the selected foundation-model pipeline and should, therefore, not be interpreted as a direct comparison with the feature-based NIR model.
The PCA projection of the frozen DINOv2 embeddings provides a descriptive view of the representation generated from the GAF inputs. Because the projected coordinates are linear combinations of embedding dimensions rather than original NIR variables, separation or overlap in this two-dimensional space cannot be mapped directly to individual wavenumbers. Moreover, the first two principal components represent only part of the variability in the full embedding space.
The visualisation should, therefore, be regarded as complementary to the predictive evaluation rather than as independent evidence of class separability. The comparison of mean NIR spectra stratified by classification outcome provided a complementary view of the errors produced by the NIR GAF–DINOv2–PCA pipeline (Figure 7).
For CO1f, specimens misclassified by this pipeline showed a higher mean NIR signal than correctly classified specimens across a broad portion of the spectrum, with a marked difference around 7000–6000 cm−1. For CO2f, the mean spectra of correctly classified and misclassified specimens largely overlapped, with several crossings and no comparably broad spectral separation. For CO3f, a different pattern was observed. The mean spectra of correctly classified and misclassified specimens were relatively similar at higher wavenumbers, whereas below approximately 6000 cm−1 the misclassified specimens generally showed a lower mean NIR signal. Differences were visible around 5200–4200 cm−1. The spectral patterns associated with classification outcome were, therefore, class dependent within the NIR GAF–DINOv2–PCA evaluation.
Importantly, these differences should not be interpreted as evidence that the identified spectral intervals determined the DINOv2 predictions. Figure 7 compares the mean spectra of specimens after separation according to their classification outcome; it does not provide model-derived spectral importance or feature attribution. Differences between the correctly classified and misclassified subsets may also reflect differences in fibre composition or other uncontrolled specimen characteristics.
This distinction is particularly relevant because the GAF–DINOv2 pipeline does not classify the original NIR wavenumbers directly. The spectra are first compressed by PAA, transformed into GAF representations, and subsequently mapped to frozen DINOv2 embeddings before downstream classification. Consequently, the differences observed around 7000–6000 cm−1 for CO1f and 5200–4200 cm−1 for CO3f should be interpreted only as descriptive differences between the mean spectra of correctly classified and misclassified specimens for this pipeline. Establishing whether these spectral intervals contribute directly to the predictions would require dedicated perturbation or attribution analyses, which were outside the scope of the present study.

4.6. Practical Implications for Textile Sorting

Although constituent-count classification does not identify the individual fibres present in a textile or quantify their proportions, it may provide a useful preliminary screening step within an automated textile-sorting workflow.
Distinguishing relatively simple from more complex cotton-containing mixtures could support mixture-complexity triage before composition-specific analytical procedures are applied. For example, materials predicted to contain multiple additional fibre types could be flagged for subsequent composition-specific spectroscopic, chemical, or manual characterisation, whereas simpler cotton-containing mixtures could follow a less intensive analytical pathway.
The potential value of constituent-count classification is, therefore, not to replace fibre identification or quantitative composition analysis, but to provide an initial indication of mixture complexity that may help prioritise materials requiring more detailed characterisation.

4.7. Methodological Limitations and Applicability

Several limitations constrain the interpretation and generalisability of the results.
First, the 415 observations represent distinct textile specimens from a single acquisition campaign, but complete manufacturing-batch and source-material identifiers were not available. Consequently, independence at the manufacturing-batch level could not be verified. The reported results, therefore, represent internal specimen-level validation rather than batch-independent validation and cannot demonstrate generalisation to unseen suppliers, batches, instruments, or acquisition campaigns.
Second, the class distribution is imbalanced, with fewer CO2f and CO3f specimens than CO1f. This increases uncertainty in class-specific estimates and makes F 1 macro , R c , and their uncertainty important complements to Accuracy. The bootstrap comparison helps quantify this uncertainty for the matched NIR predictions, while the grouped ablation provides a separate repeated estimate for the foundation-model representation.
Third, although specimen-level fibre identities and corresponding composition percentages are available and reported in Supplementary Table S2, these variables were not incorporated as covariates in the classification models. Consequently, the present analysis does not establish whether constituent-count classification performance is independent of cotton proportion, specific fibre combinations, or other correlated sample characteristics. Potential physical confounders, including colour, thickness, weave, moisture, finishing treatment, orientation, and measurement-contact conditions, were also not independently controlled as experimental factors.
Fourth, ANOVA-based feature selection may yield different sets of spectral variables across cross-validation folds. Although Supplementary Table S3 reports the highest-ranked spectral bands, the stability of feature selection across folds was not explicitly assessed.
Fifth, DINOv2 was employed as a frozen feature extractor, without task-specific fine-tuning. Although this approach limits the number of trainable parameters and enables the evaluation of transferred representations in a relatively small dataset, the findings cannot be generalised to fine-tuned foundation models. Furthermore, the random-encoder ablation was restricted to two initialisation seeds, preventing a comprehensive assessment of variability across random initialisations.
External validation should include independently sourced fabrics spanning different suppliers, manufacturing batches, instruments, acquisition sessions, constituent combinations, and fabric constructions. Future studies should also incorporate the available specimen-level fibre identities and composition percentages directly into the modelling framework, enabling evaluation of constituent-specific identification, quantitative composition prediction, and the extent to which constituent-count classification is influenced by individual fibre combinations or cotton proportion.

5. Conclusions

This study compared 18 strategy–input pairs for classifying cotton-containing textiles according to the number of additional fibre types. Among the 18 strategy–input combinations, NIR GAF–DINOv2 with PCA achieved the highest mean Accuracy ( 85.03 ± 9.76 %) and AUC ( 0.8919 ± 0.1089 ), whereas NIR GAF–DINOv2 without PCA achieved the highest mean F 1 macro ( 0.7931 ± 0.1411 ).
The two NIR approaches also showed different class-specific error distributions, particularly for CO2f and CO3f. Exploratory grouped ablation of the NIR GAF–DINOv2–PCA representation showed lower F 1 macro for flattened GAF–PCA and direct scaled PAA. However, the random-encoder results varied across initialisations and the no-PCA contrast was small, with an interval spanning zero.
The complete representation, therefore, outperformed the tested representation-removal controls, but the analysis did not establish that pretrained DINOv2 weights or PCA were independently indispensable. NIR provided the strongest single-modality results, while FTIR–NIR fusion did not produce a consistent improvement over the strongest NIR configurations. The task remains constituent-count classification rather than fibre identification or quantitative composition estimation.
Accordingly, the potential practical role of the proposed approach is preliminary mixture-complexity triage before composition-specific analysis, rather than stand-alone fibre identification, quantification, or recycling-route assignment. External validation across suppliers, manufacturing batches, instruments, acquisition campaigns, fibre compositions, and fabric forms is required before operational use can be considered.

Supplementary Materials

The following supporting information can be downloaded at https://www.mdpi.com/article/10.3390/pr14233958/s1, Table S1: Aggregate summary of fibre combinations and cotton-content distributions by constituent-count class; Table S2: Detailed specimen-level fibre compositions and corresponding composition percentages; Table S3: Highest-ranked ANOVA spectral bands for FTIR, NIR, and combined FTIR–NIR inputs, including wavenumber intervals, rankings, and F-values; Figure S1: Original class-mean FTIR and NIR spectra and their corresponding 224-point PAA representations; Figure S2: PCA score plot for the NIR feature-based ML pipeline (ANOVA + PCA).

Author Contributions

Conceptualization, D.J., M.I.B., P.R. and P.M.R.; methodology, D.J., M.I.B., P.R., C.S. and P.M.R.; validation, C.S. and P.M.R.; data curation, A.M.T. and C.S.; investigation, D.J., M.I.B., P.R., A.M.T., C.S. and P.M.R.; writing—original draft, D.J., M.I.B., C.S. and P.M.R.; writing—review and editing, D.J., M.I.B., P.R., A.M.T., C.S. and P.M.R.; supervision, P.M.R.; funding acquisition, P.M.R. All authors have read and agreed to the published version of the manuscript.

Funding

This study was funded by the Integrated Project be@t—Textile Bioeconomy, to strengthen the National Bioeconomy, financed by the Environmental Fund through Component 12—Promotion of Sustainable Bioeconomy (Investment TC-C12-i01—Sustainable Bioeconomy No. 02/C12-i01.01/2022) using European funds allocated to Portugal by the Recovery and Resilience Plan (RRP) within the scope of the European Union (EU) Recovery and Resilience Mechanism in the framework of Next Generation EU for the period 2021–2026. This work was also supported by National Funds from FCT—Fundação para a Ciência e a Tecnologia through project UID/50016/2025. M.I.B. and C.S. also thank FCT and the Recovery and Resilience Plan (PRR)—Portuguese Republic, for funding through contract numbers 2023.15056.TENURE.059 and 2023.15056.TENURE.046.

Data Availability Statement

The original data presented in this study are openly available at https://github.com/PeBapRi/FTIRNIRFibers.git (accessed on 8 October 2026).

Acknowledgments

During the preparation of this manuscript, the authors used Microsoft 365 Copilot (Microsoft Corporation, Redmond, WA, USA; continuously updated cloud-based service) for language editing and readability improvements. The authors reviewed and edited the output and take full responsibility for the content of the publication.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Santos, D.; Teixeira, A.M.; Sousa, M.L.; Marinho, A.; Sousa, C. Exploring Textile Fibre Characterisation: A Review of Vibrational Spectroscopy and Chemometrics. Textiles 2026, 6, 34. [Google Scholar] [CrossRef] [Scilit]
  2. Dal Forno, A.J.; Bataglini, W.V.; Steffens, F.; Ulson de Souza, A.A. Industry 4.0 in textile and apparel sector: A systematic literature review. Res. J. Text. Appar. 2021, 27, 95–117. [Google Scholar] [CrossRef] [Scilit]
  3. Deepthi, B.; Bansal, V. Industry 4.0 in Textile and Apparel Industry: A Systematic Literature Review and Bibliometric Analysis of Global Research Trends. Vis. J. Bus. Perspect. 2022, 28, 157–170. [Google Scholar] [CrossRef] [Scilit]
  4. Peets, P.; Leito, I.; Pelt, J.; Vahur, S. Identification and classification of textile fibres using ATR-FT-IR spectroscopy with chemometric methods. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2017, 173, 175–181. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  5. Paganucci, S.; Juchli, L.; Parisi, F.; Moor, T.; Braun, L.; Wolfer, T.; Eberle, P. Accurate discrimination and quantification of cellulosic fibers using NIR hyperspectral imaging and optimized machine learning. Infrared Phys. Technol. 2026, 155, 106519. [Google Scholar] [CrossRef] [Scilit]
  6. Barbosa, M.I.; Teixeira, A.M.; Sousa, M.L.; Ribeiro, P.; Sousa, C.; Rodrigues, P.M. FTIR-Based Machine Learning Identification of Virgin and Recycled Polyester for Textile Recycling in Industry 4.0. Processes 2026, 14, 964. [Google Scholar] [CrossRef] [Scilit]
  7. Król, M.; Stoch, P.; Wójcik, S.; Nowak Przybyszewska, E.; Mozgawa, W. Machine learning-assisted vibrational spectroscopy for textile fiber identification in historical tapestries. J. Cult. Herit. 2025, 73, 571–578. [Google Scholar] [CrossRef] [Scilit]
  8. Rashed, H.S.; Mishra, P.; Nordon, A.; Palmer, D.S.; Baker, M.J. A comparative investigation of two handheld near-ir spectrometers for direct forensic examination of fibres in-situ. Vib. Spectrosc. 2021, 113, 103205. [Google Scholar] [CrossRef] [Scilit]
  9. Quintero Balbas, D.; Lanterna, G.; Cirrincione, C.; Fontana, R.; Striova, J. Non-invasive identification of textile fibres using near-infrared fibre optics reflectance spectroscopy and multivariate classification techniques. Eur. Phys. J. Plus 2022, 137, 85. [Google Scholar] [CrossRef] [Scilit]
  10. Huang, J.; He, H.; Lv, R.; Zhang, G.; Zhou, Z.; Wang, X. Non-destructive detection and classification of textile fibres based on hyperspectral imaging and 1D-CNN. Anal. Chim. Acta 2022, 1224, 340238. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  11. Li, D.; Yang, W.; Wang, S. Classification of foreign fibers in cotton lint using machine vision and multi-class support vector machine. Comput. Electron. Agric. 2010, 74, 274–279. [Google Scholar] [CrossRef] [Scilit]
  12. Fisher, O.J.; Rady, A.; El-Banna, A.A.A.; Emaish, H.H.; Watson, N.J. AI-Assisted Cotton Grading: Active and Semi-Supervised Learning to Reduce the Image-Labelling Burden. Sensors 2023, 23, 8671. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  13. Lv, Y.; Gao, Y.; Rigall, E.; Qi, L.; Gao, F.; Dong, J. Cotton Appearance Grade Classification Based on Machine Learning. Procedia Comput. Sci. 2020, 174, 729–734. [Google Scholar] [CrossRef] [Scilit]
  14. Wang, R.; Zhang, Z.F.; Yang, B.; Xi, H.Q.; Zhai, Y.S.; Zhang, R.L.; Geng, L.J.; Chen, Z.Y.; Yang, K. Detection and Classification of Cotton Foreign Fibers Based on Polarization Imaging and Improved YOLOv5. Sensors 2023, 23, 4415. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  15. Du, Y.; Dong, C.; Zhao, D.; Ren, W.; Cai, W. Application of Improved Faster RCNN Model for Foreign Fiber Identification in Cotton. Laser Optoelectron. Prog. 2020, 57, 121007. [Google Scholar] [CrossRef] [Scilit]
  16. Sharma, V.; Mahara, M.; Sharma, A. On the textile fibre’s analysis for forensics, utilizing FTIR spectroscopy and machine learning methods. Forensic Chem. 2024, 39, 100576. [Google Scholar] [CrossRef] [Scilit]
  17. Bonifazi, G.; Gasbarrone, R.; Palmieri, R.; Serranti, S. End-of-Life Textile Recognition in a Circular Economy Perspective: A Methodological Approach Based on Near Infrared Spectroscopy. Sustainability 2022, 14, 10249. [Google Scholar] [CrossRef] [Scilit]
  18. Li, J.; Meng, X.; Wang, W.; Xin, B. A novel hyperspectral imaging and modeling method for the component identification of woven fabrics. Text. Res. J. 2018, 89, 3752–3767. [Google Scholar] [CrossRef] [Scilit]
  19. Mäkelä, M.; Rissanen, M.; Sixta, H. Identification of cellulose textile fibers. Analyst 2021, 146, 7503–7509. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  20. Ribeiro, P.; Barbosa, M.I.; Sousa, C.; Rodrigues, P.M. Near-Infrared Spectroscopy Machine-Learning Spectral Analysis Tool for Blueberries (Vaccinium corymbosum) Cultivar Discrimination. Foods 2025, 14, 1428. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  21. Rodrigues, P.M.; Sousa, C. Machine Learning-Based Spectral Analyses for Camellia japonica Cultivar Identification. Molecules 2025, 30, 546. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  22. Wang, Z.; Oates, T. Imaging Time-Series to Improve Classification and Imputation. arXiv 2015, arXiv:1506.00327. [Google Scholar] [CrossRef] [Scilit]
  23. Oquab, M.; Darcet, T.; Moutakanni, T.; Vo, H.; Szafraniec, M.; Khalidov, V.; Fernandez, P.; Haziza, D.; Massa, F.; El-Nouby, A.; et al. DINOv2: Learning Robust Visual Features without Supervision. arXiv 2023, arXiv:2304.07193. [Google Scholar] [CrossRef] [Scilit]
  24. Contreras, J.; Bocklitz, T. Explainable artificial intelligence for spectroscopy data: A review. Pflügers Arch.-Eur. J. Physiol. 2024, 477, 603–615. [Google Scholar] [CrossRef] [Scilit] [PubMed]
  25. Chen, Z.; Xie, Y.; Wu, Y.; Lin, Y.; Tomiya, S.; Lin, J. An interpretable and transferrable vision transformer model for rapid materials spectra classification. Digit. Discov. 2024, 3, 369–380. [Google Scholar] [CrossRef] [Scilit]
  26. Savitzky, A.; Golay, M.J.E. Smoothing and Differentiation of Data by Simplified Least Squares Procedures. Anal. Chem. 1964, 36, 1627–1639. [Google Scholar] [CrossRef] [Scilit]
  27. Guo, C.; Li, H.; Pan, D. An Improved Piecewise Aggregate Approximation Based on Statistical Features for Time Series Mining. In Knowledge Science, Engineering and Management; Springer: Berlin/Heidelberg, Germany, 2010; pp. 234–244. [Google Scholar] [CrossRef] [Scilit]
  28. Widodo, S.; Brawijaya, H.; Samudi, S. Stratified K-fold cross validation optimization on machine learning for prediction. Sinkron 2022, 7, 2407–2414. [Google Scholar] [CrossRef] [Scilit]
  29. Sokolova, M.; Lapalme, G. A systematic analysis of performance measures for classification tasks. Inf. Process. Manag. 2009, 45, 427–437. [Google Scholar] [CrossRef] [Scilit]
  30. Hinojosa Lee, M.C.; Braet, J.; Springael, J. Performance Metrics for Multilabel Emotion Classification: Comparing Micro, Macro, and Weighted F1-Scores. Appl. Sci. 2024, 14, 9863. [Google Scholar] [CrossRef] [Scilit]
  31. Fawcett, T. An introduction to ROC analysis. Pattern Recognit. Lett. 2006, 27, 861–874. [Google Scholar] [CrossRef] [Scilit]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.