원시데이터 수집 시스템
선정목록으로

Predicting Fiber Length Characteristics of Recycled Cotton and Cellulose Fiber Blends Using Machine Learning Models

직접 관련 패션 · (24) 패션(코오롱FnC) (17) 스펀본드 부직포

기본 정보

저자
  1. Tuser Tirtha Biswas — Department of Textile Technology Faculty of Textiles Engineering and Business University of Borås Borås 501 90 Sweden
  2. M. Will — Rieter AG Winterthur 8406 Switzerland
  3. Nawar Kadi — Department of Textile Technology Faculty of Textiles Engineering and Business University of Borås Borås 501 90 Sweden
DOI
10.1002/adts.202500086
저널
Advanced Theory and Simulations
발행년도
2025
발행기관
Wiley
피인용수
0
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1002/adts.202500086
토픽
Natural Fiber Reinforced Composites
OpenAlex ID
W4410308239

평가 내용

관련도
직접 관련
사업분야
패션 · (24) 패션(코오롱FnC)
부 분야
(17) 스펀본드 부직포
R&D 측면
친환경·재활용
확신도
0.90
근거 용어
recycled cotton, cellulose fiber blends, fiber length prediction, machine learning, sustainable textiles
판단 근거
재활용 면(Recycled Cotton)과 리오셀(Lyocell) 섬유 혼합물의 섬유 길이 특성을 머신러닝으로 예측하여 지속 가능한 섬유 생산을 연구하는 논문으로, 코오롱FnC의 친환경/리사이클 섬유 소재 개발과 직접적으로 관련됨.
R&D 활용 포인트
재활용 섬유 혼합 시 발생하는 물성 불균일성을 머신러닝 모델로 예측하여, 고품질의 친환경 의류용 기능성 원단 제조 공정 최적화에 활용 가능함.
평가 입력
본문 69,113자 중 30,032자 발췌

초록

Abstract As the textile industry faces growing challenges related to sustainability, recycled fiber blending for making new yarns has emerged as a key area for reducing environmental impacts. This study aims to investigate the role of fiber length features in predicting the quality of blended yarns, particularly focusing on natural‐based fiber blends such as recycled cotton (ReCo) and Lyocell. Machine learning models, including Random Forest, Gradient Boosting, and Support Vector Regression, alongside linear and polynomial regressions, are used to predict fiber properties based on empirical data. The results show fiber length features from the Staple Diagram and Fibrogram as the most significant factors. Hyperparameter tuning has enhanced model accuracy, especially for Random Forest and Gradient Boosting, showing significant reductions in error metrics. Cross‐validation is performed to ensure the reliability of the models and prevent overfitting during the predictive analysis of fiber length features. Shapley Additive Explanations (SHAP) analysis reveals that specific fiber length ranges have the most influence on model predictions, highlighting their importance in optimizing blended yarn properties. These findings contribute to advancing sustainable textile production through data‐driven approaches and textile fiber blend optimization.

본문 69,113자

본문 펼치기
[www.advtheorysimul.com](http://www.advtheorysimul.com) # Predicting Fiber Length Characteristics of Recycled Cotton and Cellulose Fiber Blends Using Machine Learning Models ## _Tuser Tirtha Biswas,* Michael Will, and Nawar Kadi_ As the textile industry faces growing challenges related to sustainability, recycled fiber blending for making new yarns has emerged as a key area for reducing environmental impacts. This study aims to investigate the role of fiber length features in predicting the quality of blended yarns, particularly focusing on natural-based fiber blends such as recycled cotton (ReCo) and Lyocell. Machine learning models, including Random Forest, Gradient Boosting, and Support Vector Regression, alongside linear and polynomial regressions, are used to predict fiber properties based on empirical data. The results show fiber length features from the Staple Diagram and Fibrogram as ~~the most signif~~ i ~~cant factors. Hyperparameter tuning has enhanced model~~ accuracy, especially for Random Forest and Gradient Boosting, showing significant reductions in error metrics. Cross-validation is performed to ensure the reliability of the models and prevent overfitting during the predictive analysis of fiber length features. Shapley Additive Explanations (SHAP) analysis reveals that specific fiber length ranges have the most influence on model predictions, highlighting their importance in optimizing blended yarn properties. These findings contribute to advancing sustainable textile production through data-driven approaches and textile fiber blend optimization. demand, the fashion industry continues to produce textiles at an unsustainable rate, leading to excessive waste. <sup>[2]</sup> Textile waste is now one of the most significant contributors to landfills and incineration, with only a small fraction being recycled or reused. <sup>[3]</sup> The environmental impact of textile waste, particularly from synthetic fibers, necessitates urgent attention to recycling technologies to mitigate resource depletion and pollution. <sup>[4]</sup> 1. Introduction The fast fashion industry is a major contributor to global environmental degradation, driven by overconsumption and unsustainable textile production practices. <sup>[1]</sup> With increasing consumer T. T. Biswas, N. Kadi Department of Textile Technology Faculty of Textiles Engineering and Business University of Borås Borås 501 90, Sweden [E-mail: tuser.biswas@hb.se](mailto:tuser.biswas@hb.se) M.Will RieterAG Winterthur8406,Switzerland The ORCID identification number(s) for the author(s) of this article [can be found under https://doi.org/10.1002/adts.202500086](https://doi.org/10.1002/adts.202500086) © 2025 The Author(s). Advanced Theory and Simulations published by Wiley-VCH GmbH. This is an open access article under the terms of the [Creative Commons Attribution License, which permits use, distribution](http://creativecommons.org/licenses/by/4.0/) and reproduction in any medium, provided the original work is properly cited. DOI: 10.1002/adts.202500086 Textile fiber recycling has become a cru i cial area of research and industrial focus, aimed at producing new yarns and fabrics from post-consumer materials. Currently, recycled cotton and polyester blends dominate the rising market for recycled textiles due to their favorable mechanical properties and ease of processing. <sup>[5]</sup> Studies have demonstrated the successful recycling of cotton and polyester fibers into blended yarns, which are commonly used in producing lower-quality textiles such as insulation materials or coarse fabrics. <sup>[6,7]</sup> Blending recycled cotton with polyester improves yarn strength and durability, helping to overcome the reduced fiber length and strength resulting from mechanical or chemical recycling. <sup>[8]</sup> However, these blends offer only a partial solution to waste reduction, and they present challenges regarding the separation of the synthetic part for further recycling and biodegradation alternatives. <sup>[9]</sup> Despite the prevalence of synthetic fiber blends in recycled textiles, there remains a significant gap in the literature regarding the use of natural fiber blends for producing easily recyclable and biodegradable yarns. To address this gap, the present study focuses on blending post-consumer recycled cotton (ReCo) with Lyocell, a regenerated cellulose fiber, to develop a more sustainable and biodegradable yarn that aligns with circular economy principles. This approach emphasizes the need for recycling technologies that prioritize environmental impact alongside fiber quality. <sup>[10]</sup> One of the key challenges in recycling natural fibers lies in determining the optimal blending ratio and understanding the fiber properties that influence yarn quality. Machine learning (ML) can offer a powerful tool to address these challenges by predicting fiber properties, thereby enabling faster decisionmaking during yarn manufacturing. <sup>[11]</sup> By implementing machine learning models, manufacturers can improve the consistency of recycled fiber blends, ultimately producing better quality yarns. Fiber length, strength, and fineness play criti [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advtheorysimul.com](http://www.advtheorysimul.com) cal roles in producing yarns with desirable mechanical properties, spinnability, and comfort profiles. Among these, fiber length is the primary and most important factor that affects yarn quality and performance. <sup>[12]</sup> Advanced fiber length analysis using devices like the FIBROTEST provides crucial insights into fiber length properties that influence the quality of blended yarns. <sup>[13,14]</sup> FIBROTEST produces key visual fiber length features such as Staple Diagrams, Length Distribution histograms, and Fibrograms. <sup>[15]</sup> Staple Diagram aligns fibers by one end and sorts them by length. Two types of such diagrams exist, i.e., numerical or based on fiber count and weight-based. The numerical diagram highlights the proportion of short fibers, while the weight-based diagram is more correlated with fiber distribution in the yarn cross-section, providing critical insights into yarn properties. <sup>[15]</sup> Fibrogram is generated by clamping randomly distributed fibers and measuring the lengths of the protruding fibers, providing a realistic depiction of fiber length distribution under actual processing conditions. It simulates the fiber arrangement at the nip line of rollers during drafting operations. <sup>[13]</sup> Length Distribution refers to the statistical distribution of fiber lengths within a sample. Length distribution can be represented using frequency distributions to display the range and prevalence of different fiber lengths. <sup>[16]</sup> Various studies have employed ML techniques to predict and optimize key properties in fiber and fabric manufacturing. One study emphasized how ML can optimize fiber architecture and improve material formability during production. <sup>[17]</sup> Similarly, the prediction of yarn breaks for minimizing production downtime has demonstrated the application of Auto-ML and regression tasks to predict and optimize fiber properties in blended fabrics. <sup>[18]</sup> The use of Auto-ML to predict physical fabric properties such as elasticity and pilling further highlighted how ML can streamline the fabric design process. <sup>[19]</sup> The analysis of cotton fiber properties using data mining was also explored, providing a method to model fiber length and strength variations that are essential for optimizing ML models for blended fiber datasets. <sup>[20]</sup> Research into textile-reinforced composites expanded on predictive analytics in textiles, laying a foundation for applying similar models to optimize mechanical properties in blended fibers. <sup>[21]</sup> Broader applications of ML in textile production, from defect detection to process efficiency improvement, have also been investigated, reinforcing the importance of ML in enhancing both quality and efficiency across different textile processes. <sup>[11,22]</sup> The aim of this study is to investigate the key fiber length features that play a critical role in predicting the quality of blended yarns, particularly in natural fiber blends like ReCo and Lyocell. By identifying the most influential fiber properties, this research seeks to enhance the understanding of how fiber characteristics impact yarn performance. Advanced machine learning models, including Random Forest, Gradient Boosting, and Support Vector Regression (SVR), alongside basic linear and polynomial regression models, are employed to predict fiber properties. The integration of fiber length data with ML models not only deepens insights into the relationship between fiber characteristics and yarn quality but also supports the development of more sustainable, high-performance, and biodegradable textile products. Furthermore, this study contributes to the broader goal of optimizing fiber blends for improved material performance, aligning with the growing demand for eco-friendly and circular textile solutions. 2. Results 2.1. Fiber Length Features FIBROTEST was employed in this study to perform empirical fiber length measurements on Lyocell and ReCo fiber bundles, providing high-resolution optical measurements that compensate for unavoidable fiber mass variations, a common limitation in conventional testers. Figure 1 shows the digital images of a 100% Lyocell sample and a 100% ReCo sample taken by the FIBROTEST. Shorter and uneven length in the ReCo fiber bundle compared to Lyocell is clear from this figure, and a similar trend was shown by the other bundles as well. Such short length and unevenness in ReCo occurred due to the mechanical shredding of used cotton denim fabrics. A denim woven fabric undergoes several pretreatments, dyeing, and washing cycles before reaching the consumers. During consumption, the fabric also needs to withstand exposure to several physical, chemical, and biological forces such as wear and tear, light, heat, sweat, and laundering, which weaken the fiber to result in shorter lengths after recycling. FIBROTEST presented the fiber length analysis in the form of three features, i.e. Staple Diagram, Length Distribution, and Fibrogram, which were of interest for understanding prediction performance after blending by ML during this study. The behavior of the 100% Lyocell and 100% ReCo fibers individually on the three features was evaluated before studying the blends as presented in Figure 1. _2.1.1. Diagrams of Individual Fibers_ A Staple Diagram is a graphical representation of the cumulative Length Distribution of fibers when they are aligned by their edges. In this diagram, the cumulative percentage of fibers is plotted against their length. <sup>[23,24]</sup> This diagram provides insight into the distribution of fiber lengths within a sample. The Staple Diagram data for Lyocell and ReCo fibers suggests different processing characteristics. The Staple Diagram for Lyocell fibers ( Figure 2 a) displays a nearly flat cumulative fiber percentage curve that remains close to hundred percent across the measured length spectrum. This suggests that Lyocell fibers possess a very uniform Length Distribution, with a majority of the fibers having similar lengths. The Staple Diagram for Lyocell does not significantly decline until much longer lengths are reached, indicating minimal presence of short fibers. This characteristic is desirable in many textile applications as it contributes to consistent yarn quality, reduced fiber loss during processing, and less variability in fabric properties. Given the uniformity shown in the Lyocell Staple Diagram, the Length Distribution can be inferred to resemble a rectangular shape initially, which is typical of synthetic fibers that are manufactured to precise lengths. ReCo Staple Diagram (Figure 2b) shows a more gradual decline in cumulative fiber percentage starting at shorter lengths (≈4 mm). The curve steadily decreases as the fiber length increases, indicating a broader distribution of fiber lengths with [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advtheorysimul.com](http://www.advtheorysimul.com) Figure 1. Representative fiber bundle image provided by the FIBROTEST machine for a) 100% Lyocell fiber and b) 100% recycled cotton (ReCo) fiber. Figure 2. Staple Diagram, Length Distribution, and Fibrogram of 100% Lyocell and 100% recycled cotton fibers presented as a mean of three samples from each group. [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advtheorysimul.com](http://www.advtheorysimul.com) a higher proportion of shorter fibers compared to Lyocell. Such a distribution is challenging even for carding on an automated industrial carding machine without blending with longer fiber tufts. This diagram is more trapezoidal than rectangular, however, lacking the lengths desirable for cotton-based yarn spinning. A trapezoidal Staple Diagram with a flat top and tapering ends, with balanced presence of short and long fibers, is desirable for good spinning performance. These Staple Diagrams suggest that a feasible blend of Lyocell and ReCo may produce an ideal fiber bundle for carding and subsequent spinning processes. _2.1.2. Length Distribution of Individual Fibers_ Length Distribution refers to the histogram or cumulative frequency distribution of fiber lengths within a sample. <sup>[23,24]</sup> In this representation, the fibers are sorted into different length classes, and the frequency of each class is plotted as a cumulative frequency curve. The Lyocell fibers (Figure 2c) exhibit a relatively narrow Length Distribution, with the cumulative fiber percentage remaining at zero percent up to a length of 14 mm, after which it begins to increase gradually. Starting from 15 mm, the cumulative fiber percentage reaches only 0.063% by 25 mm. This gradual increase continues, reaching a cumulative fiber percentage of 7.95% at 50 mm, and tapering off at higher lengths. In contrast, ReCo fibers (Figure 2d) demonstrate a broader Length Distribution with cumulative fiber percentages rising much earlier in the length range. The data shows that the cumulative fiber percentage reaches 0.2% as early as 4 mm and increases rapidly through the subsequent length classes. At 15 mm, the cumulative fiber percentage is already ≈7%, significantly higher than that of Lyocell fibers at the same length. This trend continues with a sharp increase in cumulative fiber percentage, peaking at ≈12% by 14 mm and continuing to grow rapidly. Beyond 30 mm, the cumulative percentages decline gradually, indicating the presence of a significant proportion of short to medium length fibers. The Length Distribution comparison between Lyocell and ReCo fibers reveals significant differences. Lyocell fibers exhibit a more uniform and narrower Length Distribution, with most fibers concentrated in the mid-range lengths. This profile is advantageous for producing consistent and uniform yarns with predictable performance characteristics. On the other hand, ReCo fibers display a wider distribution of lengths, including a substantial percentage of shorter fibers and a notable presence of mid-ranges. This greater variability in ReCo fiber length could pose challenges in spinning, potentially resulting in less uniform yarns. However, the broader Length Distribution of ReCo fibers could be beneficial in applications requiring varied fiber lengths for example, specific texture or durability properties. _2.1.3. Fibrogram of Individual Fibers_ A Fibrogram is a graphical representation similar to the span length diagram, where fiber length measurements are taken after different beard preparations of the fiber sample. <sup>[23,24]</sup> It is constructed by measuring the span lengths of fibers, which involves holding the fibers in a comb-like arrangement and then plotting the measured lengths. The comparative Fibrogram analysis be tween Lyocell and ReCo fibers (Figure 2) reveals distinct differences in fiber length characteristics. The Fibrogram for Lyocell fibers exhibits a starting length of 3.8 mm with the highest percentage of the fibers measured; however, as the length increases to ≈17 mm, the cumulative percentage decreases to ≈24% and thus showing a high retention of longer fibers. The length further steadily extends to 20 mm, signifying a consistent distribution of fiber lengths. This trend continues well as fiber lengths increase, which is indicative of the superior uniformity and quality inherent to Lyocell fibers. The Fibrogram for ReCo showed a more obvious variability in fiber length characteristics. Compared to Lyocell, ReCo fibers showed a rapid decline in cumulative percentage as length increases. Such a sharp reduction suggests a significant presence of shorter fibers in ReCo. Along with the above, other key parameters derived using tangential lines drawn to the Fibrogram curve include the mean length, upper half mean length (UHML), upper quartile mean length (UQM), span length percentiles (SL), uniformity ratio (UR), and uniformity index (UI). The UHML provides a standardized measure of fiber length, similar to the manual staple length used in traditional classing, while the UI indicates the ratio of the UHML to the mean length. <sup>[25]</sup> Other derived metrics, such as the 2.5% SL, 50% SL, UR represent specific percentiles to describe the uniformity and variability of the fibers. Lyocell fibers exhibit a substantial mean length 45.6 mm, suggesting longer fibers that are favourable for spinning and fabric production. UHML of 45.4 mm also indicates a relatively uniform distribution among the longer fibers. UQM was found at 50.9 mm, suggesting the upper quartile of fibers are significantly longer, contributing to a UR of 51.3%. SL values for Lyocell at 50%, 25%, and 2.5% percentiles were 23.93, 34.01, and 46.61 mm, respectively, highlighting a favorable distribution where a significant portion of fibers exceed the half-length mark, beneficial for cohesive yarn formation. Along with UR, the UI of 98.6% suggests excellent fiber uniformity and length consistency. The mean length for ReCo fiber was found at 29.1 mm, which is notably shorter than Lyocell. The UHML was at 34.5 mm, indicating a skewed distribution toward shorter fibers. UQM was measured at 32.33 mm, showing that even the longer fibers within the ReCo sample bundle were significantly shorter than those of Lyocell. SL percentiles for 50%, 25%, and 2.5% were found as 10.1, 20.7, and 34.8 mm, respectively, demonstrating a broad spread in fiber length with a substantial percentage of much shorter fibers. ReCo UI was at 79.9%, reflecting greater fiber length variability. The short fiber content was found to be 26.74%, further highlighting the challenges in using ReCo fibers alone for high-quality yarn production. 2.2. Baseline Model Evaluation Based on the individual fiber length data, several regression models were evaluated to predict the Staple Diagram ( Table 1 ), Length Distribution ( Table 3 ), and Fibrogram ( Table 2 ) of a 50:50 ReCo and Lyocell blended fiber sample. The models compared were Linear Regression, Polynomial Regression, Random Forest, Gradient Boosting, SVR, and Elastic Net. The models were assessed based on various performance metrics, including mean absolute error (MAE), root mean square error (RMSE), R <sup>2</sup>, explained vari [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advtheorysimul.com](http://www.advtheorysimul.com) Table 1. Evaluation metrics of various machine learning models for Staple Diagram feature prediction of a recycled cotton and Lyocell blend. _Model_ _MAE_ _RMSE_ _R_ <sup>_2_</sup> _Explained_ _Variance_ _Median_ _AE_ _Predicted-L_ Linear Regression 3.67 7.16 0.9562 0.9564 2.72 62.41 Polynomial Regression 0.61 0.80 0.9995 0.9995 0.51 4.21 Random Forest 0.07 0.10 0.9999 1.0000 0.05 4.07 Gradient Boosting 0.24 0.36 0.9998 0.9999 0.19 4.28 SVR 11.23 15.35 0.8038 0.8080 8.73 30.73 Elastic Net 9.02 11.47 0.8903 0.8908 8.69 63.52 Table 2. Evaluation metrics of various machine learning models for Fibrogram feature prediction of a recycled cotton and Lyocell blend. _Model_ _MAE_ _RMSE_ _R_ <sup>_2_</sup> _Explained_ _Variance_ _Median_ _AE_ _Predicted-L_ Linear Regression 7.31 8.58 0.93521 0.93574 7.09 7.54 Polynomial Regression 1.69 2.85 0.99250 0.99251 1.18 3.04 Random Forest 0.07 0.18 0.99995 0.99995 0.04 3.97 Gradient Boosting 0.37 0.68 0.99995 0.99955 0.26 4.28 SVR 9.89 12.62 0.85988 0.86032 9.34 26.31 Elastic Net 8.95 10.86 0.89624 0.89656 7.64 ance, median absolute error (Median AE), and a single instance prediction for Length (L). For Staple Diagram feature prediction, the linear regression model yielded an MAE of 3.67 and an RMSE of 7.16, with an R <sup>2</sup> value of 0.9562. This suggests that the model captured a substantial amount of the variance in the data, but with moderate errors, particularly in RMSE. This model had a median AE of 2.72, indicating a moderate level of error in the middle range of the predictions. The predicted-L for the single instance was 62.41, which is significantly higher than the predicted weighted mean of 23.5 for Staple Diagram, indicating potential bias. Comparatively, a significant improvement was observed with the polynomial regression model, which achieved an MAE of 0.61 and an RMSE of 0.80. The model’s R <sup>2</sup> was 0.9995, indicating almost perfect predictive capability with very minimal error. A median AE of 0.51 indicates a low error in the central tendency of predictions. The Random Forest model exhibited exceptional performance, with the lowest MAE (0.068), RMSE (0.10), and the highest R <sup>2</sup> (0.9999), suggesting near-perfect accuracy in the predictions. Lowest median AE at Table 3. Evaluation metrics of various machine learning models for Length Distribution feature prediction of a recycled cotton and Lyocell blend. _Model_ _MAE_ _RMSE_ _R_ <sup>_2_</sup> _Explained_ _Variance_ _Median_ _AE_ _Predicted L_ 0.05 was found for this model, thus reflecting its exceptional accuracy across the majority of predictions. Gradient Boosting also performed well, with an MAE of 0.24 and an RMSE of 0.36, along with an R <sup>2</sup> of 0.9998. These results indicate that the model was very effective in capturing the relationships within the data. Median AE of 0.19 indicates low central tendency errors, though it is slightly higher than Random Forest. This model’s predicted-L was 4.28, aligning closely with the actual values. The SVR model had the poorest performance among all models, with an MAE of 11.23 and an RMSE of 15.35, resulting in an R <sup>2</sup> of 0.803. This suggests that the model struggled to capture the underlying patterns in the data. The predicted-L was 30.73, significantly deviating from the expected value, indicating its limitations for this dataset. The Elastic Net model, which combines linear and regularization techniques, produced an MAE of 9.02 and an RMSE of 11.47, with an R <sup>2</sup> of 0.8903. While better than SVR, it still fell short compared to the other models. Both SVR and Elastic Net models had higher median AE values, indicating substantial deviations in the median of their predictions. The model predictedL of 63.52, which was also higher than expected, indicating potential overfitting or bias. The predicted-L metric for polynomial regression, Random Forest, and Gradient Boosting models was about ≈4, which is far from the actual mean length, indicating that the prediction might be an outlier, or this metric failed to accurately capture the models. For the Staple Diagram feature, the results for R <sup>2</sup> and Explained Variance (EV) were very close, indicating that both metrics are effectively capturing the proportion of variance in the target variable explained by the models. This similarity is since both R <sup>2</sup> and EV measure the accuracy of fit, with R <sup>2</sup> focusing on how well the data fits the model, and EV showing how well the model accounts for the variability in the data. It is important to report both metrics as they offer somewhat different perspectives i.e. R <sup>2</sup> provides insight into the predictive accuracy, while EV gives an understanding of the model’s overall ability to explain variations in the data. For the Staple Diagram feature, the above results demonstrate that nonlinear models, particularly the Random Forest, Gradient Boosting, and Polynomial Regression, performed significantly better than linear models like Linear Regression and Elastic Net. The Random Forest model, with its ensemble technique, achieved near-perfect prediction accuracy, making it the most reliable model in this study. Gradient Boosting followed closely behind, showing that boosting techniques can also provide robust predictions. In contrast, SVR and Elastic Net struggled, with higher errors and lower R <sup>2</sup> values, indicating that these models may not be well-suited to this specific dataset. The substantial error in SVR suggests that it might not be appropriate for capturing the complexities within the blended fiber data. For Fibrogram feature prediction of 50:50 ReCo and Lyocell blend by ML, the linear regression model exhibited moderate performance with an MAE of 7.31 and an RMSE of 8.58. The R <sup>2</sup> and EV values indicated that the model could explain ≈93.5% of the variance in the Fibrogram data. The Median AE was relatively high at 7.09, indicating some degree of error in individual predictions. The predicted-L was 7.54 mm, which is a significant underestimation compared to the predicted weighted mean of 33.7 for Fibrogram and thus suggests potential bias. Polynomial regression showed a substantial improvement in prediction accu Linear Regression 17.10 21.88 0.58641 0.62700 14.20 67.74 Polynomial Regression - - - - - 34.87 Random Forest 7.87 16.34 0.74344 0.77273 2.41 36.01 Gradient Boosting 7.47 15.74 0.75664 0.78105 2.41 32.51 SVR 23.16 28.99 0.29576 0.33129 21.30 69.13 Elastic Net 20.04 25.79 0.42528 0.47112 16.12 77.53 [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advtheorysimul.com](http://www.advtheorysimul.com) racy, achieving an MAE of 1.69 and an RMSE of 2.85. Both the R <sup>2</sup> and EV indicated that 99.25% of the variance in the data is captured by the model. This high level of accuracy was further supported by a low Median AE of 1.18, suggesting precision in its predictions. The predicted-L was 3.04 mm, significantly lower than the predicted weighted mean and prediction by the linear regression model. The Random Forest model outperformed most of the other models, achieving the lowest MAE of 0.071 and an RMSE of 0.182. With an R <sup>2</sup> and EV of 99.995%, the model demonstrates near-perfect prediction accuracy in explaining the variance. The Median AE was exceptionally low at 0.045, indicating extremely precise predictions. However, the predicted-L of 3.97 mm was still significantly lower than the predicted weighted mean. Gradient Boosting also performed exceptionally well, with an MAE of 0.37 and an RMSE of 0.68. The R <sup>2</sup> and EV values suggested that 99.95% of the variance in the data was captured by the model. While slightly less accurate than the Random Forest, the Gradient Boosting model remains highly effective, with a Median AE of 0.26. SVR demonstrated the weakest performance among all models, with an MAE of 9.89, RMSE of 12.62, and a high Median AE of 9.34. The R <sup>2</sup> and EV values indicated that the model explains only ≈86% of the variance in the data. However, the predicted-L for the SVR model was 26.31, which is closest to the predicted weighted mean among the other models. The Elastic Net model also showed weaker performance with an MAE of 8.95 and an RMSE of 10.86. The R <sup>2</sup> value of 0.89624 and EV of 0.89656 indicate that the model accounts for ≈89.6% of the variance in the data, which is lower than most of the tested models. The predicted-L value was not possible to find for this model, suggesting potential issues with model stability or its suitability for this type of data. For the Fibrogram feature, Random Forest and Gradient Boosting demonstrated the highest accuracy and predictive power for the 50:50 ML blend. Polynomial regression also performed well and could serve as a simpler alternative to these complex models. In contrast, SVR and Elastic Net showed less favorable results, indicating that they might not be suitable for this specific feature and blend ratio. This analysis highlights the importance of model selection in accurately predicting fiber properties based on Fibrogram data. For the Length Distribution feature prediction of 50:50 ReCo and Lyocell blend by ML, the linear regression model demonstrated moderate performance, with an MAE of 17.10 and an RMSE of 21.88. The R <sup>2</sup> and EV values suggested that the model could explain only ≈60% of the variance in the data. This is lower than what was observed in the Staple Diagram and Fibrogram features, indicating that linear regression might not be as effective for Length Distribution predictions. The predicted-L value of 67.74 was significantly higher than the predicted weighted mean of 18.8. The polynomial regression model showed poor performance for the Length Distribution feature, with unrealistically large error values for MAE, RMSE, R <sup>2</sup>, EV, and Median AE, indicating that the model fails to capture any meaningful relationship within the data. These results suggest a fundamental issue with the polynomial regression approach for this specific feature, possibly due to the nature of the Length Distribution data, where the _x_ -axis data were presented by the FIBROTEST machine in ‘length class’ instead of length in mm as used for other features, i.e. Staple Diagram and Fibrogram. The Random Forest model performs reasonably well, with an MAE of 7.87 and an RMSE of 16.34. The R <sup>2</sup> and EV values indicated that the model could explain ≈75% of the variance in the Length Distribution data. The predicted-L value of 36.01 was closer than previous regression models. Gradient Boosting demonstrates similar performance to Random Forest for this feature. SVR yielded poor performance with an MAE of 23.16 and an RMSE of 28.99, along with an R <sup>2</sup> and EV values of only ≈30%. The predicted-L value of 69.13 also indicates some predictive challenges. These results suggest that the SVR model struggles to capture the underlying patterns in the Length Distribution feature data. Elastic Net’s performance was also suboptimal, with an MAE of 20.04 and an RMSE of 25.79. The R <sup>2</sup> and EV values reflect that the model only explains 43% of the variance in the data. The predicted-L value of 77.53 is quite high, which, along with the other metrics, suggests that Elastic Net may not be a good fit for the Length Distribution feature. Overall, Gradient Boosting and Random Forest emerge as the most effective models, with good predictive accuracy and relatively high explained variance. Linear Regression shows moderate performance but is less effective compared to the other two models. SVR and Elastic Net perform poorly and are not recommended for these features of blended fiber length prediction. Due to the fundamental issues observed with polynomial regression, it should be excluded from further analysis. This exclusion can still allow for meaningful comparisons across the three features, as consistent models like Gradient Boosting and Random Forest are used across all features. 2.3. Comparative Metrics Visualization Comparative metrics visualization tools like radar charts ( Figure 3 ) help to compare multiple models or experimental conditions across several criteria, providing a clear visual representation of which models or conditions perform better. It helps to identify which models perform well across various metrics and where improvements can be made. Radar plots of the model performances across staple length, Fibrogram, and Length Distribution features (Figure 3) illustrate the strengths and weaknesses of each approach. The nonlinear models, particularly Random Forest and Gradient Boosting, were consistently better than the linear models, such as linear regression and Elastic Net, across all three features. These nonlinear models demonstrated superior accuracy, evidenced by lower error rates and higher R <sup>2</sup> values, underscoring their strong capability to capture the complex relationships inherent in the ML blended fiber data. Random Forest exhibited exceptional performance across all three features, achieving near-perfect predictions, especially for staple length and Fibrogram features. The model’s ensemble approach, which aggregates the outputs of multiple decision trees, likely contributed to its enhanced performance, making it a reliable choice for predicting fiber properties. Similarly, Gradient Boosting delivered highly accurate results, closely following Random Forest in performance metrics. This reinforces the effectiveness of boosting techniques in enhancing prediction accuracy. Polynomial Regression displayed mixed results with moderate performance in staple length and Fibrogram features, but failed significantly with the Length Distribution feature. This inconsis [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advtheorysimul.com](http://www.advtheorysimul.com) Table 4. Comparison of optimized Random Forest and Gradient Boosting models across staple diagram, Fibrogram, and length distribution features after hyperparameter tuning with trained and empirical data of recycled cotton and Lyocell blends. Prediction performance metrics MAE RMSE R <sup>2</sup> EV _(i) Random forest model_ _Staple Diagram_ Trained on individual fiber data 0.05 0.07 0.99 0.99 Empirical blend data only (no training) 20.56 25.62 0.44 0.65 Trained on individual fiber data and partial empirical data _Fibrogram_ Trained on individual fiber data and partial empirical data _Length Distribution_ Trained on individual fiber data and partial empirical data _(ii) Gradient boosting model_ _Staple Diagram_ 3.45 5.57 0.97 0.97 0.62 2.32 0.99 0.99 23.58 28.32 0.36 0.36 Trained on individual fiber data 0.11 0.16 0.99 0.99 Empirical blend data only (no training) 21.18 26.83 0.39 0.61 Trained on individual fiber data and partial empirical data _Fibrogram_ Trained on individual fiber data and partial empirical data _Length Distribution_ Trained on individual fiber data and partial empirical data 5.10 6.54 0.96 0.96 2.65 3.47 0.99 0.99 23.66 28.74 0.34 0.34 Figure 3. Comparison of metrics for various regression models a) Staple Diagram b) Fibrogram c) Length Distribution of predicted recycled cotton: Lyocell 50:50 blend. tency may be attributed to the unique structure of the Length Distribution data, as mentioned above, where the polynomial regression model struggled to adapt to the data format provided by the FIBROTEST machine. This finding suggests that while Polynomial Regression can be powerful, its effectiveness is highly dependent on the specific characteristics of the dataset. Conversely, SVR and Elastic Net generally underperformed across all features, with higher error rates and lower R <sup>2</sup> values. This outcome indicates that these models may not be well-suited to the specific type of data of this study, likely due to their inherent limitations in capturing nonlinear relationships and dealing with complex, high-dimensional data. Similarly, linear regression provided moderate performance across all features but was consistently surpassed by more sophisticated models. It offered reasonable predictions, however lacked the precision and accuracy exhibited by Random Forest and Gradient Boosting. In summary, Random Forest and Gradient Boosting emerged as the top-performing models across all features, making them the most suitable choices for predicting fiber properties in a 50:50 blend of ReCo and Lyocell. The significant underperformance of SVR, Elastic Net, and Polynomial Regression for Length Distribution underscores the importance of selecting a model tailored to the specific characteristics of the fiber length dataset. 2.4. Model Optimization Through Hyperparameter Tuning During evaluation of the baseline performance, the models were trained on individual fiber data to establish an initial understanding of their predictive capabilities. This was further optimized by hyperparameter tuning on ML-generated blend data for Random Forest and Gradient Boosting models ( Table 4 ). To understand the generalization capability, these models were compared with a set of empirical data, which consisted of 50:50 ReCo:Lyocell samples blended in the laboratory using manual hand mixing and a small carder machine. Later, to enhance the performance of a model on the empirical data, a portion of this data was incorporated into the training process. Hyperparameter tuning, utilizing a Randomized Search approach, was employed to optimize the model parameters for improved predictive accuracy. Both Random Forest and Gradient Boosting models trained on individual fiber data achieved good predictions (Table 4), with low MAE and RMSE values for the Staple Diagram feature. The R <sup>2</sup> and EV showed the models’ ability to be 99% for predicting the outcomes when the characteristics were consistent with the training set. This result was expected since the models were trained and tested on data that had no variability beyond what they were already familiar with. When these models were tested on empirical data without prior exposure during training, their performance dropped significantly. The Random Forest model’s RMSE [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advtheorysimul.com](http://www.advtheorysimul.com) increased to over 25, with an MAE of ≈20. Similarly, the Gradient Boosting model exhibited an RMSE of over 26 and an MAE of ≈21. These results are indicative of the models’ inability to generalize from individual fiber data to the empirical 50:50 ReCo and Lyocell blend data. R <sup>2</sup> and EV values dropped significantly, reflecting that the models struggle to accurately predict the outcomes. Later, incorporating a proportion of empirical data into the training process led to notable improvements in prediction accuracy on the empirical test set predictions. For Random Forest, the RMSE improved to 5.57 and the MAE dropped to 3.45, with an R <sup>2</sup> and EV score of 0.97. Gradient Boosting showed a similar trend, with RMSE improving to 6.54, MAE dropping to 5.10, and R <sup>2</sup> and EV scores of 0.96. For Fibrogram and Length Distribution features, hyperparameter tuning was done using the approach of training with partial empirical data, since the other two approaches i.e., training only on individual fiber data and evaluating on empirical data without training, showed a significant performance gap for the Staple Diagram feature. Applying the same hyperparameter tuning approach across different models ensures consistency in the methodology and direct comparison of model performance. Upon such hyperparameter tuning for Fibrogram (Table 4), Random Forest achieved an RMSE of 2.32, MAE of 0.62, and R <sup>2</sup> and EV scores of 0.99. Gradient Boosting achieved an RMSE of 3.47, MAE of 2.65, and R <sup>2</sup> and EV scores of 0.99. These metrics indicate that, like the Staple Diagram data, both models performed exceptionally well when tested on empirical data, after being tuned on a combination of ML blended and empirical blended data. The Random Forest model seems to generalize better and perform more accurately on empirical data in the context of Fibrogram data as compared to Staple Diagram data. The lower RMSE and MAE values suggest that the model was able to capture the variability within the Fibrogram data more effectively. Like the Random Forest model, the Gradient Boosting model showed better performance on the Fibrogram data than on the Staple Diagram data. The improved RMSE and MAE values indicate that the Gradient Boosting model was better suited to handle the characteristics of the Fibrogram data. These findings indicate that while both models are effective, the choice of model and the data on which it is trained can significantly influence predictive accuracy. The Length Distribution feature exhibited the weakest performance metrics for both Random Forest and Gradient Boosting models (Table 4), with RMSE values exceeding 28, MAE exceeding 23, and R <sup>2</sup> scores as low well 0.34. This suggests that the Length Distribution feature might possess complexities or noise that the models struggled to capture effectively, or that the data available for this feature was less conducive to the models’ learning process. For this feature, 123 data points for each sample were generated by the FIBROTEST machine, and the same was fed to the machine learning process, compared to 1761 data points for each Fibrogram and 1188 data points for each Staple Diagram sample. The considerable differences in model performance across the three features highlight the varying levels of challenge they present for predictive modelling. <sup>[26–28]</sup> Staple Diagram and Fibrogram features were easier for the models to predict accurately, possibly due to a less complex relationship or less noise in the data. The Length Distribution feature presented a more complex challenge, resulting in significantly worse performance metrics. This could be due to the nature of the data, where the distribution patterns are more difficult to model, or due to potential underlying noise and variability in the data. These findings underscore the importance of feature-specific analysis in predictive modelling. While the models showed strong performance in some areas, they struggled with the more complex Length Distribution feature, indicating the need for further refinement, possibly through more sophisticated models or additional data preprocessing techniques. Furthermore, these results suggest that future research should explore different modelling approaches or additional feature engineering to better capture the distinctions of the Length Distribution data. 2.5. Model Interpretability with SHAP Analysis Given the better performance of the Random Forest model in the hyperparameter tuning stage across most of the features, as well as its ability to handle the complexity of blended fiber data, an interpretability phase using SHAP analysis was conducted ( Figure 4 ). Unlike simpler linear models, where the feature contributions are directly proportional to their coefficients, Random Forest models require more sophisticated tools for interpretation. SHAP analysis helps to gain insights into the contribution of each feature to the model’s predictions. <sup>[29–31]</sup> It also helps to understand how different features influence the predictions of fiber properties in a blend of two different fibers. SHAP values offer a vigorous method for interpreting complex models like Random Forest, allowing to assess the impact of each input feature on the output predictions. The SHAP values for the Staple Diagram indicate its significant influence on the model predictions. The mean absolute SHAP value for this feature was 29.9, suggesting that variations in the Staple Diagram have a substantial impact on the predicted outcomes. The Fibrogram feature also showed importance with a mean absolute SHAP value of 7.5, indicating its critical role in the predictions. These two features had the higher mean absolute SHAP values, indicating a substantial impact on model predictions. Length Distribution feature with a mean absolute SHAP value of 1.04, was less influential than the Staple Diagram and Fibrogram but still plays a significant role in the predictions of models. The SHAP plot revealed that an increase in the length classes could push the predictions higher. The SHAP values for Staple Diagram and Fibrogram indicated that higher fiber lengths positively influenced the model predictions, as denoted by the predominantly red points (positive SHAP values) on the right side of the plot. Staple Diagram was more influenced by longer fiber lengths, while for Fibrogram, the key predictors were fiber percentages at shorter lengths. The Length Distribution feature had a moderate impact, with a mix of positive and negative SHAP values. This mixed impact suggests that these features have a subtle influence on the output of the model, depending on other feature interactions. Overall, the spread of SHAP values and magnitude reveal the robustness and generalizability of the Random Forest model. Further work should focus on the most influential features identified by SHAP to refine and optimize the predictive mod [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advtheorysimul.com](http://www.advtheorysimul.com) Figure 4. Importance of a) Staple Diagram, b) Fibrogram, and c) Length Distribution features interpreted by Shapley Additive Explanations (SHAP). els further. When multiple models are used, it will be critical to compare how each model assesses the importance of features. Consistency across models in determining how features are valued strengthens the reliability of the findings. In the future, new features can be included that can better capture the relationships and interactions between different fiber types to improve model performance. Exploring more sophisticated machine learning models, such as neural networks or ensemble methods that combine the strengths of Random Forest and Gradient Boosting, might provide further gains in predictive accuracy. 3. Conclusion This study demonstrates the potential of machine learning models in predicting the quality of blended yarns by analyzing fiber length features from recycled cotton and Lyocell blends. The models were trained and evaluated using three key fiber length features, e.g. Staple Diagram, Length Distribution, and Fibrogram. The study was carried out using a systematic approach of model training on 100% single-fiber data, followed by testing on empirical blended fiber data, and finally optimizing performance [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advtheorysimul.com](http://www.advtheorysimul.com) by incorporating partial empirical data into the training set. The results showed that fiber length features derived from the Staple Diagram and Fibrogram were the most significant predictors of fiber length. Models like Random Forest and Gradient Boosting exhibited the best performance across all metrics, including MAE, RMSE, R <sup>2</sup>, and Explained Variance, especially after hyperparameter tuning. The initial training phase on individual fiber data provided a solid baseline; however, testing empirical blended data revealed the weakness of models. By incorporating a portion of the empirical blended data into the training set, accuracy improved further, particularly in capturing the non-linear interactions between different fiber properties. Random Forest showed the best generalization capabilities, followed closely by Gradient Boosting, with SVR performing moderately. The use of SHAP analysis further revealed which fiber length ranges had the greatest impact on the predictions, offering valuable insights into the critical fiber properties for optimizing blended yarn production. Overall, the study highlights the effectiveness of machine learning in improving fiber blend optimization and suggests that integrating fiber length analysis with ML models can lead to better control over yarn quality, supporting the development of sustainable and high-performance textiles. 4. Experimental Section _Data_ _Collection_ : ReCo fibers were mechanically shredded from blue denim fabrics and kindly provided by Pure Waste Textiles Oy (Finland). Lyocell fibers were supplied by Wagenfelder Spinnereien GmbH (Germany). Empirical data on fiber length features were assessed by FIBROTEST FBF Short Fiber (TEXTECHNO, Herbert Stein GmbH & Co. KG). The instrument was equipped with a semiconductor laser and a charged-coupled device (CCD) line camera, which serve as the primary components of its optical system for length scanning. The FIBROTEST measures fiber lengths ranging from 3.8 to 60 mm, suitable for short staple fibers as ReCo, and operates at a variable testing speed, typically set at 200 mm.min <sup>−1</sup>, but adjustable between 10 to 300 mm.min <sup>−1</sup> . The system’s force measurement capabilities span from 1 to 500 N. The clamping pressure, which holds the fiber sample during testing, can be adjusted between 2 and 6 bar, allowing for flexibility depending on the fiber’s characteristics. FIBROTEST’s detailed working principle, testing procedure, and obtained data validity have been discussed in the literature. <sup>[15,32,33,23]</sup> In practice, a bundle of fibers was prepared and aligned in a comb-type sample holder. For this preparation step, two operators were used for each sample type and thus accounted for any operator effects. The fibers were then clamped and brushed to straighten them, followed by the measurement of the protruding fiber lengths. FIBROTEST records these lengths, which were then used to calculate various fiber length features such as Staple Diagram, Fibrogram, and Length Distribution. This comprehensive data set provides a detailed profile of the fiber Length Distribution, essential for determining the fiber’s spinning potential. The FIBROTEST does not require calibration with standard calibration cotton. The entire testing process was automated once the sample holder was inserted into the device, simplifying operation and reducing operator variability. _Data_ _Preprocessing_ : Data preprocessing was an essential step in ensuring the quality and consistency of the dataset, thus improving the performance and accuracy of the machine learning models. Missing values in the dataset were addressed to maintain data integrity and avoid biased results. Outliers were identified and treated to prevent skewed model predictions. Detected outliers were reviewed in context with the domain knowledge and either retained or capped within acceptable limits. _Model_ _Training_ : Initially, various ML models were trained using empirical data from 100% ReCo and 100% Lyocell of different fiber length features, such as Staple Diagram, Length Distribution, and Fibrogram to where, _̂_ _yi_ was the predicted output for instance _i_, _M_ was the number of weak learners (trees), _?_ m was the learning rate, _hm_ was the prediction from the m <sup>th</sup> weak learner, _?_ was the residual error at each stage. <sup>[36]</sup> At each step, the new model was fitted to reduce the residuals (errors) from the previous stage, thus improving the overall accuracy. SVR constructs a hyperplane in high-dimensional space, attempting to minimize the error within a margin. It was particularly useful for datasets with a clear margin of separation and performs well when the relationship between variables was non-linear. SVR uses a kernel function to transform the input data into higher dimensions, making it ideal for fiber datasets that may have complex underlying relationships. However, it was sensitive predict the same features for a 50:50 ReCo:Lyocell blend. The models evaluated include both linear and non-linear approaches with capabilities for capturing the relationships between features. The models were linear regression, polynomial regression, Random Forest, Gradient Boosting, SVR, and Elastic Net. The linear regression model assumes a linear relationship between the input features and the target variable. It estimates the coefficients that minimize the difference between observed and predicted values. Linear regression can be represented as y = _?_ 0 + _?_ 1x1 + _?_ 2x2 + ⋯ + _?_ nxn (1) where, _y_ was the predicted output, _?_ 0 was the intercept, and _?_ 1, _?_ 2 ⋯ _?_ n were the coefficients for the independent variables and x1, x2 ⋯ xn were the independent variables. <sup>[34]</sup> Polynomial regression extends linear regression by adding polynomial terms to the input features, allowing the model to capture more complex relationships. It was particularly useful when the relationship between the dependent and independent variables was non-linear. A second-degree polynomial regression can be represented as y = _?_ 0 + _?_ 1x + _?_ 2x <sup>2</sup> + ⋯ + _?_ nx <sup>n</sup> (2) where _y_ was the predicted output, _?_ 0 was the intercept, and _?_ 1, _?_ 2 ⋯ _?_ n were the coefficients for the independent variables, x was the independent variable raised to different powers. <sup>[34]</sup> Random Forest was an ensemble learning method that combines multiple decision trees to enhance prediction accuracy and prevent overfitting. Each tree was trained on a random subset of the data, and the final prediction was made by averaging the outputs of all the trees. The model was often used for capturing complex, non-linear relationships in highdimensional data. The key strength of this model was its ability to handle the high variability in fiber length data, as it reduces variance and overfitting. Random Forest can also rank feature importance, providing insights into which fiber characteristics most influence the predictions. The model can be represented as _y_ = <sup><u>1</u></sup> _T_ ∑ _T_ _t_ =1 _.ft_ ( _x_ ) (3) where, _̂ y_ was the predicted output, _T_ was the total number of trees in the forest, ft(x) was the prediction from the t <sup>th</sup> decision tree for input _x_ . <sup>[35]</sup> Gradient Boosting was another ensemble technique that builds models sequentially, where each model corrects the errors of its predecessor. By focusing on reducing the residual errors, Gradient Boosting achieves high predictive accuracy, especially for non-linear data. This method can be advantageous for fiber length prediction as it can capture intricate patterns that may be missed by simpler models like linear regression. The model can be represented as _yi_ = ∑ _M_ _m_ =1 _.?mhm_ ( _xi_ ) + _?_ (4) [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advtheorysimul.com](http://www.advtheorysimul.com) to hyperparameters and may require tuning for optimal performance. The model can be represented as _f_ ( _x_ ) = ∑ _n_ _._ ( _?i_ - _a_ <sup>∗</sup> _i_ =1 _i_ <sup>)</sup> <sup>_K_</sup> <sup>(</sup> <sup>_x_</sup> _i_ <sup>_, x_</sup> <sup>) +</sup> <sup>_b_</sup> (5) better model performance, especially in cases where minimizing large deviations was critical. R <sup>2</sup>, or the coefficient of determination, measures the proportion of variance in the dependent variable that was predictable from the independent variables. It was a key metric for understanding how well the model captures the variation in the data. It can be represented as where _f(x)_ was the predicted value for input _x_, _K(xi,x)_ was the kernel function that defines the similarity between data points, _?_ i, _?_ <sup>∗</sup> i were Lagrange multipliers for the support vectors, _b_ was the bias term, _xi_ were the support vectors. The kernel function allows SVR to handle non-linear relationships by transforming the input space into a higher-dimensional space where the data becomes linearly separable. <sup>[36]</sup> Elastic Net was a regularized linear regression model that combines the penalties of Lasso and Ridge regularization. This model was particularly beneficial for high-dimensional data where some features may be correlated. Elastic Net can shrink coefficients, thus improving model generalization and preventing overfitting, making it highly suitable for fiber length prediction where multiple features might influence the outcome. The model can be represented as _R_ <sup>2</sup> = 1 − ∑ _n_ <sup>_̂_</sup> ∑ _n_ _<u>i</u>_ <u>=1</u> <sup>(</sup> <sup>_y_</sup> <sup><u>i</u></sup> <sup>−</sup> <sup>_̂ y_</sup> <sup><u>i)2</u></sup> ~~∑~~ _n_ <sup>_̄_</sup> <sup>_̂_</sup> _n_ (9) _i_ =1 <sup>(</sup> <sup>_y_</sup> <sup>i −</sup> <sup>_̄ y_</sup> <sup>)2</sup> | _?i_ | + _?_ 2 _?i_ 2 (6) Elastic Net Loss = RSS + _?_ 1 ∑ ∑ where _yi_ was the actual value, _ˆyi_ was the predicted value, _¯y_ was the mean of the actual values. R <sup>2</sup> value closer to 1 indicates that the model explains most of the variance, while values closer to 0 suggest poor predictive power. EV measures the portion of variance explained by the model. It focuses on how well future predictions were likely to match actual values. It can be represented as _EV_ = 1 − <sup><u>Var (</u></sup> <sup>_<u>y</u>_</sup> <sup>−</sup> <sup>_̂ y_</sup> <sup><u>)</u></sup> (10) Var ( _y_ ) where _y_ was the actual value, _ˆy_ was the predicted value, and _Var_ refers to variance. Like R <sup>2</sup>, a higher EV score indicates a model that was better at generalizing beyond the training data. It was especially useful in scenarios where the goal was to predict unseen or future data accurately. Predicted-L does not follow a specific mathematical formula but was derived from the output of each trained machine learning model based on the input features e.g. Staple Diagram, Length Distribution, and Fibrogram. The predicted-L was critical for understanding the practical application of the model. It allows for direct comparison between the model’s output and actual physical measurements of fiber length, providing insight into the real-world accuracy and utility of the models. _Model_ _Optimization_ _and_ _Interpretation_ : The models were initially trained solely on data from individual fiber types, without any blending of fibers. This provided a baseline understanding of how well the models could predict fiber length features when trained on homogeneous data as detailed above. After this step, promising models like Random Forest and Gradient Boosting hyperparameters were optimized using a Randomized Search approach. This method involves sampling a wide range of hyperparameters at random to identify the best configuration, rather than exhaustively searching the entire parameter space. <sup>[38]</sup> This also allowed the identification of the best set of parameters that maximized model performance. The final models were initialized using these optimized parameters and tested on the hold-out set to evaluate their predictive accuracy. The empirical data, which consisted of blended fiber data, was used to test the models trained on individual fiber data. This step highlighted the predictive capabilities of the models when encountering data that differs from their training set in terms of composition and complexity. To further enhance the predictive performance, a portion of the blended fibers’ empirical data was integrated into the training set along with the individual fiber data. The models were then hyperparameter-tuned again to find the optimal set of parameters that could improve the performance of the models. Cross-validation, particularly k-fold cross-validation, was employed to validate the model’s performance across multiple subsets of the data, preventing overfitting and ensuring robustness. The effectiveness of this strategy was then assessed by evaluating performance on the remaining unseen empirical data. To gain insights into the decision-making processes of the ML models, Shapley Additive Explanations (SHAP) was employed as a method for interpreting model predictions. SHAP was a framework that quantifies the contribution of each feature to the output of the model, thereby providing interpretability without compromising model complexity. <sup>[39]</sup> By breaking down individual predictions, SHAP allows for the analysis of how each feature influences the predicted outcome. The SHAP values represent the contribution of each feature, with positive SHAP values indicating that the feature increases the prediction outcome, and negative SHAP values suggesting a decrease. Features with larger absolute SHAP val where, RSS means residual sum of squares, _?_ 1 was the regularization parameter for Lasso regression (L1), _?_ 2 was the regularization parameter for Ridge regression (L2), _?_ i was the coefficient for the i <sup>th</sup> feature, ∑∣ _?_ i∣ was the L1 regularization term, which encourages sparsity, ∑ _?_ i <sup>2</sup> was the L2 regularization term, which encourages smaller values for the coefficients to prevent overfitting. <sup>[37]</sup> The models were initially trained on 60 datasets, consisting of individual fiber samples and a separate test set of 60 samples from a 50:50 ReCo: Lyocell blend. The training process involved splitting the dataset into a training set and a hold-out test set. Initially, 80% of the dataset was used for training the models, while the remaining 20% was reserved for testing. In addition, k-fold cross-validation (typically with k = 5) was employed to further validate the models and ensure robustness. This method splits the training data into k subsets (folds), with each fold being used as the validation set while the remaining k-1 folds were used for training. This process was repeated k times, and the performance of a model was averaged across the folds to ensure generalizability and to minimize overfitting. _Model Evaluation_ : The performance of each model was evaluated using several metrics e.g. mean absolute error (MAE), root mean square error (RMSE), coefficient of determination (R <sup>2</sup> ), explained variance (EV), and predicted length (L). MAE can be represented as MAE = <sup><u>1</u></sup> _n_ ∑ _n_ _i_ =1 || _y_ i − _̂ y_ i|| (7) where _yi_ was the actual value, _ˆyi_ was the predicted value, and _n_ was the number of data points. MAE measures the average absolute difference between the predicted and actual values, providing a straightforward interpretation of the accuracy of a model. A lower MAE indicates better model accuracy, making it important for assessing how close the model predictions were to the actual values on average. RMSE provides a quadratic penalization for large errors, which means that larger deviations between the actual and predicted values have a disproportionately higher impact on the final score. It can be represented as ∑ _n_ _i_ =1 RMSE = √ √ √ √ <sup><u>1</u></sup> _n_ ( _y_ i − _̂ y_ i) <sup>2</sup> (8) where _yi_ was the actual value, _ˆyi_ was the predicted value, and _n_ was the number of data points. It was particularly useful when larger errors were more significant or impactful than smaller ones. A lower RMSE suggests [www.advancedsciencenews.com](http://www.advancedsciencenews.com) [www.advtheorysimul.com](http://www.advtheorysimul.com) ues were considered more influential in driving the predictions of models. SHAP was utilized to interpret the predictions of the models trained on fiber length features. SHAP summary plots were used to rank the importance of the features across all predictions. Features with consistently high SHAP values, whether positive or negative, were recognized as the most influential in driving the model’s outcomes. This interpretative step was used for understanding which fiber properties had the most significant effect on the ability of a model to predict blended fiber length characteristics. Acknowledgements This work has been co-funded by the Zürcher Stiftung für Textilforschung (project 171-SERcot), Vinnova (2021-04740) and the Swedish Institute. Conflict of Interest The authors declare no conflict of interest. Data Availability Statement The data that support the findings of this study are available from the corresponding author upon reasonable request. Keywords fiber blending, fiber length prediction, machine learning, recycled textiles, sustainable textiles Received: January 14, 2025 Revised: April 17, 2025 Published online: May 12, 2025 [1] R. Rathinamoorthy, _Sustainable_ _Innovations_ _in_ _Recycled_ _Textiles_, Springer, United State 2018 . [2] D. G. K. Dissanayake, D. U. Weerasinghe, _Mater. Circ. Econ._ 2021, _3_, 24. [3] R. B. Baloyi, O. J. Gbadeyan, B. Sithole, V. Chunilall, _Text. Res. J._ 2023, _94_, 508. [4] P. Harmsen, C. Slottje, M. Baggerman, E. Sillekens, _Biological degra-_ _dation_ _of_ _textiles:_ _and_ _the_ _relevance_ _to_ _textile_ _recycling_, Wageningen Food & Biobased Research, Wageningen, Netherlands 2021 . [5] M. E. Yuksekkaya, G. Celep, G. Dogan, M. Tercan, B. Urhan, _Journal_ _of Engineered Fibers and Fabrics_ 2016, _11_, 155892501601100209. [6] B. Ütebay, P. Çelik, A. Çay, _J. Cleaner Prod._ 2019, _222_, 29. [7] S. Radhakrishnan, V. A. Senthil Kumar, _Sustainable Innovations in Re-_ _cycled Textiles_ (Ed.: S. Muthu), Springer, Singapore 2018, pp. 53–82. [8] A. Telli, O. Babaarslan, _Textile and Apparel_ 2017, _27_, 224. [9] S. Liu, C. K. Y. Lo, C. Kan, _Color. Technol._ 2022, _138_, 117. [10] R. M. Nofal, _Handbook of Biodegradable Materials_ (Eds.: G. A. M. Ali, A. S. H. Makhlouf), Springer, Cham 2022, pp. 1–37. [11] P. Yildirim, D. Birant, T. Alpyildiz, _WIREs Data Mining and Knowledge_ _Discovery_ 2018, _8_, 1228. [12] H. Jamshaid, U. Hussain, R. Mishra, M. Tichy, M. Muller, _Cleaner_ _Engineering and Technology_ 2021, _5_, 100341. [13] X. Cui, Y. Cai, C. Delhom, J. Rodgers, V. Martin, M. Watson, In Pro ceeding of 2013 Beltwide Cotton Conference, Louisiana State University, San Antonio, Texas 2013, 799. [14] I. A. Ebaido, _European Journal of Applied Sciences–Vol_ 2022, _10_, 147. [15] M. H. J. van der Sluijs, C. D. Delhom, V. B. Martin, _The Journal of The_ _Textile Institute_ 2021, _112_, 1377. [16] B. Azzouz, M. B. Hassen, F. Sakli, _Modelling and Simulation in Engi-_ _neering_ 2007, _2007_ . [17] C. Zimmerling, D. Dörr, F. Henning, L. Kärger, _Composites,_ _Part_ _A_ 2019, _124_, 105459. [18] J. Azevedo, R. Ribeiro, L. M. Matos, R. Sousa, J. P. Silva, A. Pilastri, P. Cortez, _Procedia Computer Science_ 2022, _207_, 2301. [19] R. Ribeiro, A. Pilastri, C. Moura, F. Rodrigues, R. Rocha, J. Morgado, P. Cortez, (Eds: I. Maglogiannis, L. Iliadis, E. Pimenidis), In _Artificial_ _Intelligence Applications and Innovations_, Springer International Publishing, Cham 2020 . [20] S. Chakraborty, S. Agarwal, S. S. Dandge, _Journal of The Institution of_ _Engineers (India): Series E_ 2018, _99_, 163. [21] H. Wang, H. Memon, R. Abro, A. Shah, _Fibers_ _&_ _Textiles_ _in_ _Eastern_ _Europe_ 2020, _28_, 18. [22] C.-Y. Lee, J.-Y. Lin, R.-I. Chang, _International Journal of Technology and_ _Engineering Studies_ 2018, _4_, 10004. [23] A. Drieling, _Cotton fibres: Characteristics, uses and performance_ (Eds.: S. Gordon, N. Abidi), Nova Science Publishers, New York, NY 2017, pp. 87–114. [24] C. D. Delhom, B. Kelly, V. Martin, (Ed: D.D. Fang), In _Cotton_ _Fiber:_ _Physics,_ _Chemistry_ _and_ _Biology_, Springer International Publishing, Cham 2018 . [25] C. Turner, M. A. Sayeed, E. Hequet, _Text. Res. J._ 2023, _93_, 1651. [26] A. Metin, T. T. Bilgin, _PeerJ Computer Science_ 2024, _10_, 2188. [27] H. Medina, M. Peña, L. Siguenza-Guzman, R. Guamán, In _Interna-_ _tional Conference on Applied Technologies_, Springer, United State 2021 . [28] K. Arai, J. Shimazoe, M. Oda, _Information_ 2024, _15_, 434. [29] B. Forsberg, D. H. Williams, P. B. MacDonald, T. Chen, D. R. Hamzeh, D. K. Hulse, arXiv 2024, arXiv:2407.18544. [30] Y. Song, K. Kim, S. Park, S.-K. Park, J. Park, _Constr. Build. Mater._ 2023, _363_, 129560. [31] R. J. Soon, C.-K. Chui, In _2024 IEEE Conference on Artificial Intelligence_ _(CAI)_, IEEE, Singapore, 2024 . [32] G. Kugler, FIBROTEST Tester Recognition. Monchengladbach: TEX TECHNO Herbert Stein GmbH & Co. KG 2012 .. [33] M. Hengstermann, G. Bardl, H. Rao, A. Abdkader, M. M. Badrul Hasan, C. Cherif, _Fibers & Textiles in Eastern Europe_ 2016, _4_, 39. [34] D. C. Montgomery, E. A. Peck, G. G. Vining, _Introduction to linear re-_ _gression analysis_, Fifth edition, John Wiley & Sons Ltd, Hoboken, New Jersey 2012 . [35] G. James, D. Witten, T. Hastie, R. Tibshirani, _An Introduction to Sta-_ _tistical_ _Learning_ _:_ _with_ _Applications_ _in_ _R_, 1st ed., Springer, New York 2013 . [36] T. Hastie, R. Tibshirani, J. H. Friedman, _The_ _elements_ _of_ _statistical_ _learning_ _:_ _data_ _mining,_ _inference,_ _and_ _prediction_, Springer, New York 2001 . [37] H. Zou, T. Hastie, _Journal of the Royal Statistical Society. Series B (Sta-_ _tistical Methodology)_ 2005, _67_, 301. [38] J. Bergstra, Y. Bengio, _Journal_ _of_ _machine_ _learning_ _research_ 2012, _13_, 281. [39] S. Mangalathu, S.-H. Hwang, J.-S. Jeon, _Engineering Structures_ 2020, _219_, 110927.

섹션 본문 63문단 · 55,922자

(제목 없음)

1As the textile industry faces growing challenges related to sustainability, recycled fiber blending for making new yarns has emerged as a key area for reducing environmental impacts.This study aims to investigate the role of fiber length features in predicting the quality of blended yarns, particularly focusing on natural-based fiber blends such as recycled cotton (ReCo) and Lyocell.Machine learning models, including Random Forest, Gradient Boosting, and Support Vector Regression, alongside linear and polynomial regressions, are used to predict fiber properties based on empirical data.The results show fiber length features from the Staple Diagram and Fibrogram as the most significant factors.Hyperparameter tuning has enhanced model accuracy, especially for Random Forest and Gradient Boosting, showing significant reductions in error metrics.Cross-validation is performed to ensure the reliability of the models and prevent overfitting during the predictive analysis of fiber length features.Shapley Additive Explanations (SHAP) analysis reveals that specific fiber length ranges have the most influence on model predictions, highlighting their importance in optimizing blended yarn properties.These findings contribute to advancing sustainable textile production through data-driven approaches and textile fiber blend optimization.

Introduction

2The fast fashion industry is a major contributor to global environmental degradation, driven by overconsumption and unsustainable textile production practices. [1]With increasing consumer DOI: 10.1002/adts.202500086demand, the fashion industry continues to produce textiles at an unsustainable rate, leading to excessive waste. [2]Textile waste is now one of the most significant contributors to landfills and incineration, with only a small fraction being recycled or reused. [3]he environmental impact of textile waste, particularly from synthetic fibers, necessitates urgent attention to recycling technologies to mitigate resource depletion and pollution. [4]extile fiber recycling has become a crucial area of research and industrial focus, aimed at producing new yarns and fabrics from post-consumer materials.Currently, recycled cotton and polyester blends dominate the rising market for recycled textiles due to their favorable mechanical properties and ease of processing. [5]Studies have demonstrated the successful recycling of cotton and polyester fibers into blended yarns, which are commonly used in producing lower-quality textiles such as insulation materials or coarse fabrics. [6,7]Blending recycled cotton with polyester improves yarn strength and durability, helping to overcome the reduced fiber length and strength resulting from mechanical or chemical recycling. [8]However, these blends offer only a partial solution to waste reduction, and they present challenges regarding the separation of the synthetic part for further recycling and biodegradation alternatives. [9]espite the prevalence of synthetic fiber blends in recycled textiles, there remains a significant gap in the literature regarding the use of natural fiber blends for producing easily recyclable and biodegradable yarns.To address this gap, the present study focuses on blending post-consumer recycled cotton (ReCo) with Lyocell, a regenerated cellulose fiber, to develop a more sustainable and biodegradable yarn that aligns with circular economy principles.This approach emphasizes the need for recycling technologies that prioritize environmental impact alongside fiber quality. [10]ne of the key challenges in recycling natural fibers lies in determining the optimal blending ratio and understanding the fiber properties that influence yarn quality.Machine learning (ML) can offer a powerful tool to address these challenges by predicting fiber properties, thereby enabling faster decisionmaking during yarn manufacturing. [11]By implementing machine learning models, manufacturers can improve the consistency of recycled fiber blends, ultimately producing better quality yarns.Fiber length, strength, and fineness play criti-cal roles in producing yarns with desirable mechanical properties, spinnability, and comfort profiles.Among these, fiber length is the primary and most important factor that affects yarn quality and performance. [12]Advanced fiber length analysis using devices like the FIBROTEST provides crucial insights into fiber length properties that influence the quality of blended yarns. [13,14]FIBROTEST produces key visual fiber length features such as Staple Diagrams, Length Distribution histograms, and Fibrograms. [15]Staple Diagram aligns fibers by one end and sorts them by length.Two types of such diagrams exist, i.e., numerical or based on fiber count and weight-based.The numerical diagram highlights the proportion of short fibers, while the weight-based diagram is more correlated with fiber distribution in the yarn cross-section, providing critical insights into yarn properties. [15]Fibrogram is generated by clamping randomly distributed fibers and measuring the lengths of the protruding fibers, providing a realistic depiction of fiber length distribution under actual processing conditions.It simulates the fiber arrangement at the nip line of rollers during drafting operations. [13]ength Distribution refers to the statistical distribution of fiber lengths within a sample.Length distribution can be represented using frequency distributions to display the range and prevalence of different fiber lengths. [16]arious studies have employed ML techniques to predict and optimize key properties in fiber and fabric manufacturing.One study emphasized how ML can optimize fiber architecture and improve material formability during production. [17]Similarly, the prediction of yarn breaks for minimizing production downtime has demonstrated the application of Auto-ML and regression tasks to predict and optimize fiber properties in blended fabrics. [18]The use of Auto-ML to predict physical fabric properties such as elasticity and pilling further highlighted how ML can streamline the fabric design process. [19]The analysis of cotton fiber properties using data mining was also explored, providing a method to model fiber length and strength variations that are essential for optimizing ML models for blended fiber datasets. [20]Research into textile-reinforced composites expanded on predictive analytics in textiles, laying a foundation for applying similar models to optimize mechanical properties in blended fibers. [21]Broader applications of ML in textile production, from defect detection to process efficiency improvement, have also been investigated, reinforcing the importance of ML in enhancing both quality and efficiency across different textile processes. [11,22]he aim of this study is to investigate the key fiber length features that play a critical role in predicting the quality of blended yarns, particularly in natural fiber blends like ReCo and Lyocell.By identifying the most influential fiber properties, this research seeks to enhance the understanding of how fiber characteristics impact yarn performance.Advanced machine learning models, including Random Forest, Gradient Boosting, and Support Vector Regression (SVR), alongside basic linear and polynomial regression models, are employed to predict fiber properties.The integration of fiber length data with ML models not only deepens insights into the relationship between fiber characteristics and yarn quality but also supports the development of more sustainable, high-performance, and biodegradable textile products.Furthermore, this study contributes to the broader goal of optimizing fiber blends for improved material performance, aligning with the growing demand for eco-friendly and circular textile solutions.

Fiber Length Features

3FIBROTEST was employed in this study to perform empirical fiber length measurements on Lyocell and ReCo fiber bundles, providing high-resolution optical measurements that compensate for unavoidable fiber mass variations, a common limitation in conventional testers.Figure 1 shows the digital images of a 100% Lyocell sample and a 100% ReCo sample taken by the FI-BROTEST.Shorter and uneven length in the ReCo fiber bundle compared to Lyocell is clear from this figure, and a similar trend was shown by the other bundles as well.Such short length and unevenness in ReCo occurred due to the mechanical shredding of used cotton denim fabrics.A denim woven fabric undergoes several pretreatments, dyeing, and washing cycles before reaching the consumers.During consumption, the fabric also needs to withstand exposure to several physical, chemical, and biological forces such as wear and tear, light, heat, sweat, and laundering, which weaken the fiber to result in shorter lengths after recycling.

4FIBROTEST presented the fiber length analysis in the form of three features, i.e.Staple Diagram, Length Distribution, and Fibrogram, which were of interest for understanding prediction performance after blending by ML during this study.The behavior of the 100% Lyocell and 100% ReCo fibers individually on the three features was evaluated before studying the blends as presented in Figure 1.

Diagrams of Individual Fibers

5A Staple Diagram is a graphical representation of the cumulative Length Distribution of fibers when they are aligned by their edges.In this diagram, the cumulative percentage of fibers is plotted against their length. [23,24]This diagram provides insight into the distribution of fiber lengths within a sample.The Staple Diagram data for Lyocell and ReCo fibers suggests different processing characteristics.The Staple Diagram for Lyocell fibers (Figure 2a) displays a nearly flat cumulative fiber percentage curve that remains close to hundred percent across the measured length spectrum.This suggests that Lyocell fibers possess a very uniform Length Distribution, with a majority of the fibers having similar lengths.The Staple Diagram for Lyocell does not significantly decline until much longer lengths are reached, indicating minimal presence of short fibers.This characteristic is desirable in many textile applications as it contributes to consistent yarn quality, reduced fiber loss during processing, and less variability in fabric properties.Given the uniformity shown in the Lyocell Staple Diagram, the Length Distribution can be inferred to resemble a rectangular shape initially, which is typical of synthetic fibers that are manufactured to precise lengths.

6ReCo Staple Diagram (Figure 2b) shows a more gradual decline in cumulative fiber percentage starting at shorter lengths (≈4 mm).The curve steadily decreases as the fiber length increases, indicating a broader distribution of fiber lengths with a higher proportion of shorter fibers compared to Lyocell.Such a distribution is challenging even for carding on an automated industrial carding machine without blending with longer fiber tufts.This diagram is more trapezoidal than rectangular, however, lacking the lengths desirable for cotton-based yarn spinning.A trapezoidal Staple Diagram with a flat top and tapering ends, with balanced presence of short and long fibers, is desirable for good spinning performance.These Staple Diagrams suggest that a feasible blend of Lyocell and ReCo may produce an ideal fiber bundle for carding and subsequent spinning processes.

Length Distribution of Individual Fibers

7Length Distribution refers to the histogram or cumulative frequency distribution of fiber lengths within a sample. [23,24]In this representation, the fibers are sorted into different length classes, and the frequency of each class is plotted as a cumulative frequency curve.The Lyocell fibers (Figure 2c) exhibit a relatively narrow Length Distribution, with the cumulative fiber percentage remaining at zero percent up to a length of 14 mm, after which it begins to increase gradually.Starting from 15 mm, the cumulative fiber percentage reaches only 0.063% by 25 mm.This gradual increase continues, reaching a cumulative fiber percentage of 7.95% at 50 mm, and tapering off at higher lengths.In contrast, ReCo fibers (Figure 2d) demonstrate a broader Length Distribution with cumulative fiber percentages rising much earlier in the length range.The data shows that the cumulative fiber percentage reaches 0.2% as early as 4 mm and increases rapidly through the subsequent length classes.At 15 mm, the cumulative fiber percentage is already ≈7%, significantly higher than that of Lyocell fibers at the same length.This trend continues with a sharp increase in cumulative fiber percentage, peaking at ≈12% by 14 mm and continuing to grow rapidly.Beyond 30 mm, the cumulative percentages decline gradually, indicating the presence of a significant proportion of short to medium length fibers.

8The Length Distribution comparison between Lyocell and ReCo fibers reveals significant differences.Lyocell fibers exhibit a more uniform and narrower Length Distribution, with most fibers concentrated in the mid-range lengths.This profile is advantageous for producing consistent and uniform yarns with predictable performance characteristics.On the other hand, ReCo fibers display a wider distribution of lengths, including a substantial percentage of shorter fibers and a notable presence of mid-ranges.This greater variability in ReCo fiber length could pose challenges in spinning, potentially resulting in less uniform yarns.However, the broader Length Distribution of ReCo fibers could be beneficial in applications requiring varied fiber lengths for example, specific texture or durability properties.

Fibrogram of Individual Fibers

9A Fibrogram is a graphical representation similar to the span length diagram, where fiber length measurements are taken after different beard preparations of the fiber sample. [23,24]It is constructed by measuring the span lengths of fibers, which involves holding the fibers in a comb-like arrangement and then plotting the measured lengths.The comparative Fibrogram analysis be-tween Lyocell and ReCo fibers (Figure 2) reveals distinct differences in fiber length characteristics.The Fibrogram for Lyocell fibers exhibits a starting length of 3.8 mm with the highest percentage of the fibers measured; however, as the length increases to ≈17 mm, the cumulative percentage decreases to ≈24% and thus showing a high retention of longer fibers.The length further steadily extends to 20 mm, signifying a consistent distribution of fiber lengths.This trend continues well as fiber lengths increase, which is indicative of the superior uniformity and quality inherent to Lyocell fibers.The Fibrogram for ReCo showed a more obvious variability in fiber length characteristics.Compared to Lyocell, ReCo fibers showed a rapid decline in cumulative percentage as length increases.Such a sharp reduction suggests a significant presence of shorter fibers in ReCo.

10Along with the above, other key parameters derived using tangential lines drawn to the Fibrogram curve include the mean length, upper half mean length (UHML), upper quartile mean length (UQM), span length percentiles (SL), uniformity ratio (UR), and uniformity index (UI).The UHML provides a standardized measure of fiber length, similar to the manual staple length used in traditional classing, while the UI indicates the ratio of the UHML to the mean length. [25]Other derived metrics, such as the 2.5% SL, 50% SL, UR represent specific percentiles to describe the uniformity and variability of the fibers.

11Lyocell fibers exhibit a substantial mean length 45.6 mm, suggesting longer fibers that are favourable for spinning and fabric production.UHML of 45.4 mm also indicates a relatively uniform distribution among the longer fibers.UQM was found at 50.9 mm, suggesting the upper quartile of fibers are significantly longer, contributing to a UR of 51.3%.SL values for Lyocell at 50%, 25%, and 2.5% percentiles were 23.93, 34.01, and 46.61 mm, respectively, highlighting a favorable distribution where a significant portion of fibers exceed the half-length mark, beneficial for cohesive yarn formation.Along with UR, the UI of 98.6% suggests excellent fiber uniformity and length consistency.

12The mean length for ReCo fiber was found at 29.1 mm, which is notably shorter than Lyocell.The UHML was at 34.5 mm, indicating a skewed distribution toward shorter fibers.UQM was measured at 32.33 mm, showing that even the longer fibers within the ReCo sample bundle were significantly shorter than those of Lyocell.SL percentiles for 50%, 25%, and 2.5% were found as 10.1, 20.7, and 34.8 mm, respectively, demonstrating a broad spread in fiber length with a substantial percentage of much shorter fibers.ReCo UI was at 79.9%, reflecting greater fiber length variability.The short fiber content was found to be 26.74%,further highlighting the challenges in using ReCo fibers alone for high-quality yarn production.

Baseline Model Evaluation

13Based on the individual fiber length data, several regression models were evaluated to predict the Staple Diagram (Table 1), Length Distribution (Table 3), and Fibrogram (Table 2) of a 50:50 ReCo and Lyocell blended fiber sample.The models compared were Linear Regression, Polynomial Regression, Random Forest, Gradient Boosting, SVR, and Elastic Net.The models were assessed based on various performance metrics, including mean absolute error (MAE), root mean square error (RMSE), R 2 , explained vari- For Staple Diagram feature prediction, the linear regression model yielded an MAE of 3.67 and an RMSE of 7.16, with an R 2 value of 0.9562.This suggests that the model captured a substantial amount of the variance in the data, but with moderate errors, particularly in RMSE.This model had a median AE of 2.72, indicating a moderate level of error in the middle range of the predictions.The predicted-L for the single instance was 62.41, which is significantly higher than the predicted weighted mean of 23.5 for Staple Diagram, indicating potential bias.Comparatively, a significant improvement was observed with the polynomial regression model, which achieved an MAE of 0.61 and an RMSE of 0.80.The model's R 2 was 0.9995, indicating almost perfect predictive capability with very minimal error.A median AE of 0.51 indicates a low error in the central tendency of predictions.The Random Forest model exhibited exceptional performance, with the lowest MAE (0.068), RMSE (0.10), and the highest R 2 (0.9999), suggesting near-perfect accuracy in the predictions.Lowest median AE at For the Staple Diagram feature, the above results demonstrate that nonlinear models, particularly the Random Forest, Gradient Boosting, and Polynomial Regression, performed significantly better than linear models like Linear Regression and Elastic Net.The Random Forest model, with its ensemble technique, achieved near-perfect prediction accuracy, making it the most reliable model in this study.Gradient Boosting followed closely behind, showing that boosting techniques can also provide robust predictions.In contrast, SVR and Elastic Net struggled, with higher errors and lower R 2 values, indicating that these models may not be well-suited to this specific dataset.The substantial error in SVR suggests that it might not be appropriate for capturing the complexities within the blended fiber data.

14For Fibrogram feature prediction of 50:50 ReCo and Lyocell blend by ML, the linear regression model exhibited moderate performance with an MAE of 7.31 and an RMSE of 8.58.The R 2 and EV values indicated that the model could explain ≈93.5% of the variance in the Fibrogram data.The Median AE was relatively high at 7.09, indicating some degree of error in individual predictions.The predicted-L was 7.54 mm, which is a significant underestimation compared to the predicted weighted mean of 33.7 for Fibrogram and thus suggests potential bias.Polynomial regression showed a substantial improvement in prediction accu-racy, achieving an MAE of 1.69 and an RMSE of 2.85.Both the R 2 and EV indicated that 99.25% of the variance in the data is captured by the model.This high level of accuracy was further supported by a low Median AE of 1.18, suggesting precision in its predictions.The predicted-L was 3.04 mm, significantly lower than the predicted weighted mean and prediction by the linear regression model.The Random Forest model outperformed most of the other models, achieving the lowest MAE of 0.071 and an RMSE of 0.182.With an R 2 and EV of 99.995%, the model demonstrates near-perfect prediction accuracy in explaining the variance.The Median AE was exceptionally low at 0.045, indicating extremely precise predictions.However, the predicted-L of 3.97 mm was still significantly lower than the predicted weighted mean.Gradient Boosting also performed exceptionally well, with an MAE of 0.37 and an RMSE of 0.68.The R 2 and EV values suggested that 99.95% of the variance in the data was captured by the model.While slightly less accurate than the Random Forest, the Gradient Boosting model remains highly effective, with a Median AE of 0.26.SVR demonstrated the weakest performance among all models, with an MAE of 9.89, RMSE of 12.62, and a high Median AE of 9.34.The R 2 and EV values indicated that the model explains only ≈86% of the variance in the data.However, the predicted-L for the SVR model was 26.31, which is closest to the predicted weighted mean among the other models.The Elastic Net model also showed weaker performance with an MAE of 8.95 and an RMSE of 10.86.The R 2 value of 0.89624 and EV of 0.89656 indicate that the model accounts for ≈89.6% of the variance in the data, which is lower than most of the tested models.The predicted-L value was not possible to find for this model, suggesting potential issues with model stability or its suitability for this type of data.

15For the Fibrogram feature, Random Forest and Gradient Boosting demonstrated the highest accuracy and predictive power for the 50:50 ML blend.Polynomial regression also performed well and could serve as a simpler alternative to these complex models.In contrast, SVR and Elastic Net showed less favorable results, indicating that they might not be suitable for this specific feature and blend ratio.This analysis highlights the importance of model selection in accurately predicting fiber properties based on Fibrogram data.Overall, Gradient Boosting and Random Forest emerge as the most effective models, with good predictive accuracy and relatively high explained variance.Linear Regression shows moderate performance but is less effective compared to the other two models.SVR and Elastic Net perform poorly and are not recommended for these features of blended fiber length prediction.Due to the fundamental issues observed with polynomial regression, it should be excluded from further analysis.This exclusion can still allow for meaningful comparisons across the three features, as consistent models like Gradient Boosting and Random Forest are used across all features.

Comparative Metrics Visualization

16Comparative metrics visualization tools like radar charts (Figure 3) help to compare multiple models or experimental conditions across several criteria, providing a clear visual representation of which models or conditions perform better.It helps to identify which models perform well across various metrics and where improvements can be made.

17Radar plots of the model performances across staple length, Fibrogram, and Length Distribution features (Figure 3) illustrate the strengths and weaknesses of each approach.The nonlinear models, particularly Random Forest and Gradient Boosting, were consistently better than the linear models, such as linear regression and Elastic Net, across all three features.These nonlinear models demonstrated superior accuracy, evidenced by lower error rates and higher R 2 values, underscoring their strong capability to capture the complex relationships inherent in the ML blended fiber data.

18Random Forest exhibited exceptional performance across all three features, achieving near-perfect predictions, especially for staple length and Fibrogram features.The model's ensemble approach, which aggregates the outputs of multiple decision trees, likely contributed to its enhanced performance, making it a reliable choice for predicting fiber properties.Similarly, Gradient Boosting delivered highly accurate results, closely following Random Forest in performance metrics.This reinforces the effectiveness of boosting techniques in enhancing prediction accuracy.

19Polynomial Regression displayed mixed results with moderate performance in staple length and Fibrogram features, but failed significantly with the Length Distribution feature.This inconsis- tency may be attributed to the unique structure of the Length Distribution data, as mentioned above, where the polynomial regression model struggled to adapt to the data format provided by the FIBROTEST machine.This finding suggests that while Polynomial Regression can be powerful, its effectiveness is highly dependent on the specific characteristics of the dataset.

20Conversely, SVR and Elastic Net generally underperformed across all features, with higher error rates and lower R 2 values.This outcome indicates that these models may not be well-suited to the specific type of data of this study, likely due to their inherent limitations in capturing nonlinear relationships and dealing with complex, high-dimensional data.Similarly, linear regression provided moderate performance across all features but was consistently surpassed by more sophisticated models.It offered reasonable predictions, however lacked the precision and accuracy exhibited by Random Forest and Gradient Boosting.

21In summary, Random Forest and Gradient Boosting emerged as the top-performing models across all features, making them the most suitable choices for predicting fiber properties in a 50:50 blend of ReCo and Lyocell.The significant underperformance of SVR, Elastic Net, and Polynomial Regression for Length Distribution underscores the importance of selecting a model tailored to the specific characteristics of the fiber length dataset.

Model Optimization Through Hyperparameter Tuning

22During evaluation of the baseline performance, the models were trained on individual fiber data to establish an initial understanding of their predictive capabilities.This was further optimized by hyperparameter tuning on ML-generated blend data for Random Forest and Gradient Boosting models (Table 4).To understand the generalization capability, these models were compared with a set of empirical data, which consisted of 50:50 ReCo:Lyocell samples blended in the laboratory using manual hand mixing and a small carder machine.Later, to enhance the performance of a model on the empirical data, a portion of this data was incorporated into the training process.Hyperparameter tuning, utilizing a Randomized Search approach, was employed to optimize the model parameters for improved predictive accuracy.

23Both Random Forest and Gradient Boosting models trained on individual fiber data achieved good predictions (Table 4), with low MAE and RMSE values for the Staple Diagram feature.The R 2 and EV showed the models' ability to be 99% for predicting the outcomes when the characteristics were consistent with the training set.This result was expected since the models were trained and tested on data that had no variability beyond what they were already familiar with.When these models were tested on empirical data without prior exposure during training, their performance dropped significantly.The Random Forest model's RMSE increased to over 25, with an MAE of ≈20.Similarly, the Gradient Boosting model exhibited an RMSE of over 26 and an MAE of ≈21.These results are indicative of the models' inability to generalize from individual fiber data to the empirical 50:50 ReCo and Lyocell blend data.R 2 and EV values dropped significantly, reflecting that the models struggle to accurately predict the outcomes.Later, incorporating a proportion of empirical data into the training process led to notable improvements in prediction accuracy on the empirical test set predictions.For Random Forest, the RMSE improved to 5.57 and the MAE dropped to 3.45, with an R 2 and EV score of 0.97.Gradient Boosting showed a similar trend, with RMSE improving to 6.54, MAE dropping to 5.10, and R 2 and EV scores of 0.96.

24For Fibrogram and Distribution features, hyperparameter tuning was done using the approach of training with partial empirical data, since the other two approaches i.e., training only on individual fiber data and evaluating on empirical data without training, showed a significant performance gap for the Staple Diagram feature.Applying the same hyperparameter tuning approach across different models ensures consistency in the methodology and direct comparison of model performance.

25Upon such hyperparameter tuning for Fibrogram (Table 4), Random Forest achieved an RMSE of 2.32, MAE of 0.62, and R The Length Distribution feature exhibited the weakest performance metrics for both Random Forest and Gradient Boosting models (Table 4), with RMSE values exceeding 28, MAE exceeding 23, and R 2 scores as low well 0.34.This suggests that the Length Distribution feature might possess complexities or noise that the models struggled to capture effectively, or that the data available for this feature was less conducive to the models' learning process.For this feature, 123 data points for each sample were generated by the FIBROTEST machine, and the same was fed to the machine learning process, compared to 1761 data points for each Fibrogram and 1188 data points for each Staple Diagram sample.

26[28] Staple Diagram and Fibrogram features were easier for the models to predict accurately, possibly due to a less complex relationship or less noise in the data.The Length Distribution feature presented a more complex challenge, resulting in significantly worse performance metrics.This could be due to the nature of the data, where the distribution patterns are more difficult to model, or due to potential underlying noise and variability in the data.These findings underscore the importance of feature-specific analysis in predictive modelling.While the models showed strong performance in some areas, they struggled with the more complex Length Distribution feature, indicating the need for further refinement, possibly through more sophisticated models or additional data preprocessing techniques.Furthermore, these results suggest that future research should explore different modelling approaches or additional feature engineering to better capture the distinctions of the Length Distribution data.

Model Interpretability with SHAP Analysis

27Given the better performance of the Random Forest model in the hyperparameter tuning stage across most of the features, as well as its ability to handle the complexity of blended fiber data, an interpretability phase using SHAP analysis was conducted (Figure 4).Unlike simpler linear models, where the feature contributions are directly proportional to their coefficients, Random Forest models require more sophisticated tools for interpretation.[31] It also helps to understand how different features influence the predictions of fiber properties in a blend of two different fibers.SHAP values offer a vigorous method for interpreting complex models like Random Forest, allowing to assess the impact of each input feature on the output predictions.

28The SHAP values for the Staple Diagram indicate its significant influence on the model predictions.The mean absolute SHAP value for this feature was 29.9, suggesting that variations in the Staple Diagram have a substantial impact on the predicted outcomes.The Fibrogram feature also showed importance with a mean absolute SHAP value of 7.5, indicating its critical role in the predictions.These two features had the higher mean absolute SHAP values, indicating a substantial impact on model predictions.Length Distribution feature with a mean absolute SHAP value of 1.04, was less influential than the Staple Diagram and Fibrogram but still plays a significant role in the predictions of models.The SHAP plot revealed that an increase in the length classes could push the predictions higher.

29The SHAP values for Staple Diagram and Fibrogram indicated that higher fiber lengths positively influenced the model predictions, as denoted by the predominantly red points (positive SHAP values) on the right side of the plot.Staple Diagram was more influenced by longer fiber lengths, while for Fibrogram, the key predictors were fiber percentages at shorter lengths.The Length Distribution feature had a moderate impact, with a mix of positive and negative SHAP values.This mixed impact suggests that these features have a subtle influence on the output of the model, depending on other feature interactions.Overall, the spread of SHAP values and magnitude reveal the robustness and generalizability of the Random Forest model.

30Further work should focus on the most influential features identified by SHAP to refine and optimize the predictive mod- els further.When multiple models are used, it will be critical to compare how each model assesses the importance of features.Consistency across models in determining how features are valued strengthens the reliability of the findings.In the future, new features can be included that can better capture the relationships and interactions between different fiber types to improve model performance.Exploring more sophisticated machine learning models, such as neural networks or ensemble methods that combine the strengths of Random Forest and Gradient Boosting, might provide further gains in predictive accuracy.

Conclusion

31This study demonstrates the potential of machine learning models in predicting the quality of blended yarns by analyzing fiber length features from recycled cotton Lyocell blends.The models were trained and evaluated using three key fiber length features, e.g.Staple Diagram, Length Distribution, and Fibrogram.The study was carried out using a systematic approach of model training on 100% single-fiber data, followed by testing on empirical blended fiber data, and finally optimizing performance by incorporating partial empirical data into the training set.The results showed that fiber length features derived from the Staple Diagram and Fibrogram were the most significant predictors of fiber length.Models like Random Forest and Gradient Boosting exhibited the best performance across all metrics, including MAE, RMSE, R 2 , and Explained Variance, especially after hyperparameter tuning.The initial training phase on individual fiber data provided a solid baseline; however, testing empirical blended data revealed the weakness of models.By incorporating a portion of the empirical blended data into the training set, accuracy improved further, particularly in capturing the non-linear interactions between different fiber properties.Random Forest showed the best generalization capabilities, followed closely by Gradient Boosting, with SVR performing moderately.The use of SHAP analysis further revealed which fiber length ranges had the greatest impact on the predictions, offering valuable insights into the critical fiber properties for optimizing blended yarn production.Overall, the study highlights the effectiveness of machine learning in improving fiber blend optimization and suggests that integrating fiber length analysis with ML models can lead to better control over yarn quality, supporting the development of sustainable and high-performance textiles.

Experimental Section

32Data Collection: ReCo fibers were mechanically shredded from blue denim fabrics and kindly provided by Pure Waste Textiles Oy (Finland).Lyocell fibers were supplied by Wagenfelder Spinnereien GmbH (Germany).

33Empirical data on fiber length features were assessed by FIBROTEST FBF Short Fiber (TEXTECHNO, Herbert Stein GmbH & Co. KG).The instrument was equipped with a semiconductor laser and a charged-coupled device (CCD) line camera, which serve as the primary components of its optical system for length scanning.The FIBROTEST measures fiber lengths ranging from 3.8 to 60 mm, suitable for short staple fibers as ReCo, and operates at a variable testing speed, typically set at 200 mm.min−1 , but adjustable between 10 to 300 mm.min −1 .The system's force measurement capabilities span from 1 to 500 N.The clamping pressure, which holds the fiber sample during testing, can be adjusted between 2 and 6 bar, allowing for flexibility depending on the fiber's characteristics.

34FIBROTEST's detailed working principle, testing procedure, and obtained data validity have been discussed in the literature. [15,32,33,23]In practice, a bundle of fibers was prepared and aligned in a comb-type sample holder.For this preparation step, two operators were used for each sample type and thus accounted for any operator effects.The fibers were then clamped and brushed to straighten them, followed by the measurement of the protruding fiber lengths.FIBROTEST records these lengths, which were then used to calculate various fiber length features such as Staple Diagram, Fibrogram, and Length Distribution.This comprehensive data set provides a detailed profile of the fiber Length Distribution, essential for determining the fiber's spinning potential.The FIBROTEST does not require calibration with standard calibration cotton.The entire testing process was automated once the sample holder was inserted into the device, simplifying operation and reducing operator variability.

35Data Preprocessing: Data preprocessing was an essential step in ensuring the quality and consistency of the dataset, thus improving the performance and accuracy of the machine learning models.Missing values in the dataset were addressed to maintain data integrity and avoid biased results.Outliers were identified and treated to prevent skewed model predictions.Detected outliers were reviewed in context with the domain knowledge and either retained or capped within acceptable limits.

36Model Training: Initially, various ML models were trained using empirical data from 100% ReCo and 100% Lyocell of different fiber length features, such as Staple Diagram, Length Distribution, and Fibrogram to predict the same features for a 50:50 ReCo:Lyocell blend.The models evaluated include both linear and non-linear approaches with capabilities for capturing the relationships between features.The models were linear regression, polynomial regression, Random Forest, Gradient Boosting, SVR, and Elastic Net.

37The linear regression model assumes a linear relationship between the input features and the target variable.It estimates the coefficients that minimize the difference between observed and predicted values.Linear regression can be represented as

38where, y was the predicted output, 0 was the intercept, and 1 , 2 ⋯ n were the coefficients for the independent variables and x 1 , x 2 ⋯ x n were the independent variables. [34]olynomial regression extends linear regression by adding polynomial terms to the input features, allowing the model to capture more complex relationships.It was particularly useful when the relationship between the dependent and independent variables was non-linear.A second-degree polynomial regression can be represented as

39where y was the predicted output, 0 was the intercept, and 1 , 2 ⋯ n were the coefficients for the independent variables, x was the independent variable raised to different powers. [34]andom Forest was an ensemble learning method that combines multiple decision trees to enhance prediction accuracy and prevent overfitting.Each tree was trained on a random subset of the data, and the final prediction was made by averaging the outputs of all the trees.The model was often used for capturing complex, non-linear relationships in highdimensional data.The key strength of this model was its ability to handle the high variability in fiber length data, as it reduces variance and overfitting.Random Forest can also rank feature importance, providing insights into which fiber characteristics most influence the predictions.The model can be represented as

40where, ŷ was the predicted output, T was the total number of trees in the forest, f t (x) was the prediction from the t th decision tree for input x. [35] Gradient Boosting was another ensemble technique that builds models sequentially, where each model corrects the errors of its predecessor.By focusing on reducing the residual errors, Gradient Boosting achieves high predictive accuracy, especially for non-linear data.This method can be advantageous for fiber length prediction as it can capture intricate patterns that may be missed by simpler models like linear regression.The model can be represented as

41where, ŷi was the predicted output for instance i, M was the number of weak learners (trees), m was the learning rate, h m was the prediction from the m th weak learner, was the residual error at each stage. [36]At each step, the new model was fitted to reduce the residuals (errors) from the previous stage, thus improving the overall accuracy.SVR constructs a hyperplane in high-dimensional space, attempting to minimize the error within a margin.It was particularly useful for datasets with a clear margin of separation and performs well when the relationship between variables was non-linear.SVR uses a kernel function to transform the input data into higher dimensions, making it ideal for fiber datasets that may have complex underlying relationships.However, it was sensitive to hyperparameters and may require tuning for optimal performance.The model can be represented as

42where f(x) was the predicted value for input x, K(x i ,x) was the kernel function that defines the similarity between data points, i , * i were Lagrange multipliers for the support vectors, b was the bias term, x i were the support vectors.The kernel function allows SVR to handle non-linear relationships by transforming the input space into a higher-dimensional space where the data becomes linearly separable. [36]lastic Net was a regularized linear regression model that combines the penalties of Lasso and Ridge regularization.This model was particularly beneficial for high-dimensional data where some features may be correlated.Elastic Net can shrink coefficients, thus improving model generalization and preventing overfitting, making it highly suitable for fiber length prediction where multiple features might influence the outcome.The model can be represented as

43where, RSS means residual sum of squares, 1 was the regularization parameter for Lasso regression (L1), 2 was the regularization parameter for Ridge regression (L2), i was the coefficient for the i th feature, ∑| i | was the L1 regularization term, which encourages sparsity, ∑ i 2 was the L2 regularization term, which encourages smaller values for the coefficients to prevent overfitting. [37]he models were initially trained on 60 datasets, consisting of individual fiber samples and a separate test set of 60 samples from a 50:50 ReCo: Lyocell blend.The training process involved splitting the dataset into a training set and a hold-out test set.Initially, 80% of the dataset was used for training the models, while the remaining 20% was reserved for testing.In addition, k-fold cross-validation (typically with k = 5) was employed to further validate the models and ensure robustness.This method splits the training data into k subsets (folds), with each fold being used as the validation set while the remaining k-1 folds were used for training.This process was repeated k times, and the performance of a model was averaged across the folds to ensure generalizability and to minimize overfitting.

44Model Evaluation: The performance of each model was evaluated using several metrics e.g.mean absolute error (MAE), root mean square error (RMSE), coefficient of determination (R 2 ), explained variance (EV), and predicted length (L).MAE can be represented as

45where y i was the actual value, ŷi was the predicted value, and n was the number of data points.MAE measures the average absolute difference between the predicted and actual values, providing a straightforward interpretation of the accuracy of a model.A lower MAE indicates better model accuracy, making it important for assessing how close the model predictions were to the actual values on average.RMSE provides a quadratic penalization for large errors, which means that larger deviations between the actual and predicted values have a disproportionately higher impact on the final score.It can be represented as

46where y i was the actual value, ŷi was the predicted value, and n was the number of data points.It was particularly useful when larger errors were more significant or impactful than smaller ones.A lower RMSE suggests better model performance, especially in cases where minimizing large deviations was critical.R 2 , or the coefficient of determination, measures the proportion of variance in the dependent variable that was predictable from the independent variables.It was a key metric for understanding how well the model captures the variation in the data.It can be represented as

47where y i was the actual value, ŷi was the predicted value, ȳ was the mean of the actual values.R 2 value closer to 1 indicates that the model explains most of the variance, while values closer to 0 suggest poor predictive power.

48EV measures the portion of variance explained by the model.It focuses on how well future predictions were likely to match actual values.It can be represented as

49Var (y − ŷ) Var (y) (10) where y was the actual value, ŷ was the predicted value, and Var refers to variance.Like R 2 , a higher EV score indicates a model that was better at generalizing beyond the training data.It was especially useful in scenarios where the goal was to predict unseen or future data accurately.Predicted-L does not follow a specific mathematical formula but was derived from the output of each trained machine learning model based on the input features e.g.Staple Diagram, Length Distribution, and Fibrogram.The predicted-L was critical for understanding the practical application of the model.It allows for direct comparison between the model's output and actual physical measurements of fiber length, providing insight into the real-world accuracy and utility of the models.

50Model Optimization and Interpretation: The models were initially trained solely on data from individual fiber types, without any blending of fibers.This provided a baseline understanding of how well the models could predict fiber length features when trained on homogeneous data as detailed above.After this step, promising models like Random Forest and Gradient Boosting hyperparameters were optimized using a Randomized Search approach.This method involves sampling a wide range of hyperparameters at random to identify the best configuration, rather than exhaustively searching the entire parameter space. [38]This also allowed the identification of the best set of parameters that maximized model performance.The final models were initialized using these optimized parameters and tested on the hold-out set to evaluate their predictive accuracy.The empirical data, which consisted of blended fiber data, was used to test the models trained on individual fiber data.This step highlighted the predictive capabilities of the models when encountering data that differs from their training set in terms of composition and complexity.To further enhance the predictive performance, a portion of the blended fibers' empirical data was integrated into the training set along with the individual fiber data.The models were then hyperparameter-tuned again to find the optimal set of parameters that could improve the performance of the models.Cross-validation, particularly k-fold cross-validation, was employed to validate the model's performance across multiple subsets of the data, preventing overfitting and ensuring robustness.The effectiveness of this strategy was then assessed by evaluating performance on the remaining unseen empirical data.

51To gain insights into the decision-making processes of the ML models, Shapley Additive Explanations (SHAP) was employed as a method for interpreting model predictions.SHAP was a framework that quantifies the contribution of each feature to the output of the model, thereby providing interpretability without compromising model complexity. [39]By breaking down individual predictions, SHAP allows for the analysis of how each feature influences the predicted outcome.The SHAP values represent the contribution of each feature, with positive SHAP values indicating that the feature increases the prediction outcome, and negative SHAP values suggesting a decrease.Features with larger absolute SHAP val-ues were considered more influential in driving the predictions of models.SHAP was utilized to interpret the predictions of the models trained on fiber length features.SHAP summary plots were used to rank the importance of the features across all predictions.Features with consistently high SHAP values, whether positive or negative, were recognized as the most influential in driving the model's outcomes.This interpretative step was used for understanding which fiber properties had the most significant effect on the ability of a model to predict blended fiber length characteristics.

Figure 1 .

52Figure 1.Representative fiber bundle image provided by the FIBROTEST machine for a) 100% Lyocell fiber and b) 100% recycled cotton (ReCo) fiber.

Figure 2 .

53Figure 2. Staple Diagram, Length Distribution, and Fibrogram of 100% Lyocell and 100% recycled cotton fibers presented as a mean of three samples from each group.

0

54.05 was found for this model, thus reflecting its exceptional accuracy across the majority of predictions.Gradient Boosting also performed well, with an MAE of 0.24 and an RMSE of 0.36, along with an R 2 of 0.9998.These results indicate that the model was very effective in capturing the relationships within the data.Median AE of 0.19 indicates low central tendency errors, though it is slightly higher than Random Forest.This model's predicted-L was 4.28, aligning closely with the actual values.The SVR model had the poorest performance among all models, with an MAE of 11.23 and an RMSE of 15.35, resulting in an R 2 of 0.803.This suggests that the model struggled to capture the underlying patterns in the data.The predicted-L was 30.73, significantly deviating from the expected value, indicating its limitations for this dataset.The Elastic Net model, which combines linear and regularization techniques, produced an MAE of 9.02 and an RMSE of 11.47, with an R 2 of 0.8903.While better than SVR, it still fell short compared to the other models.Both SVR and Elastic Net models had higher median AE values, indicating substantial deviations in the median of their predictions.The model predicted-L of 63.52, which was also higher than expected, indicating potential overfitting or bias.The predicted-L metric for polynomial regression, Random Forest, and Gradient Boosting models was about ≈4, which is far from the actual mean length, indicating that the prediction might be an outlier, or this metric failed to accurately capture the models.For the Staple Diagram feature, the results for R 2 and Explained Variance (EV) were very close, indicating that both metrics are effectively capturing the proportion of variance in the target variable explained by the models.This similarity is since both R 2 and EV measure the accuracy of fit, with R 2 focusing on how well the data fits the model, and EV showing how well the model accounts for the variability in the data.It is important to report both metrics as they offer somewhat different perspectives i.e.R 2 provides insight into the predictive accuracy, while EV gives an understanding of the model's overall ability to explain variations in the data.

55For the Length Distribution feature prediction of 50:50 ReCo and Lyocell blend by ML, the linear regression model demonstrated moderate performance, with an MAE of 17.10 and an RMSE of 21.88.The R 2 and EV values suggested that the model could explain only ≈60% of the variance in the data.This is lower than what was observed in the Staple Diagram and Fibrogram features, indicating that linear regression might not be as effective for Length Distribution predictions.The predicted-L value of 67.74 was significantly higher than the predicted weighted mean of 18.8.The polynomial regression model showed poor performance for the Length Distribution feature, with unrealistically large error values for MAE, RMSE, R 2 , EV, and Median AE, indicating that the model fails to capture any meaningful relationship within the data.These results suggest a fundamental issue with the polynomial regression approach for this specific feature, possibly due to the nature of the Length Distribution data, where the x-axis data were presented by the FIBROTEST machine in 'length class' instead of length in mm as used for other features, i.e.Staple Diagram and Fibrogram.The Random Forest model performs reasonably well, with an MAE of 7.87 and an RMSE of 16.34.The R 2 and EV values indicated that the model could explain ≈75% of the variance in the Length Distribution data.The predicted-L value of 36.01 was closer than previous regression models.Gradient Boosting demonstrates similar performance to Random Forest for this feature.SVR yielded poor performance with an MAE of 23.16 and an RMSE of 28.99, along with an R 2 and EV values of only ≈30%.The predicted-L value of 69.13 also indicates some predictive challenges.These results suggest that the SVR model struggles to capture the underlying patterns in the Length Distribution feature data.Elastic Net's performance was also suboptimal, with an MAE of 20.04 and an RMSE of 25.79.The R 2 and EV values reflect that the model only explains 43% of the variance in the data.The predicted-L value of 77.53 is quite high, which, along with the other metrics, suggests that Elastic Net may not be a good fit for the Length Distribution feature.

Figure 3 .

56Figure 3.Comparison of metrics for various regression models a) Staple Diagram b) Fibrogram c) Length Distribution of predicted recycled cotton: Lyocell 50:50 blend.

572 and EV scores of 0.99.Gradient Boosting achieved an RMSE of 3.47, MAE of 2.65, and R 2 and EV scores of 0.99.These metrics indicate that, like the Staple Diagram data, both models performed exceptionally well when tested on empirical data, after being tuned on a combination of ML blended and empirical blended data.The Random Forest model seems to generalize better and perform more accurately on empirical data in the context of Fibrogram data as compared to Staple Diagram data.The lower RMSE and MAE values suggest that the model was able to capture the variability within the Fibrogram data more effectively.Like the Random Forest model, the Gradient Boosting model showed better performance on the Fibrogram data than on the Staple Diagram data.The improved RMSE and MAE values indicate that the Gradient Boosting model was better suited to handle the characteristics of the Fibrogram data.These findings indicate that while both models are effective, the choice of model and the data on which it is trained can significantly influence predictive accuracy.

Figure 4 .

58Figure 4. Importance of a) Staple Diagram, b) Fibrogram, and c) Length Distribution features interpreted by Shapley Additive Explanations (SHAP).

Table 1 .

59Evaluation metrics of various machine learning models for Staple Diagram feature prediction of a recycled cotton and Lyocell blend.

Table 2 .

60Evaluation metrics of various machine learning models for Fibrogram feature prediction of a recycled cotton and Lyocell blend.

61ance, median absolute error (Median AE), and a single instance prediction for Length (L).

Table 3 .

62Evaluation metrics of various machine learning models for Length Distribution feature prediction of a recycled cotton and Lyocell blend.

Table 4 .

63Comparison of optimized Random Forest and Gradient Boosting models across staple diagram, Fibrogram, and length distribution features after hyperparameter tuning with trained and empirical data of recycled cotton and Lyocell blends.

참고문헌 33건

  1. The Elements of Statistical Learning Springer series in statistics · Springer Science+Business Media · 2001 10.1007/978-0-387-21606-5
  2. Generation of Length Distribution, Length Diagram, Fibrogram, and Statistical Characteristics by Weight of Cotton Blends Modelling and Simulation in Engineering · Hindawi Publishing Corporation · 2007 10.1155/2007/27521
  3. Introduction to linear regression analysis Journal of Applied Statistics · Taylor & Francis · 2013 10.1080/02664763.2013.816069
  4. Regularization and Variable Selection Via the Elastic Net Journal of the Royal Statistical Society Series B (Statistical Methodology) · Oxford University Press · 2005 10.1111/j.1467-9868.2005.00503.x
  5. An Introduction to Statistical Learning Springer texts in statistics · Springer International Publishing · 2013 10.1007/978-1-4614-7138-7
  6. Development of a Method for Characterization of the Fibre Length of Long Staple Carbon Fibres Based on Image Analysis Fibres and Textiles in Eastern Europe · Index Copernicus International S.A. · 2016 10.5604/12303666.1207845
  7. Data mining and machine learning in textile industry Wiley Interdisciplinary Reviews Data Mining and Knowledge Discovery · Wiley · 2017 10.1002/widm.1228
  8. Recycled Cotton from Denim Cut Waste Textile science and clothing technology · Springer Nature · 2018 10.1007/978-981-10-8515-4_3
  9. Analysis of Cotton Fibre Properties: A Data Mining Approach Journal of The Institution of Engineers (India) Series E · Springer Science+Business Media · 2018 10.1007/s40034-018-0125-4
  10. A Comparative Study of Physical Properties of Yarns and Fabrics Produced from Virgin and Recycled Fibers Journal of Engineered Fibers and Fabrics · SAGE Publishing · 2016 10.1177/155892501601100209
  11. Effects of cotton textile waste properties on recycled fibre quality Journal of Cleaner Production · Elsevier BV · 2019 10.1016/j.jclepro.2019.03.033
  12. A machine learning assisted approach for textile formability assessment and design improvement of composite components Composites Part A Applied Science and Manufacturing · Elsevier BV · 2019 10.1016/j.compositesa.2019.05.027
  13. Sustainable Approach for Mélange Yarn Manufacturers by Recycling Dyed Fibre Waste Fibres and Textiles in Eastern Europe · Index Copernicus International S.A. · 2020 10.5604/01.3001.0013.9013
  14. Failure mode and effects analysis of RC members based on machine-learning-based SHapley Additive exPlanations (SHAP) approach Engineering Structures · Elsevier BV · 2020 10.1016/j.engstruct.2020.110927
  15. Assessment of cotton fibre length measurement methods Journal of the Textile Institute · Taylor & Francis · 2020 10.1080/00405000.2020.1816684
  16. Cotton fibres: Characteristics, uses and performance 2017
  17. Sustainable Innovations in Recycled Textiles Textile science and clothing technology · Springer Nature · 2018 10.1007/978-981-10-8515-4
  18. Fabric Waste Recycling: a Systematic Review of Methods, Applications, and Challenges Materials Circular Economy · Springer Science+Business Media · 2021 10.1007/s42824-021-00042-2
  19. Turning textile waste into valuable yarn Cleaner Engineering and Technology · Elsevier BV · 2021 10.1016/j.clet.2021.100341
  20. Biological degradation of textiles : And the relevance to textile recycling 2021 10.18174/557073
  21. Application of artificial intelligence techniques in textile wastewater decolorisation fields: A systematic and citation network analysis review Coloration Technology · Wiley · 2021 10.1111/cote.12589
  22. Artificial Intelligence Applications and Innovations IFIP advances in information and communication technology · Springer Science+Business Media · 2019 10.1007/978-3-030-19909-8
  23. Cotton Fiber: Physics, Chemistry and Biology Springer eBooks · Springer Nature · 2018 10.1007/978-3-030-00871-0
  24. International Journal of Technology and Engineering Studies International Journal of Technology and Engineering Studies · 2024 10.20469/ijtes
  25. Handbook of Biodegradable Materials Springer eBooks · Springer Nature · 2022 10.1007/978-3-030-83783-9
  26. Reconstruction of the cotton fiber length distribution from a High Volume Instrument® fibrogram Textile Research Journal · SAGE Publishing · 2022 10.1177/00405175221135161
  27. Analysis of load-bearing capacity factors of textile-reinforced mortar using multilayer perceptron and explainable artificial intelligence Construction and Building Materials · Elsevier BV · 2022 10.1016/j.conbuildmat.2022.129560
  28. Predicting Yarn Breaks in Textile Fabrics: A Machine Learning Approach Procedia Computer Science · Elsevier BV · 2022 10.1016/j.procs.2022.09.289
  29. 2023 IEEE Conference on Artificial Intelligence (CAI) 2023 10.1109/cai54212.2023
  30. Recent advances in recycling technologies for waste textile fabrics: a review Textile Research Journal · SAGE Publishing · 2023 10.1177/00405175231210239
  31. International Conference on Applied Technologies Communications in computer and information science · Springer Science+Business Media · 2024 10.1007/978-3-031-58950-8
  32. Automated machine learning for fabric quality prediction: a comparative analysis PeerJ Computer Science · PeerJ, Inc. · 2024 10.7717/peerj-cs.2188
  33. A Method for Maintaining a Unique Kurume Kasuri Pattern of Woven Textile Classified by EfficientNet by Means of LightGBM-Based Prediction of Misalignments Information · Multidisciplinary Digital Publishing Institute · 2024 10.3390/info15080434