Machine Learning-Based Prediction of Textural Properties and Nonlinear Regulatory Pattern Analysis of 3D-Printed Dough Containing Konjac Glucomannan
Abstract
1. Introduction
2. Theoretical Framework for Machine Learning Predictive Modeling and Research Indices
2.1. Data Preprocessing and Normalization
2.2. Space-Filling-Inspired Discrete Experimental Design
- (1)
- Space-filling property: LHS ensures a uniform distribution of samples across the KGM concentration gradient and pressure intervals. This effectively mitigates the over-concentration of data points in localized regions and prevents the emergence of predictive blind spots at the margins, thereby empowering the model to accurately capture and predict underlying patterns.
- (2)
- Prevention of dimensionality collapse: The textural characteristics of 3D-printed dough are synergistically influenced by multiple variables. In scenarios exhibiting disparate parameter sensitivities (e.g., subtle adjustments in printing pressure may exert a less pronounced effect on texture compared to variations in KGM concentration), LHS guarantees that every discrete level of each variable is exhaustively sampled. This circumvents the information redundancy and dimensional feature loss frequently encountered in traditional experimental designs [14].
2.3. Support Vector Regression (SVR) Modeling and Nonlinear Textural Mapping
2.4. Gaussian Process Regression (GPR) Modeling and Predictive Uncertainty Quantification
2.5. Hyperparameter Optimization and Model Evaluation Metrics
3. Materials and Methods
3.1. Experimental Materials
3.2. Experimental Instruments
3.3. Preparation of Composite Flour and 3D Printing
3.4. Determination of Dough Textural Properties
3.5. Computational Environment and Software
- (1)
- Data Processing and Statistical Analysis: Pandas 2.3.3 and NumPy 2.4.2 libraries were employed for importing raw experimental data, performing matrix transformations, identifying and removing technical outliers based on a coefficient of variation (CV) threshold > 10% prior to calculating the arithmetic mean for parallel replicates, and computing statistical parameters.
- (2)
- Machine Learning Framework: The core algorithmic architecture was developed using the Scikit-learn library (version 1.8.0) in Python (version 3.11). Specifically, hyperparameter optimization was executed using the GridSearchCV function, and the GPR kernels were instantiated via the sklearn.gaussian_process.kernels module. To strictly prevent data leakage and ensure methodological reproducibility, a standardized data preprocessing and modeling pipeline was implemented. Given the distinct physical dimensions and numerical magnitudes of the five TPA indices, independent predictive models were constructed for each textural parameter. The holistic machine learning workflow strictly adhered to the following sequential protocol: initial partitioning of the dataset into training and independent test sets; fitting the MinMaxScaler exclusively on the training set to independently normalize the input features and the specific target variable to a [0, 1] range; conducting hyperparameter optimization via cross-validation and grid search strictly within the scaled training bounds; fitting the final optimal model; and ultimately performing external test set predictions, followed by inverse normalization to restore the target variables to their original physical units. This rigorous pipeline guarantees that no information from the test set influences the model training or scaling processes.
4. Results and Discussion
4.1. Correlation Between 3D Printing Parameters and Dough Textural Properties
4.2. Parameter Optimization Process for SVR and GPR Models
4.2.1. SVR Hyperparameter Optimization
4.2.2. GPR Hyperparameter Optimization
4.3. Comparative Analysis of Predictive Performance and Fitting Validation for SVR and GPR Models
4.4. Model-Based Interpretation of Nonlinear Textural Regulatory Patterns
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Tuyen, N.T.K.; Kim, D.M.; Lee, J.W.; Jung, J.H. Innovative Hybrid Nanocomposites in 3D Printing for Functional Applications: A Review. Molecules 2024, 29, 5159. [Google Scholar] [CrossRef] [PubMed]
- Yu, W.W.; Shi, J.N.; Sun, L.W.; Lei, W. Effects of Printing Parameters on Properties of FDM 3D Printed Residue of Astragalus/Polylactic Acid Biomass Composites. Molecules 2022, 27, 7373. [Google Scholar] [CrossRef] [PubMed]
- Brzakalski, D.; Sztorch, B.; Frydrych, M.; Pakula, D.; Dydek, K.; Kozera, R.; Boczkowska, A.; Marciniec, B.; Przekop, R.E. Limonene Derivative of Spherosilicate as a Polylactide Modifier for Applications in 3D Printing Technology. Molecules 2020, 25, 5882. [Google Scholar] [CrossRef]
- Bai, C.; Liu, R.; Shen, L.Y.; Zhuang, Y.; Hu, J.Y. Effects of Konjac Glucomannan and Curdlan on the 3D Printability and Physicochemical Properties of Germinated Brown Rice Gel. Foods 2025, 14, 1764. [Google Scholar] [CrossRef]
- Santivañez, G.W.Q.; Ninahuaman, H.J.J.; Soto, J.P.; Clerici, M.; Salvador-Reyes, R. Optimization of 3D Extrusion Printing Parameters for Raw and Extruded Dehulled Andean Fava Bean Flours Using Response Surface Methodology (RSM). Foods 2025, 14, 715. [Google Scholar] [CrossRef] [PubMed]
- Zhang, Z.Z.; Wang, Y.X.; Wang, W.G. Machine Learning in Gel-Based Additive Manufacturing: From Material Design to Process Optimization. Gels 2025, 11, 528. [Google Scholar] [CrossRef]
- Cui, S.H.; Cui, Y.; Blennow, A.; Zhong, Y.Y.; Liu, X.X. Artificial intelligence-driven pre-estimation of printability and textural properties of starch-based gels in 3D food printing. Food Hydrocoll. 2026, 175, 112422. [Google Scholar] [CrossRef]
- Zhang, M.M.; Li, B.C.; Lv, X.Y.; Xu, B.; Sun, J. Optimizing TPA of Preserved Egg Gel with Sensory-Structural Validation. Food Anal. Methods 2026, 19, 10. [Google Scholar] [CrossRef]
- Park, R.; Roman, L.; Falardeau, L.; Albino, L.; Joye, I.; Martinez, M.M. High Temperature Rotational Rheology of the Seed Flour to Predict the Texture of Canned Red Kidney Beans (Phaseolus vulgaris). Foods 2020, 9, 1002. [Google Scholar] [CrossRef]
- Cao, Y.M.; Zhang, Y.; Yu, S.T.; Wang, K.K.; Chen, Y.J.; Xu, Z.M.; Ma, Z.Y.; Chen, H.L.; Wang, Q.; Zhao, R.; et al. Rapid and Non-Invasive Assessment of Texture Profile Analysis of Common Carp (Cyprinus carpio L.) Using Hyperspectral Imaging and Machine Learning. Foods 2023, 12, 3154. [Google Scholar] [CrossRef]
- Lee, C.P.; Hashimoto, M. Prediction of textural properties of 3D-printed food using response surface methodology. Heliyon 2024, 10, e27658. [Google Scholar] [CrossRef]
- Ma, Y.Z.; Schutyser, M.A.; Boom, R.M.; Zhang, L. Predicting the extrudability of complex food materials during 3D printing based on image analysis and gray-box data-driven modelling. Innov. Food Sci. Emerg. Technol. 2021, 73, 102764. [Google Scholar] [CrossRef]
- Xia, X.X.; Li, W.L.; Li, P.N. A new class of asymptotic maximin distance Latin hypercube designs. Can. J. Stat. 2025, 53, e11836. [Google Scholar] [CrossRef]
- Borisut, P.; Nuchitprasittichai, A.; Zhang, J.; Feng, X.; Yang, M.B. Adaptive Latin Hypercube Sampling for a Surrogate-Based Optimization with Artificial Neural Network. Processes 2023, 11, 3232. [Google Scholar] [CrossRef]
- Lu, Y.X.; Rai, R.; Nitin, N. Image-based assessment and machine learning-enabled prediction of printability of polysaccharides-based food ink for 3D printing. Food Res. Int. 2023, 173, 113384. [Google Scholar] [CrossRef]
- Nakamoto, H.; Nishimura, R.; Kobayashi, F. Effects of sensory combination on crispness and prediction of sensory evaluation value by Gaussian process regression. PLoS ONE 2024, 19, e0297620. [Google Scholar] [CrossRef] [PubMed]
- Lugo-Rojas, J.C.; Chica-Morales, M.J.; Florez-González, S.L.; Alvarez-Meza, A.M.; Castellanos-Dominguez, G. Integrating Cacao Physicochemical-Sensory Profiles via Gaussian Processes Crowd Learning and Localized Annotator Trustworthiness. Foods 2025, 14, 2961. [Google Scholar] [CrossRef] [PubMed]
- Carvajal-Mena, N.; Tabilo-Munizaga, G.; Saldaña, M.D.A.; Pérez-Won, M.; Herrera-Lavados, C.; Lemus-Mondaca, R.; Moreno-Osorio, L. Three-Dimensional Printing Parameter Optimization for Salmon Gelatin Gels Using Artificial Neural Networks and Response Surface Methodology: Influence on Physicochemical and Digestibility Properties. Gels 2023, 9, 766. [Google Scholar] [CrossRef]
- McKay, M.D.; Beckman, R.J.; Conover, W.J. A Comparison of Three Methods for Selecting Values of Input Variables in the Analysis of Output from a Computer Code. Technometrics 1979, 21, 239–245. [Google Scholar]
- Barzegar, H.; Behbahani, B.A.; Mirzaei, A.; Sheikhjan, M.G. Prediction of physicochemical and sensory parameters of coated lamb meat based on a novel edible coating. J. Food Meas. Charact. 2024, 18, 1664–1678. [Google Scholar] [CrossRef]
- Santhoshkumar, P.; Moses, J.A. Impact of konjac glucomannan on hot extrusion 3D printability of cake gel. Int. J. Biol. Macromol. 2025, 305, 141162. [Google Scholar] [CrossRef]
- Chen, L.; Opara, U.L. Texture measurement approaches in fresh and processed foods—A review. Food Res. Int. 2013, 51, 823–835. [Google Scholar] [CrossRef]
- Nakamoto, H.; Shimizu, T. Food Texture Prediction Method Using Multiple Measurement and Template Data. IEEE Access 2024, 12, 124834–124844. [Google Scholar] [CrossRef]
- Fahmy, A.R.; Becker, T.; Jekle, M. 3D printing and additive manufacturing of cereal-based materials: Quality analysis of starch-based systems using a camera-based morphological approach. Innov. Food Sci. Emerg. Technol. 2020, 63, 102384. [Google Scholar] [CrossRef]
- Jimoh, K.A.; Hashim, N.; Shamsudin, R.; Man, H.C.; Jahari, M. Optimization of computational intelligence approach for the prediction of glutinous rice dehydration. J. Sci. Food Agric. 2024, 104, 6208–6220. [Google Scholar] [CrossRef] [PubMed]
- Cao, G.; Yang, Z.Q.; Li, X.Z.; He, X.Y.; Song, S.; Wen, C.R. The combined effects of konjac glucomannan and ultrasound treatments on the interaction of gluten and surimi protein. Food Chem. X 2026, 33, 103492. [Google Scholar] [CrossRef]
- Cui, T.T.; Zhou, X.D.; Sui, W.J.; Liu, R.; Wu, T.; Wang, S.; Jin, Y.; Tingtin, M. Effects of thermal-induced konjac glucomannan-protein interaction on structural and rheological properties of wheat dough. Food Struct. 2022, 33, 100288. [Google Scholar] [CrossRef]
- Mohammed, M.A.P.; Baharuddin, A.S.; Wakisaka, M. Numerical study of starch-gluten dough: Deformation and extrusion. J. Food Eng. 2022, 329, 111078. [Google Scholar] [CrossRef]
- Xu, C.F.; Cheng, K.X.; Kang, Y.; Cheng, C.; Zhang, C.; Shang, L.C. Deacetylated Konjac Glucomannan with a Slower Hydration Rate Delays Rice Digestion and Weakens Appetite Response. Molecules 2024, 29, 1681. [Google Scholar] [CrossRef]
- Zhang, W.; Ren, X.N.; Zhang, L.L.; Chen, J.H. Preparation and Performance of Thickened Liquids for Patients with Konjac Glucomannan-Mediated Dysphagia. Molecules 2022, 27, 2194. [Google Scholar] [CrossRef]










| Dataset Partitioning | Sample ID | Base Flour Mass (g) | KGM Target Concentration (%) | Actual KGM Mass (g) | 3D Printing Pressure (Bar) |
|---|---|---|---|---|---|
| Training set | 3D-0%KGM | 50.0 | 0.0 | 0.0000 | 4.00 |
| 50.0 | 0.0 | 0.0000 | 4.25 | ||
| 50.0 | 0.0 | 0.0000 | 4.50 | ||
| 50.0 | 0.0 | 0.0000 | 4.75 | ||
| 50.0 | 0.0 | 0.0000 | 5.00 | ||
| 3D-0.25%KGM | 50.0 | 0.25 | 0.1250 | 4.00 | |
| 50.0 | 0.25 | 0.1250 | 4.25 | ||
| 50.0 | 0.25 | 0.1250 | 4.75 | ||
| 50.0 | 0.25 | 0.1250 | 5.00 | ||
| 3D-0.5%KGM | 50.0 | 0.5 | 0.2500 | 4.00 | |
| 50.0 | 0.5 | 0.2500 | 4.25 | ||
| 50.0 | 0.5 | 0.2500 | 4.50 | ||
| 50.0 | 0.5 | 0.2500 | 5.00 | ||
| 3D-0.75%KGM | 50.0 | 0.75 | 0.3750 | 4.00 | |
| 50.0 | 0.75 | 0.3750 | 4.25 | ||
| 50.0 | 0.75 | 0.3750 | 4.75 | ||
| 50.0 | 0.75 | 0.3750 | 5.00 | ||
| 3D-1%KGM | 50.0 | 1.0 | 0.5000 | 4.00 | |
| 50.0 | 1.0 | 0.5000 | 4.25 | ||
| 50.0 | 1.0 | 0.5000 | 4.50 | ||
| 50.0 | 1.0 | 0.5000 | 4.75 | ||
| 50.0 | 1.0 | 0.5000 | 5.00 | ||
| Test set | 3D-0.15%KGM | 50.0 | 0.15 | 0.0750 | 4.10 |
| Test set | 3D-0.35%KGM | 50.0 | 0.35 | 0.1750 | 4.40 |
| Test set | 3D-0.4%KGM | 50.0 | 0.4 | 0.2000 | 4.80 |
| Test set | 3D-0.6%KGM | 50.0 | 0.6 | 0.3000 | 4.60 |
| Test set | 3D-0.85%KGM | 50.0 | 0.85 | 0.4250 | 4.90 |
| Test set | 3D-0.9%KGM | 50.0 | 0.9 | 0.4500 | 4.15 |
| Textural Properties | Optimal Penalty Coefficient C | Optimal Kernel Parameter γ | Optimal Insensitivity Coefficient ε | RMSEP | RPD | ||
|---|---|---|---|---|---|---|---|
| Hardness | 316.23 | 0.1 | 0.032 | 0.988 | 0.948 | 0.257 | 4.81 |
| Cohesiveness | 1 | 1 | 0.01 | 0.973 | 0.844 | 0.049 | 2.77 |
| Springiness | 3.16 | 1 | 0.001 | 0.973 | 0.963 | 0.068 | 5.71 |
| Gumminess | 1000 | 0.032 | 0.001 | 0.984 | 0.99 | 0.097 | 10.97 |
| Chewiness | 316.23 | 0.1 | 0.01 | 0.996 | 0.987 | 0.853 | 9.69 |
| Textural Parameter | ||
|---|---|---|
| Hardness | 0.963 ± 0.030 | 0.205 ± 0.032 |
| Cohesiveness | 0.928 ± 0.044 | 0.027 ± 0.010 |
| Springiness | 0.891 ± 0.033 | 0.110 ± 0.025 |
| Gumminess | 0.946 ± 0.048 | 0.200 ± 0.027 |
| Chewiness | 0.989 ± 0.007 | 0.700 ± 0.198 |
| Textural Properties | Optimal Kernel Function | Optimal Noise Variance (α) | Optimization Algorithm | Number of Restarts | RMSEP | RPD | ||
|---|---|---|---|---|---|---|---|---|
| Hardness | SE | 0.001 | L-BFGS-B | 10 | 0.9896 | 0.9604 | 0.2246 | 5.51 |
| Cohesiveness | RQ | 0.001 | L-BFGS-B | 10 | 0.9971 | 0.9023 | 0.0387 | 3.51 |
| Springiness | SE | 0.01 | L-BFGS-B | 10 | 0.9714 | 0.9522 | 0.0778 | 5.01 |
| Gumminess | Matern 5/2 | 0.001 | L-BFGS-B | 10 | 0.9884 | 0.9859 | 0.1152 | 9.24 |
| Chewiness | Matern 5/2 | 0.001 | L-BFGS-B | 10 | 0.9964 | 0.9858 | 0.8996 | 9.19 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Leng, W.; Sun, Y.; Xie, J.; Pang, J. Machine Learning-Based Prediction of Textural Properties and Nonlinear Regulatory Pattern Analysis of 3D-Printed Dough Containing Konjac Glucomannan. Foods 2026, 15, 1941. https://doi.org/10.3390/foods15111941
Leng W, Sun Y, Xie J, Pang J. Machine Learning-Based Prediction of Textural Properties and Nonlinear Regulatory Pattern Analysis of 3D-Printed Dough Containing Konjac Glucomannan. Foods. 2026; 15(11):1941. https://doi.org/10.3390/foods15111941
Chicago/Turabian StyleLeng, Wenjun, Yilan Sun, Jianhua Xie, and Jie Pang. 2026. "Machine Learning-Based Prediction of Textural Properties and Nonlinear Regulatory Pattern Analysis of 3D-Printed Dough Containing Konjac Glucomannan" Foods 15, no. 11: 1941. https://doi.org/10.3390/foods15111941
APA StyleLeng, W., Sun, Y., Xie, J., & Pang, J. (2026). Machine Learning-Based Prediction of Textural Properties and Nonlinear Regulatory Pattern Analysis of 3D-Printed Dough Containing Konjac Glucomannan. Foods, 15(11), 1941. https://doi.org/10.3390/foods15111941

