Structuring a Textile Knitting Dataset for Machine Learning and Data Mining Applications
간접 관련 패션 · (24) 패션(코오롱FnC) (17) 스펀본드 부직포
기본 정보
- 저자
- DOI
- 10.1016/j.dib.2025.111873
- 저널
- Data in Brief
- 발행년도
- 2025
- 발행기관
- Elsevier BV
- 피인용수
- 0
- 라이선스
- cc-by-nc
- 논문 유형
- –
- 언어
- –
- 원문 페이지
- https://doi.org/10.1016/j.dib.2025.111873
- 토픽
- Textile materials and evaluations
- OpenAlex ID
- W4412435612
평가 내용
- 관련도
- 간접 관련
- 사업분야
- 패션 · (24) 패션(코오롱FnC)
- 부 분야
- (17) 스펀본드 부직포
- R&D 측면
- 분석·모델링
- 확신도
- 0.80
- 근거 용어
- textile knitting dataset, machine learning, GSM, yarn count, fabric characteristics
- 판단 근거
- 본 논문은 편직(Knitting) 공정 데이터(yarn count, GSM, stitch length 등)를 활용하여 머신러닝 모델을 구축하고 물성을 예측하는 연구를 다룹니다. 이는 코오롱인더스트리의 패션(24) 및 산업용 부직포(17) 사업의 제조 공정 최적화 및 품질 관리 시스템에 응용 가능한 기술입니다.
- R&D 활용 포인트
- 편직 공정의 실시간 데이터 분석을 통해 원단 품질(GSM, Tightness factor 등)을 예측하고, 불량률을 낮추는 스마트 팩토리 및 품질 관리 알고리즘 개발에 활용 가능합니다.
- 평가 입력
- 본문 25,142자
초록
본문 25,142자
본문 펼치기
섹션 본문 47문단 · 16,445자
(제목 없음)
1Knitting is a vital sector of the fabric manufacturing industry.Concurrently, machine learning is emerging as a highly regarded technique for predicting patterns and classifying various parameters derived from datasets.This study aims to establish a comprehensive database of knitted fabrics that encompasses a variety of parameters related to yarn types, machinery, and fabric characteristics.The raw data was collected from a knitting factory, after which the dataset was processed with various pre-processing techniques using domain knowledge and the Python programming.These techniques included data cleaning, normalization, and feature engineering, all of which were crucial in ensuring the quality and usability of the dataset.Drawing on expertise in knitting science, several new parameters were formulated, and specific complex parameters were subsequently deconstructed into two or three distinct components.The finalized dataset has 12569 rows and 38 columns.This article also discusses potential applications of the dataset, such as identifying a polynomial relationship between grams per square meter (GSM) and yarn count for single jersey fabrics, having an R ² score of 0.77.Furthermore, a quadratic relationship between the tightness factor and stitch length was observed, with an R ² score of 0.78.Among various machine learning models to * Corresponding author.
Value of the Data
2• This dataset helps in revealing the complicated mathematical relationships among various knitting parameters.• Researchers may apply their domain knowledge for building machine learning models to predict and classify production, rejection, or other knit fabric parameters.• Help in generating new features.
3• Provide a broad scope for investigating nonlinear relationships.
Background
4Machine learning (ML), a branch of artificial intelligence, is increasingly transforming the textile industry through enabling data-based decision-making, automation, and smart system development.It decodes massive amounts of production data; ML models can predict defects, optimize parameters, and enhance product customization.These ML capabilities can lead to tremendous benefits in the textile industry, such as enhanced product quality, reduced production expense, and reduced lead time.Data mining (DM), however, is an analysis process of discovering meaningful patterns or knowledge from large amounts of raw data.It is particularly valuable for uncovering helpful information not already known with the resulting benefits such as more efficient production process.Data mining excels at handling large, complex data sets with numerous variables and intricate nonlinear relationships.Data mining allows prediction of behaviors or outcomes by discovering and analyzing these hidden relationships, enhancing understanding of unclear or enigmatic phenomena [ 1 ].
5The integration of machine learning (ML) and data mining techniques in textile engineering has gained increasing attention in recent years.It is widely used in process automation [ 2 ], predictive analysis [ 3 ], and intelligent decision-making in textile production and quality control [ 4 ], woven fabrics rejection [ 5 ], material type classification and forensic sciences [ 6 ], etc. Various Machine learning algorithms including Support Vector Regression (SVR), Random Forest, Artificial Neural Network has been utilized in predicting engineering constants of single jersey weft knitted composite and mechanical properties [ 7 ].It is also utilized in designing models to predict potential defect types [ 8 ].R. Carrilho et al. developed a fabric defect focused dataset.They also reported previously published eight multiclass fabric defect datasets [ 9 ].However, none of these works were designed to explore the correlations among the parameters or to facilitate applications in prediction-based machine learning.To bridge this gap, the current data article presents a systematic textile knitting dataset for machine learning and data mining applications.The dataset provides comprehensive details related to yarn, knitting machines and produced knit fabrics.
Data Description
6The article provides an overview of the datasets included in the related repository for the production of knit fabrics, which were collected from June to August 2022.It includes a standard daily production report and a pre-processed dataset.The dataset consists of 12,569 lines of data collected over three months from the knitting industry.Each record captures some of the attributes of knit production, which are described in Table 1 .The dataset covers a broad range Total production of the machine for a specific order (kg) Reject Qty
7The rejected knit fabrics (kg)
Table 2
8Engineered features for final dataset.
Parameter description fabric_dia_1
9The primary diameter of the fabrics in inch Fabric_dia_2
10The optional diameter of the fabrics in inch due to cylinder change contraction
11The ratio of fabric diameter to machine diameter Number of feeders
12The total number of feeders in machine Yarn_count_1
13The yarn count of only and first loop yarn_count_tex_1
14The yarn_count of the first loop has been converted to tex count yarn_count_tex_2
15The yarn_count of the second loop has been converted to tex count (if exists) yarn_count_tex_3
16The yarn_count of the third loop has been converted to tex count (if exists) Stitch_1
17The stitch length of the only or first loop Stitch_2
18The stitch length of the second loop (if exists) Stitich_3
19The stitch length of the third loop (if exists) Tightness factor
20The covered area of knitted fabric by the yarn Yarn_count_length Number of the count of yarn used in various loops of parameters related to machines (machine brand, diameter, and gauge), yarn (lot number, yarn count, and color), fabrics (body parts, construction, composition, stitch length, and GSM), and production information (production date, shifts A, B, and C, as well as cases with no shift, machine totals, and reject quantities).
21The dataset is prepared from the daily production records of a knitting factory.Table 1 provides an overview of the different parameters included in the dataset.Most of these parameters are either string or object types, with a few being integers or floats.The dataset is stored in a file named "knittting_dataset.csv"in Mendeley data [ 10 ].It aims to identify various relationships among the parameters, predict or classify different parameters, and examine the mathematical relationships between them.
22The raw dataset has gone through multiple pre-processing steps to structure the final dataset.In this process Python based data processing and machine learning libraries were used.The final dataset has all the parameters specified in Table 1 and some engineered features as shown in Table 2 .
23The engineered features are produced to find mathematical relationships.For instance, the tightness factor is an engineered feature which shows an interesting logarithmic relation with stitch length.However, comprehensive study is needed to investigate the complicated relationships among various categorical variables.The construction feature of the dataset has eight major types of fabric construction, as illustrated in Table 3 .Only the single jersey (S/J) among these constructions shows a polynomial linear relation between yarn count (Ne) and GSM ( Fig. 1 ).Importantly, no such relations were observed in the case of other constructions, highlighting the need for further investigation.
Materials
24The dataset was developed using knitted fabric samples produced on circular knitting machines collected from Fakhruddin Textile Mills Limited, a leading knitting industry of Bangladesh.The yarn used included 100 % Better Cotton Initiative (BCI) cotton, 100 % polyester, 95 % cotton and 5 % elastane, 60 % cotton and 40 % polyester, 100 % organic cotton, 95 % viscose and 5 % elastane, 90 % cotton and 10 % viscose, 49 % virgin cotton 26 % recycle cotton 20 % polyester and 5 % viscose, etc.
Experimental design
25The study's primary objective was to generate a structured dataset that captures essential features of knitted fabrics for use in machine learning (ML) and data mining tasks.This was achieved by selecting a diverse range of knitting parameters, including yarn type, loop length, machine gauge, stitch density, and fabric structure (e.g., single Jersey, rib, interlock, etc.).The thorough selection of these parameters ensures a comprehensive understanding of knitted fabrics for future machine learning applications.
Methods
26Data Acquisition : The majority of the dataset's parameters were meticulously collected from the knitting floor during production.Some parameters were obtained from the production order, some from the knitting machines, and some from the inspection area.Several parameters were generated using domain knowledge, ensuring a comprehensive and reliable dataset.
27Data Structuring : Both the categorical and numerical features were scrupulously cleaned and structured to enhance their understand ability and clarity.We addressed various challenges, such as a lot of missing values, extremely long, rare, and differently written categorical features, etc.
28To ensure the dataset was suitable for label or one-hot encoding and to avoid the curse of dimensionality, we used different kinds of domain knowledge and coding skills.The detailed codes for the data structuring and sample data mining, and machine learning models are provided in the GitHub repository [ 11 ].
29Missing values: We were resourceful in handling the significant number of missing values in the dataset.Applying our domain knowledge and leveraging the Python based Pandas library, we filled in the missing values.For example, the machine brand has 950, Body parts have 52, Booking Type has 1388, yarn count has 33, lot has 36, composition has 52, and color has 4 and color range has 45 missing values.Our resourcefulness ensured the dataset was as complete as possible.In an attempt to fill the missing values, the machine brand was filled with the most frequent brand of the factory.The yarn count is closely related to GSM and body parts.Hence, these parameters were taken to fill the missing values.Similarly, the missing values in body parts were filled by analyzing the GSM and construction values.The missing values of composition and construction were filled using construction values and composition values, respectively.The lot number is significant in determining color and color range, so the lot number was used to fill in the color and color range.The details of the process is available at the Github repository [ 11 ].
Feature engineering
30Normally the number of feeders is 3 times the diameter, however for Fukuhara brand machines it is 3 times of machine diameter + 6.In some knit fabrics such as terry, fleece etc. more than one yarn are found.For example, a 3 thread fleece is structured with a face yarn, a binding yarn and a loop yarn [ 12 ].Again, an interlock Lycra fleece fabrics has 3 loops stitch length (17.0/14.2/1.15) and composed of 72 % Polyester (100 D/144 F) 23 % Viscose (34/1 Ne) 5 % Elastane (30 Denier).Here, the polyester yarn is made of 144 filaments and the linear density of the yarn is 100 Denier, the viscose yarn a single ply and yarn count is 34 Ne (English count), whereas the linear density of elastane is 30 Denier.In this dataset preparation, yarn number and stitch lengths were split into different yarn count and stitch lengths according to the number of plies or loops.
Count conversion
31As the yarn counts are mixed of both direct (Denier (D), Tex) and indirect system (Ne).Hence, we converted both Ne and D to Tex by using Eqs.( 1) and (2) [ 13 ].
32T ex = 590 .6 Ne
33(1)
34(2)
Tightness factor
35The extent to which yarn covers the area of a knitted fabric is known as the Tightness Factor (TF).It is equivalent to the cover factor in woven fabrics, which indicates the relative openness or closeness of a knitted fabric.The Tightness Factor is the ratio of the area covered by the yarn in a loop to the total area occupied by that loop.For plain weft knitted fabric, the Tightness Factor is represented by Eq. (3) [ 14 , 15 ].Where, Tex is the yarn count (direct) and l is the stitch length in mm We applied Eq. ( 3) to derive the Tightness Factor feature in our dataset.This feature shows an intriguing relationship with stitch length (mm) as expressed in Eq. ( 4) , which boasts a goodness of fit (R ² score) of 0.78, as depicted in Fig. 2 .y = 33 .43 × e −0 . 321x + 1 .89 (4)
Sorting
36The "composition" parameter of the dataset has about 294 unique compositions (such as 100 % cotton, 96 % cotton 4 % lycra etc.) among whose 252 compositions are found < 40 times in the dataset.Hence the composition has been shortened to 43 unique values by placing less repetitive composition in a category named 'other'.Again, in the original raw dataset some compositions were differently written such as 100 % Cotton, 100 % cotton etc.Similarly, the construction has 135 unique values so it was limited to 8 values namely, Rib, Fleece_terry, S/J, LS/J, Interlock, Mesh, Pique, and others.Body parts have 108 unique values which were also shortened to 5 unique values namely Bottom, Top, Body, Rib, other.
Shortening the Values
37In the production report, the data entry officer used a variety of terms to denote a singular type of fabric.For example, the abbreviations S/J, s/j, s.j and the phrase single jersey were used to represent Single Jersey knit fabrics.Additionally, some of the fabric constructions were verbosely labelled, such as "French Terry inside Soft Brushed".Moreover, some construction terms were merged with the respective compositions, illustrated by entries such as "Fleece, 87 % Cotton, 13 % Polyester".
38To rectify these inconsistencies, the original compositions were converted to lowercase strings.Any string containing "ri" was redefined as "rib," while strings containing "fleece" and "terry" were combined into "Fleece_terry."Other related terms had similar corrections.Furthermore, body part descriptions were abbreviated for greater clarity and consistency.
Machine Learning Models for Prediction
39The final dataset was used to develop machine learning models aimed at predicting the GSM, one of the most crucial parameters of knit fabrics.Here, categorical data were One Hot Encoded, while numerical data was standardized by Standard Scaling.The Linear Regression, Random Forest, XGBoost, and Support Vector Machine Regression algorithms were implemented.Among these, the Random Forest model achieved exceptional accuracy, with an R 2 score of 98 %, a Mean Absolute Error of 1.6, and a Mean Squared Error of 139.In contrast, the Linear Regression model performed the worst across all metrics (see Table 4 ).
Ethics Statement
40The data of this article involve neither animal nor human participants.Besides, according to the company's data distribution policy data can be shared for research and non-commercial purposes.Hence our dataset complies with the data distribution policy of the company.
Fig. 1 .
41Fig. 1.GSM and yarn count relation for Single Jersey fabrics.
Fig. 2 .
42Fig. 2. Tightness factor to stitch length.
43predict GSM, Random Forest and XGBoost consistently outperformed across all metrics (R ² score, Mean Absolute Error, and Mean Square Error).©2025 The Author(s).Published by Elsevier Inc.This is an open access article under the CC BY-NC license ( http://creativecommons.org/licenses/by-nc/4.0/ ) Bangladesh named Fakhruddin Textile Mills Limited.The majority of the data was taken from the daily production report.Then, several more parameters were engineered by applying domain knowledge on knitting technology.The data contains 12,569 entries collected from 168 machines from June 2023 to August 2023.The collected dataset contains tens of thousands of errors, such as missing values, wrong data type, extremely long entries, and large categorical variables, which may cause the curse of dimensionality while applying the one-hot encoding method in machine learning.All of these are tackled by using the Python-based Pandas library.
Table 1
44Description of parameters of the production dataset.
45M/C Brand (with quantity) Brands of the machines, such as Fukuhara (3641), JiunnLong (2330), Hangxing (2227), Pailung (2041), Lisky (620), Jiunn Long (581), Santoni (179) Production Date Date of the record M/C Dia & Gauge The diameter (inch) and guague (number of needles/inch) of the machine Body Part Produced knit Fabric will be used for e.g.Main Fabric Top, Body, Main Fabric Bottom, Body Neck Binding etc. Booking Type Types of order e.g.Main (order from a buyer), Sample Without Order, Short order,
Table 3
46Value and value counts of the Construction feature of the dataset.
Table 4
47Machine Learning model techniques with accuracy metrics.
참고문헌 11건
- Determination of loop length, tightness factor and porosity of single jersey knitted fabric Alexandria Engineering Journal · Elsevier BV · 2016 10.1016/j.aej.2016.02.006
- Data mining and machine learning in textile industry Wiley Interdisciplinary Reviews Data Mining and Knowledge Discovery · Wiley · 2017 10.1002/widm.1228
- Optical coherence tomography image dataset of textile fabrics Data in Brief · Elsevier BV · 2022 10.1016/j.dib.2022.108719
- Predicting Yarn Breaks in Textile Fabrics: A Machine Learning Approach Procedia Computer Science · Elsevier BV · 2022 10.1016/j.procs.2022.09.289
- Textile weaving dataset for machine learning to predict rejection and production of a weaving factory Data in Brief · Elsevier BV · 2023 10.1016/j.dib.2023.108995
- Evaluation of physical and mechanical characteristics of three-thread fleece knit fabric for their structural changes Heliyon · Elsevier BV · 2023 10.1016/j.heliyon.2023.e21588
- Machine Learning for Quality Control in Traditional Textile Manufacturing Jurnal Rekayasa Sistem Industri · LPPM UNPAR · 2024 10.26593/jrsi.v13i1.7173.165-174
- A Novel Dataset for Fabric Defect Detection: Bridging Gaps in Anomaly Detection Applied Sciences · Multidisciplinary Digital Publishing Institute · 2024 10.3390/app14125298
- Machine learning based on finite element method to predict engineering constants of weft plain knitted composites Composite Structures · Elsevier BV · 2025 10.1016/j.compstruct.2025.119194
- Machine Learning in Polymeric Technical Textiles: A Review Polymers · Multidisciplinary Digital Publishing Institute · 2025 10.3390/polym17091172
- Enhancing clothing industry quality: predicting knitwear defects with data mining Research Journal of Textile and Apparel · Emerald Publishing Limited · 2025 10.1108/rjta-11-2024-0200