Next Article in Journal
Effect of Microwave–Vacuum Drying and Pea Protein Fortification on Pasta Characteristics
Previous Article in Journal
Decision Support System (DSS) for Improving Production Ergonomics in the Construction Sector
Previous Article in Special Issue
Enzymic Deactivation in Tender Coconut Water by Supercritical Carbon Dioxide
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Artificial Neural Network Modeling to Predict Electrical Conductivity and Moisture Content of Milk During Non-Thermal Pasteurization: New Application of Artificial Intelligence (AI) in Food Processing

by
Ali Wali M. Alsaedi
1,
Asaad R. Al-Hilphy
2,
Azhar J. Al-Mousawi
1 and
Mohsen Gavahian
3,*
1
Department of Food Science, College of Agriculture Engineering Sciences, University of Baghdad, Aljaderya 10070, Iraq
2
Department of Food Science, College of Agriculture, University of Basrah, Basrah 42001, Iraq
3
Department of Food Science, National Pingtung University of Science and Technology, 1, Shuefu Road, Neipu, Pingtung 91201, Taiwan
*
Author to whom correspondence should be addressed.
Processes 2024, 12(11), 2507; https://doi.org/10.3390/pr12112507
Submission received: 9 October 2024 / Revised: 4 November 2024 / Accepted: 8 November 2024 / Published: 11 November 2024
(This article belongs to the Special Issue Non-thermal Technologies in Food Science, 2nd Edition)

Abstract

:
This study proposed applying artificial intelligence (AI) to predict the actual electrical conductivity (EC) of raw and pasteurized milk using moderate electric field (MEF) based on the electric field strength (EFS) and mass flow rate (MFR) along with modeling moisture content (MC) based on the EC. To this end, an artificial neural network (ANN) was implemented for conventionally (CP) and non-thermally (NP) pasteurized milk. The findings indicated no significant difference (p > 0.05) between the experimental and predicted data for EC and MC. The MFR and EFS affected the actual EC. The raw milk samples had an EC of 0.468812–0.46913 S/m and MC of 87.3218–87.35941%, while these values in NP pasteurized milk were 0.457441–0.638224 S/m and 87.33986–87.40851%. With correlation coefficients (R) of 0.736478106–0.951840323 and mean square errors (MSE) of 0.005539–0.0064, the ANN accurately predicted the raw and pasteurized milk MC based on the EC using the sixth-order polynomial model and the EC based on the EFS and MFR using a quadratic model. The EC of pasteurized milk by NP was significantly (p < 0.05) lower than that of CP and raw milk by 15.44% and 11.30%, respectively. The results show that the EFS and MFR might be used for the online assessment of milk’s physical attributes (e.g., EC), followed by using the assessed parameter to determine other properties (e.g., MC) by developing AI approaches based on optimized models. These observations showcase the innovative use of ANN-based AI to predict milk’s EC and MC accurately. Integrating such AI platforms into non-thermal food processing could eventually develop more sustainable food production and enhance food security and quality through process innovation and sustainable manufacturing, contributing to the industrial revolution and sustainable development goals.

1. Introduction

Milk is a water-based fluid containing dissolved protein aggregates, carbs, and minerals. It is an emulsion or colloid of butterfat globules [1]. Milk is nature’s most comprehensive food, providing energy, protein, vitamins, and minerals in nutrient-dense meals and milk products [2,3]. Milk’s resistance to the passage of electricity is measured by its electric conductivity, which depends on the concentration and presence of specific ions, mainly sodium, potassium, and chloride ions [4]. Foods’ physical properties are of enormous importance regarding consumer acceptance [5,6]. Electrical conductivity is needed for accurate electrical heating process modeling, electrical tomography research, and quality assurance [7], especially for electrical-based food processing, as it might be affected by temperature and composition [8].
In nonlinear optimization, neural networks are utilized to tackle complicated problems. The biological inspiration comes from the procedures employed, which are based on how neurons function in the brains of humans and animals. Currently, most an artificial neural network (ANN) applications in food science allow problem-solving or assistance with problem-solving, improved design processes, and machine learning design limits [9]. This originated from research on artificial intelligence (AI) that focused on applying the proper training method and providing adequate data to effectively describe multivariate nonlinear processes [10].
ANN typically consists of an output layer (the output), hidden layers (neurons), and an input layer (the input variables). Because ANNs are stable, effective, and uniquely able to explain nonlinear relationships between independent and dependent variables through input–output system training and retraining, they are typically used in complex systems [10]. The main advantage of ANN modeling—essentially a black box—is that it uses several input variables to predict output variables even without prior knowledge about the links between the processes [11]. Furthermore, an ANN in agriculture engineering is a better alternative to traditional empirical modeling based on linear and polynomial regressions [12]. ANNs have gained popularity and are essential to the advancement of modern technology. Due to the growth in industrial automation and the Internet of Things, gathering data and monitoring food drying, extrusion, sterilization, and other processes are more accessible than ever. In the modern industrial revolution, ANNs have proven helpful in food processing tasks such as food grading, safety, and quality inspection [13].
ANNs are gaining popularity in food process engineering because they can model large datasets with complexity and nonlinear relationships. Compared to other perdition methodologies, such as Multiple Linear Regression (MLR) and Decision Trees, ANNs can capture complex patterns and interactions more than conventional techniques [14]. ANNs can predict food quality parameters more accurately than MLR, which assumes linear connections [15]. At the same time, although the Decision Tree methodology is easier to understand and train, it frequently needs to improve in dealing with highly variable data [16]. However, ANNs may show limitations in situations with little data because they necessitate significant computing power and larger training datasets than Decision Trees, where the correlations between variables are more prominent; its “black box” character also makes it difficult to interpret the results. Combining AI and ANN could boost the capability of this perdition methodology, which has been assessed in a present study for milk processing.
Leveraging AI-based ANNs is new to emerging food processing research, especially those aimed at the industrial scale. A previous work applied AI-based modeling for non-thermally processed milk to optimize color during storage [17]. Another recently published study explored the possibility of using AI to predict the aroma of dairy [18]. There is also a published manuscript on utilizing machine learning algorithms to predict clinical mastitis in dairy cows according to the electrical conductivity of milk [19]. Moreover, sesame milk yield was predicted using an ANN [20]. However, AI could provide further benefits to food processing by providing online data on other physical properties of products, such as electrical conductivity, which is a crucial parameter in electrical-based processing. There are no published papers on modeling electric conductivity based on the electrical field and mass flow rate for non-thermal pasteurized milk and the prediction of moisture content of milk based on electric conductivity using ANNs.
This study aimed to model the electric conductivity of pasteurized milk based on the electrical field and mass flow rate using ANNs. It also predicted the moisture content of non-thermal pasteurized milk based on electric conductivity using ANNs.

2. Materials and Methods

2.1. Milk

Fresh whole bovine milk was procured from Breeding and Market Beef in Kadhemia Town (Baghdad, Iraq) and refrigerated at 5 °C until further use.

2.2. Non-Thermal and Conventional Pasteurization

The milk pasteurizer systems (non-thermal and conventional pasteurization; NP and CP) were the same as those reported in a previous study [17]. The milk was homogenized when the mixer was present in the milk tank. A mass flow rate (MFR) of 0.0167–0.0333 kg/s and electric field strength (EFS) of 25–35 V/cm were the process variables. Conventional milk pasteurization was performed at 63 °C for 0.5 h for 0.25 L sample in a 0.26 L stainless steel cylinder. The sample was then cooled to 5 °C and refrigerated until the upcoming analysis.

2.3. Electrical Conductivity

The movement of charges across a material is known as EC. EC during NP pasteurization is given by the following equation, according to the literature [21]:
E C = I   L U   A
In Equation (1), EC is the electrical conductivity (S/m), I is the current (A), L is the distance between the electrodes (m), U is the voltage (V), and A is the cross-section area of the electrodes (m2).
The EC of milk after pasteurization by NP and CP was measured at a temperature of 25 °C using a conductivity meter (model 3510, Jenway Co., Chelmsford, UK).

2.4. Moisture Content

The MC of treated and fresh milk was determined using an ultrasonic analyzer (LAC-SA–50 Milk Analyzer, BOECO company, Hamburg, Germany). At 25 °C, the samples were examined. The milk analyzer was calibrated for the milk according to the supplier’s protocol to ensure the accuracy and dependability of the results. Testing was carried out on each sample, which was three replicates.

2.5. Artificial Neural Network Modeling

The matrix laboratory (MATLAB)’s artificial neural network fitting (R2014a, MathWorks Inc., MA, Portola Valley, CA, USA) was utilized to model experimental data generated by the ANNs during the non-thermal milk pasteurization using a moderate electric field. Multilayer perception comprised the feedforward backpropagation of the algorithm input layer (moderate electric field and mass flow rate in case of electrical conductivity prediction, and electrical conductivity in case of moisture content prediction) in the neural network, ten hidden layers for training on data, and an output layer (electrical conductivity (case 1) (Figure 1a), moisture content of pasteurized milk (case 2) (Figure 1b), and moisture content of raw milk (case 3) (Figure 1c)). The training function was TRAUNLM, the adaption learning function was LEARINGDM, and the performance function was mean square error (MSE). Two layers, ten neurons, and the transfer function of TANSIG (used between input and hidden layers and between the hidden layer and output layer) were used [22].
The ANN models were trained until the error between the predicted and experimental response values was as small as possible. The Levenberg–Marquardt training algorithm was used for the dataset. The neural network parameters were all the weights and bias together. The experimental data were split into three groups to create the ANN model: 70% for training, 15% for testing, and 15% for validation. The total number of data points used for ANN training, validation, and testing was 33 for every property (99 for all properties). The generated ANN model’s performance was evaluated using the coefficient of correlation. The correlation coefficient and MSE were calculated from the following equations (Equations (2) and (3)):
R = i = 1 n x p x p ¯ 2 i = 1 n x e x e ¯ 2
M S E = i = 1 n x p x e 2 n
where R is the correlation coefficient, xp is the predicted data, xe is the experimental data, MSE is the mean square error, and n is the observation number.

3. Results and Discussion

3.1. Experimental Electrical Conductivity

Table 1 shows the effect of the EFS and MFR on the EC during milk pasteurization by NP at 35 °C. The results reveal that the EC increased as the MFR decreased. When the MFR was reduced from 0.0333 to 0.0167 kg/s, the EC rose from 0.457441 to 0.638224 S/m, respectively. This is because of the increase in the residence time due to the decreased speed of milk at a lower MFR, which permits the passage of higher current, leading to a rise in EC according to Equation (1). The residence period of milk in the MEF was found to be significantly shortened with an increase in MFR at all EFS values [23]. The researchers also found that this result was associated with increased milk speed at a higher MFR. EC changed with the increasing EFS. For instance, EC increased from 0.457441 to 0.503529 when the EFS rose from 25 to 31 V/cm at a 0.0333 kg/s MFR, and then decreased to 0.501187, 0.497532 S/m, and 0.49191 S/m at 32, 33, and 34 V/cm, respectively. The maximum value of EC reached 0.596071 S/m at an EFS of 35 V/cm and MFR of 0.0167 kg/s. The change in EC with the EFS is because pasteurized milk’s conductivity can rise as the strength of the electric field increases because of temperature effects and increased ionic mobility.
On the other hand, it may drop due to desalination procedures that reduce ionic concentration and the presence of fat, which obstructs ionic mobility. The interaction of these variables results in a complex correlation between pasteurized milk’s conductivity and the strength of the electric field, and the mean EC of milk ranged between 4.66 and 4.90 mS/m (0.466–0.490 S/m) [4,24,25]. Hwang et al. [26] depicted that the electric conductivity of raw milk was 0.45 S/m.

3.2. Modeling Electrical Conductivity Using Artificial Neural Network

The results in Table 1 reveal that the experimental and predicted ANNs converged, the SSE and RMSE were reduced, and the value of R was high. For the ANN performance (Figure 2), the best validation performance was 1.2292 × 10−7 at epoch zero, and the R values for training, validation, and testing all ranged between 0.99687 and 0.99992. Because ANNs can correlate various nonlinear relationships without requiring the specification of an appropriate fitting function beforehand, they hold great promise for modeling various applications of developing technologies in the food processing industry [22]. Therefore, EC can be predicted using the quadratic model based on the EFS and MFR as illustrated in Equation (4):
E C = 2.547 64.1 M F R 0.07916 E F S + 868 M F R 2 + 0.461 M F R × E F S   + 0.001101 E F S 2
Here, EFS is the electric field strength, MFR is the mass flow rate, and EC is the electric conductivity.
The three-dimensional plot in Figure 3a and the contour in Figure 3b depict the effect of the EFS and MFR on the predicted EC by the ANNs. The EC was reduced as the MFR increased at all EFS values. For example, when the MFR rose from 0.0167 to 0.0333 kg/s, the EC decreased from 0.596071 to 0.479877 S/m, respectively, at an EFS of 35 V/cm. The residence time decreased due to increased milk velocity at a higher MFR, allowing for lower current passage and a decline in EC. The change in EC during the increase in EFS was limited. For example, the EC declined from 0.588431 S/m at an MFR of 0.0167 kg/s and EFS of 34 V/cm to 0.491741 S/m at an MFR of 0.00333 kg/s and EFS of 34 V/cm. The MFR is of higher importance in the EC’s effect than EFS. Sun et al. [27] stated that at 15 °C, milk had an electrical conductivity of 0.409–0.431 S/m. It grew practically linearly from 15 °C to around 80 °C, then sharply decreased at 83 °C. The increase in ionic mobility brought on by the rise in temperature and the decrease in viscosity may cause a surge in electrical conductivity [28].

3.3. Modeling Moisture Content of Pasteurized and Raw Milk Using Artificial Neural Network

The results are shown in Table 2. They reveal that the MC changed with a changing EC. The maximum experimental MC was 87.40851% at an EC of 0.588196 S/m—higher electrical conductivity results from more free ions being available for conduction when moisture rises. Also, Table 2 depicts that the experimental and predicted MCs using ANNs converged, and the SSE and RMSE were inclined. The ANN is superior to other modeling methods because it uses experimental data to create a highly accurate model and address issues associated with the food processing industry [22]. At the same time, an R value of 0.951 was observed. For the ANN performance (Figure 4), the best validation performance was 2.1437 × 10−5 at epoch one, and the R values for training, validation, and testing all ranged between 0.8402 and 0.99452. Therefore, the MC of pasteurized milk can be predicted by a sixth-order polynomial model based on the EC as given in Equation (5):
M C = 0.0001034 E C 6 0.0002869 E C 5 0.0006483 E C 4 + 0.001566 E C 3 + 0.004171 E C 2 + 0.002973 E C + 87.38
where E C is the electrical conductivity (S/m), and MC is the moisture content (%).
Figure 5 presents the relationship between EC and MC. The MC changed as the EC changed. This change is attributed to the milk’s moisture content, which affects its electrical conductivity since it contains dissolved ions. Higher conductivity is usually the result of a rise in the concentration of these ions with increasing moisture content [29]. Understanding the correlation between EC and MC measurements is crucial for food quality evaluation, enhancing processing conditions, quality control, shelf-life management, and manufacturing, thereby improving consumer satisfaction and safety [24,29,30].
For raw milk, the sixth-order polynomial model was used to predict MC as given in Equation (6):
M C = 0.0001034 E C 6 0.0002869 E C 5 0.0006483 E C 4 + 0.001566 E C 3 + 0.004171 E C 2 + 0.002973 E C + 87.35
where E C is the electrical conductivity (S/m), and M C is the moisture content (%).

3.4. Effect of the Pasteurization Method on the Milk’s Electrical Conductivity and Moisture Content

Table 3 illustrates the mean values of the EC and MC of pasteurized milk (after pasteurization) by NP, CP, and raw milk at laboratory temperature. The results reveal that NP’s EC of pasteurized milk was significantly (p < 0.05) lower than that of the CP and raw milk by 15.44, and 11.30%, respectively. Hwang et al. [26] stated that the milk EC reached 0.505 and 0.806 S/m for raw milk at 5 and 20 °C temperatures, respectively. A previous study [31] revealed that the electric conductivity of raw milk reached 0.539 S/m. It was reported that the EC of an evaporated milk sample by ohmic heating (MEF) ranged between 0.41 and 1.89 S/m [32]. The differences between MC treatments were insignificant (p > 0.05). Also, a report [33] stated that the MC of raw cow milk was 87.392%.
There are also recent studies on the effects of electrical-based non-thermal pasteurization on the EC of other foods. For example, researchers applied electrical field-induced beef tenderization and observed an increase in EC [34]. The authors explained that the observed rise in EC could be linked to electricity-induced changes in cells’ permeability and drip loss, allowing ions to move more freely and increase current flow. Similarly, in non-thermal milk pasteurization based on a moderate electric field, which is explored in the present study, electricity could alter electrical conductivity by affecting the permeability of milk components, possible electricity-induced protein denaturation, or component precipitation, promoting ion transport and potentially influencing the milk’s physical properties. The above hypothesis needs further verifications in future “mechanism-focused studies”.

4. Limitations

While the present study demonstrated the effectiveness of ANN applications in raw and pasteurized milk with potential contributions to sustainable development goals (e.g., enhancing food security, process innovation, and sustainable manufacturing), it also helped identify some of ANN’s limitations. An ANN integrated with machine learning can be a valuable alternative to regression for milk data or design and control space data interpolations. Still, it requires careful evaluation due to potential overfitting. An ANN is valid for the regression of model parameters in manufacturing digital twin data adjustments, but it cannot prove root causes mathematically, making it unsuitable in regulatory environments. High data amounts are required, and hybrid models with isothermal ANNs can circumvent this but still require mechanistic models. Applications based on EC and MC are the most efficient. Standard operation mode data may not provide the necessary information for training ANNs, and relying on validated mechanistic models is often used with prejudice in industry. Standard control methods can fulfill computationally demanding tasks in process control, leading to economical business case-derived decisions. However, the benefits and effort of machine learning must be evaluated individually at each application and project step, as they are not general problem solvers and require expert knowledge for result evaluation. Also, it should be mentioned that the present study indicated the possibility of applying AI integrated with ANN for MC and EC of milk samples, while larger data sizes are required to be considered in future consecutive studies for practical contribution to industrial revolution.

5. Conclusions

The findings illustrate the successful application of ANN modeling in predicting EC and MC in raw and pasteurized milk samples, with the electric field strength and mass flow rate identified as key influencing factors. According to the observations, non-thermal pasteurization significantly reduced EC compared to conventional pasteurization and raw milk, while differences in MC between treatments were insignificant. ANN models effectively predicted EC and MC with minimal error, underscoring the potential for integrating AI into the real-time monitoring and optimization of non-thermal processing. This approach can be assessed for possible extension beyond EC and MC, including other quality indicators such as microbial activity, total soluble solids, and fraud detection. Future research should further focus on using deep machine learning to enhance the estimation of milk’s quality attributes, building a broader database by examining milk from diverse sources. This work signals a shift toward more sustainable, efficient, and data-driven approaches in food production to achieve a more sustainable production based on emerging non-thermal processing technologies. Future studies might use adaptive neuro-fuzzy inference systems (ANFISs) to predict raw and pasteurized milk’s EC, MC, and other properties. Moreover, ANNs can predict raw and non-thermal pasteurized milk fraud—practical applications. For practical applications, the prediction of EC and MC using ANNs can be used in food industries to determine EC and MC to detect milk fraud (e.g., adding water).

Author Contributions

A.W.M.A.: validation, original draft, writing—review and editing, and methodology; A.J.A.-M.: supervision, writing—review and editing, and conceptualization; A.R.A.-H.: methodology, data curation, supervision, writing—original draft, software, validation, and formal analysis; M.G.: writing—review and editing, conceptualization, supervision, and visualization. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Data Availability Statement

Data are contained within the article.

Acknowledgments

The authors thank the Department of Food Science, College of Agriculture, University of Baghdad for providing research resources. Integrating AI was conceptualized and performed in collaboration with the “Emerging Food Processing Technology Laboratory” at the National Pingtung University of Science and Technology.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Loffi, C.; Cavanna, D.; Sammarco, G.; Catellani, D.; Dall’Asta, C.; Suman, M. Non-Targeted High-Resolution Mass Spectrometry Study for Evaluation of Milk Freshness. J. Dairy Sci. 2021, 104, 12286–12294. [Google Scholar] [CrossRef] [PubMed]
  2. Fusco, V.; Chieffi, D.; Fanelli, F.; Logrieco, A.F.; Cho, G.; Kabisch, J.; Böhnlein, C.; Franz, C.M.A.P. Microbial Quality and Safety of Milk and Milk Products in the 21st Century. Compr. Rev. Food Sci. Food Saf. 2020, 19, 2013–2049. [Google Scholar] [CrossRef] [PubMed]
  3. Yun, B.; Maburutse, B.E.; Kang, M.; Park, M.R.; Park, D.J.; Kim, Y.; Oh, S. Short Communication: Dietary Bovine Milk–Derived Exosomes Improve Bone Health in an Osteoporosis-Induced Mouse Model. J. Dairy Sci. 2020, 103, 7752–7760. [Google Scholar] [CrossRef]
  4. Paudyal, S.; Melendez, P.; Manriquez, D.; Velasquez-Munoz, A.; Pena, G.; Roman-Muniz, I.N.; Pinedo, P.J. Use of Milk Electrical Conductivity for the Differentiation of Mastitis Causing Pathogens in Holstein Cows. Animal 2020, 14, 588–596. [Google Scholar] [CrossRef]
  5. Fikry, M.; Yusof, Y.A.; Al-Awaadh, A.M.; Baroyi, S.A.H.M.; Ghazali, N.S.M.; Kadota, K.; Mustafa, S.; Abu Saad, H.; Shah, N.N.A.K.; Al-Ghamdi, S. Assessment of Physical and Sensory Attributes of Date-Based Energy Drink Treated with Ultrasonication: Modelling Changes during Storage and Predicting Shelf Life. Processes 2023, 11, 1399. [Google Scholar] [CrossRef]
  6. Mukhametov, A.; Chulenyov, A.; Kazak, A.; Semenycheva, I. Physicochemical and Microbiological Analysis of Goose Meat. Qual. Assur. Saf. Crops Foods 2023, 15, 49–58. [Google Scholar] [CrossRef]
  7. Subbiah, B.; Morison, K.R. Electrical Conductivity of Viscous Liquid Foods. J. Food Eng. 2018, 237, 177–182. [Google Scholar] [CrossRef]
  8. Kadem, Z.A.; Al-Hilphy, A.R.; Alasadi, M.H.; Gavahian, M. Combination of Ohmic Heating and Subcritical Water to Recover Amino Acids from Poultry Slaughterhouse Waste at a Pilot-Scale: New Valorization Technique. J. Food Sci. Technol. 2023, 60, 24–34. [Google Scholar] [CrossRef] [PubMed]
  9. Khadir, M.T. Artificial Neural Networks in Food Processing; De Gruyter: Berlin, Germany, 2021; ISBN 9783110646054. [Google Scholar]
  10. Ram Talib, N.S.; Halmi, M.I.E.; Abd Ghani, S.S.; Zaidan, U.H.; Shukor, M.Y.A. Artificial Neural Networks (ANNs) and Response Surface Methodology (RSM) Approach for Modelling the Optimization of Chromium (VI) Reduction by Newly Isolated Acinetobacter Radioresistens Strain NS-MIE from Agricultural Soil. Biomed. Res. Int. 2019, 2019, 1–14. [Google Scholar] [CrossRef]
  11. Tohido, M.; Sadeghi, M.; Mousavi, S.R.; MireeiI, S.A. Artificial Neural Network Modeling of Process and Product Indices in Deep Bed Drying of Rough Rice. Turk. J. Agric. For. 2012, 36, 738–748. [Google Scholar] [CrossRef]
  12. Ngankham, J.S.; Ram, K.P. Neural Network Approaches for Prediction of Drying Kinetics during Drying of Sweet Potato. Agric. Eng. Int. 2011, 13, 1–7. [Google Scholar]
  13. Nayak, J.; Vakula, K.; Dinesh, P.; Naik, B.; Pelusi, D. Intelligent Food Processing: Journey from Artificial Neural Network to Deep Learning. Comput. Sci. Rev. 2020, 38, 100297. [Google Scholar] [CrossRef]
  14. Abuwatfa, W.H.; AlSawaftah, N.; Darwish, N.; Pitt, W.G.; Husseini, G.A. A Review on Membrane Fouling Prediction Using Artificial Neural Networks (ANNs). Membranes 2023, 13, 685. [Google Scholar] [CrossRef] [PubMed]
  15. Sampaio, P.S.; Almeida, A.S.; Brites, C.M. Use of Artificial Neural Network Model for Rice Quality Prediction Based on Grain Physical Parameters. Foods 2021, 10, 3016. [Google Scholar] [CrossRef]
  16. Ahmad, M.W.; Mourshed, M.; Rezgui, Y. Trees vs Neurons: Comparison between Random Forest and ANN for High-Resolution Prediction of Building Energy Consumption. Energy Build. 2017, 147, 77–89. [Google Scholar] [CrossRef]
  17. Alsaedi, A.W.M.; Al-Hilphy, A.R.; Al-Mousawi, A.J.; Gavahian, M. Artificial Intelligence-based Modeling of Novel Non-thermal Milk Pasteurization to Achieve Desirable Color and Predict Quality Parameters during Storage. J. Food Process Eng. 2024, 47, e14658. [Google Scholar] [CrossRef]
  18. Anker, M.; Borsum, C.; Zhang, Y.; Zhang, Y.; Krupitzer, C. Using a Machine Learning Regression Approach to Predict the Aroma Partitioning in Dairy Matrices. Processes 2024, 12, 266. [Google Scholar] [CrossRef]
  19. Tian, H.; Zhou, X.; Wang, H.; Xu, C.; Zhao, Z.; Xu, W.; Deng, Z. The Prediction of Clinical Mastitis in Dairy Cows Based on Milk Yield, Rumination Time, and Milk Electrical Conductivity Using Machine Learning Algorithms. Animals 2024, 14, 427. [Google Scholar] [CrossRef]
  20. AbouAyan, I.A.A.; Elgarhy, M.R.; Al-Otibi, F.O.; Omar, M.M.; El-Abbassy, M.Z.; Khalifa, S.A.; Helmy, Y.A.; Saber, W.I.A. Artificial Intelligence-Powered Optimization and Milk Permeate Upcycling for Innovative Sesame Milk with Enhanced Probiotic Viability and Sensory Appeal. ACS Omega 2024, 9, 25189–25202. [Google Scholar] [CrossRef]
  21. Gavahian, M.; Chu, Y.-H.; Farahnaky, A. Effects of Ohmic and Microwave Cooking on Textural Softening and Physical Properties of Rice. J. Food Eng. 2019, 243, 114–124. [Google Scholar] [CrossRef]
  22. Dash, K.K.; Raj, G.V.S.B.; Gayary, M.A. Application of Neural Networks in Optimizing Different Food Processes Case Study. In Mathematical and Statistical Applications in Food Engineering; Sevda, S., Singh, A., Eds.; CRC Press: Boca Raton, FL, USA, 2020; p. 434. [Google Scholar]
  23. Al-Hilphy, A.R.; Abdulstar, A.R.; Gavahian, M. Moderate Electric Field Pasteurization of Milk in a Continuous Flow Unit: Effects of Process Parameters, Energy Consumption, and Shelf-Life Determination. Innov. Food Sci. Emerg. Technol. 2021, 67, 102568. [Google Scholar] [CrossRef]
  24. Henningsson, M.; Östergren, K.; Dejmek, P. The Electrical Conductivity of Milk—The Effect of Dilution and Temperature. Int. J. Food Prop. 2005, 8, 15–22. [Google Scholar] [CrossRef]
  25. Vilas Boas, D.F.; Vercesi Filho, A.E.; Pereira, M.A.; Roma Junior, L.C.; El Faro, L. Association between Electrical Conductivity and Milk Production Traits in Dairy Gyr Cows. J. Appl. Anim. Res. 2017, 45, 227–233. [Google Scholar] [CrossRef]
  26. Hwang, J.H.; Jung, A.H.; Yu, S.S.; Park, S.H. Rapid Freshness Evaluation of Cow Milk at Different Storage Temperatures Using in Situ Electrical Conductivity Measurement. Innov. Food Sci. Emerg. Technol. 2022, 81, 103113. [Google Scholar] [CrossRef]
  27. Sun, Y.; Liu, Y.; Zhou, W.; Shao, L.; Wang, H.; Zhao, Y.; Zou, B.; Li, X.; Dai, R. Effects of Ohmic Heating with Different Voltages on the Quality and Microbial Diversity of Cow Milk during Thermal Treatment and Subsequent Cold Storage. Int. J. Food Microbiol. 2024, 410, 110483. [Google Scholar] [CrossRef] [PubMed]
  28. Darvishi, H.; Salami, P.; Fadavi, A.; Saba, M.K. Processing Kinetics, Quality and Thermodynamic Evaluation of Mulberry Juice Concentration Process Using Ohmic Heating. Food Bioprod. Process. 2020, 123, 102–110. [Google Scholar] [CrossRef]
  29. Hwang, C.C.; Lin, C.M.; Kung, H.F.; Huang, Y.L.; Hwang, D.F.; Su, Y.C.; Tsai, Y.H. Effect of Salt Concentrations and Drying Methods on the Quality and Formation of Histamine in Dried Milkfish (Chanos Chanos). Food Chem. 2012, 135, 839–844. [Google Scholar] [CrossRef] [PubMed]
  30. Anika, T.T.; Al Noman, Z.; Rahman, A.K.M.A.; Sultana, N.; Ashraf, M.N.; Pervin, M.; Islam, M.A.; Hossain, M.M.; Khan, M.A.H.N.A. Electrical Conductivity and Total Dissolved Solid of Raw Milk for the Detection of Bovine Subclinical Mastitis. Vet. World 2023, 16, 2521–2525. [Google Scholar] [CrossRef] [PubMed]
  31. Inzaghi, V.; Zucali, M.; Thompson, P.D.; Penry, J.F.; Reinemann, D.J. Changes in Electrical Conductivity, Milk Production Rate and Milk Flow Rate Prior to Clinical Mastitis Confirmation. Ital. J. Anim. Sci. 2021, 20, 1554–1561. [Google Scholar] [CrossRef]
  32. Ariç Sürme, S.; Sabancı, S. The Usage of Ohmic Heating in Milk Evaporation and Evaluation of Electrical Conductivity and Performance Analysis. J. Food Process Preserv. 2021, 45, e15522. [Google Scholar] [CrossRef]
  33. Elamshity, M.G.; Alhamdan, A.M. Non-Destructive Evaluation of the Physiochemical Properties of Milk Drink Flavored with Date Syrup Utilizing VIS-NIR Spectroscopy and ANN Analysis. Foods 2024, 13, 524. [Google Scholar] [CrossRef] [PubMed]
  34. Jeong, S.-H.; Jung, Y.-M.; Kim, S.; Kim, J.-H.; Yeo, H.; Lee, D.-U. Tenderization of Beef Semitendinosus Muscle by Pulsed Electric Field Treatment with a Direct Contact Chamber and Its Impact on Proteolysis and Physicochemical Properties. Foods 2023, 12, 430. [Google Scholar] [CrossRef] [PubMed]
Figure 1. The feedforward neural network with multilayers: (a) prediction of electrical conductivity, (b) prediction of moisture content of pasteurized milk, (c) prediction of moisture content of raw milk. EFI: electric field intensity (straight), MFR: mass flow rate, EC: electric conductivity.
Figure 1. The feedforward neural network with multilayers: (a) prediction of electrical conductivity, (b) prediction of moisture content of pasteurized milk, (c) prediction of moisture content of raw milk. EFI: electric field intensity (straight), MFR: mass flow rate, EC: electric conductivity.
Processes 12 02507 g001
Figure 2. ANN performance: (a) mean square error (MSE) and (b) correlation coefficients (R) for training, validation, test, and all while the target and the output are the experimental and predicted EC, respectively).
Figure 2. ANN performance: (a) mean square error (MSE) and (b) correlation coefficients (R) for training, validation, test, and all while the target and the output are the experimental and predicted EC, respectively).
Processes 12 02507 g002
Figure 3. The effect of EFS and MFR on EC predicted by ANNs: (a) 3D plot, (b) contour plot.
Figure 3. The effect of EFS and MFR on EC predicted by ANNs: (a) 3D plot, (b) contour plot.
Processes 12 02507 g003
Figure 4. Visual representation of ANN performance; (a): mean square error (MSE) of pasteurized milk; (b): correlation coefficients (R) of pasteurized milk; (c): MSE of raw milk; (d): R of raw milk. The target is the experimental MC, and the output is the predicted MC.
Figure 4. Visual representation of ANN performance; (a): mean square error (MSE) of pasteurized milk; (b): correlation coefficients (R) of pasteurized milk; (c): MSE of raw milk; (d): R of raw milk. The target is the experimental MC, and the output is the predicted MC.
Processes 12 02507 g004
Figure 5. The predicted moisture content (MC) vs. electrical conductivity (EC) curves of pasteurized (a) and raw milk (b).
Figure 5. The predicted moisture content (MC) vs. electrical conductivity (EC) curves of pasteurized (a) and raw milk (b).
Processes 12 02507 g005
Table 1. Effect of EFS and MFR on EC during milk pasteurization by MEF at 35 °C.
Table 1. Effect of EFS and MFR on EC during milk pasteurization by MEF at 35 °C.
EFS (V/cm)MFR
(kg/s)
EC (S/m)
ExperimentalPredicted (ANN)
250.03330.4574410.461948
250.0250.5507970.550661
250.01670.6382240.637768
260.03330.4655630.466968
260.0250.519690.519654
260.01670.6289940.635771
270.03330.4799480.480037
270.0250.4927110.492596
270.01670.6148990.626663
280.03330.4910140.491003
280.0250.4736580.472494
280.01670.6048490.611522
290.03330.4969470.496733
290.0250.460980.461157
290.01670.5983370.597816
300.03330.5003680.500604
300.0250.4582890.458693
300.01670.5879870.586851
310.03330.5036210.503529
310.0250.4592380.458872
310.01670.5852010.584777
320.03330.5011870.501768
320.0250.464210.462115
320.01670.5871520.585988
330.03330.4975320.49737
330.0250.4797470.474522
330.01670.5881960.588431
340.03330.491910.491741
340.0250.4999720.499811
340.01670.5939310.593675
350.03330.4798950.479877
350.0250.527420.527145
350.01670.595410.596071
SSE * 0.01011
R 0.9546
RMSE 0.01935
* SSE: sum of square error; RMSE: root mean square error; EFS: electric field strength; R: correlation coefficient; and MFR: mass flow rate.
Table 2. Correlations between EC and MC during NP and raw milk.
Table 2. Correlations between EC and MC during NP and raw milk.
NP *Raw Milk
EC (S/m)MC (%)EC (S/m)MC (%)
ExperimentalPredicted (ANNs)ExperimentalPredicted (ANNs)
0.45744187.3640587.380584450.46905587.3525487.35257
0.55079787.3765587.384840130.46903587.3522387.35161
0.63822487.3890587.388368180.46917287.3514187.35136
0.46556387.3552187.380969340.46895587.3336887.33983
0.5196987.3692187.383467950.46910187.3500187.34997
0.62899487.3832187.38802190.46885587.321887.3264
0.47994887.3483887.381645260.46901687.3438787.34446
0.49271187.3638887.38223820.46898787.3482787.34011
0.61489987.3793787.387480330.46900887.3294387.34182
0.49101487.3435487.382159750.46891287.3554187.35531
0.47365887.3605487.381350660.46903287.3555587.35091
0.60484987.3775487.387085060.46889887.3420787.34651
0.49694787.340787.382433490.46898187.3503287.34005
0.4609887.359287.380752430.46899687.3416687.34036
0.59833787.377787.386825020.46909287.3252787.32712
0.50036887.3398687.382590620.46896287.3391587.33997
0.45828987.3598687.380624740.46897987.3381987.34004
0.58798787.3798687.386405580.4691387.3580787.35872
0.50362187.3410287.382739560.46912987.3594187.35887
0.45923887.3625287.38066980.46900387.3545587.34095
0.58520187.3840287.386291410.46898787.3281287.34011
0.50118787.3441987.382628160.46886587.3537487.33886
0.4642187.3671987.380905380.46886287.336487.3364
0.58715287.3901887.386371420.46886687.3310487.3395
0.49753287.3493587.382460390.46896387.3458187.33998
0.47974787.3738587.381635870.46897987.3284287.34004
0.58819687.3983587.386414120.46881287.3336687.33366
0.4919187.3565187.382201190.46891687.3305787.3306
0.49997287.3825187.382572460.46918387.3488387.34885
0.59393187.4085187.386647380.46897287.3327287.34001
0.47989587.3656787.381642790.46909187.3288287.32699
0.5274287.3931787.383813790.46896187.3534687.33996
0.5954187.38670787.386707160.46882487.3465887.34743
SSE 0.0007977 0.0011
R 0.951840323 0.736478106
RMSE 0.005539 0.0064
* NP: non-thermal pasteurization; SSE: sum of square error; RMSE: root mean square error; R: correlation coefficient; EC: electric conductivity; MC: moisture content.
Table 3. Electric conductivity and moisture content of pasteurized milk samples at laboratory temperature compared to raw milk.
Table 3. Electric conductivity and moisture content of pasteurized milk samples at laboratory temperature compared to raw milk.
Sample TypeEC (S/m)MC (%)
NP *0.416 ± 0.003 a87.37 ± 2.01 a
CP0.492 ± 0.001 c87.39 ± 5.23 a
Raw milk 0.469 ± 0.005 b87.32 ± 3.28 a
* NP: non-thermal pasteurization, CP: conventional pasteurization, EC: electric conductivity, MC: moisture content. Different letters in the rows refer to significant differences at 0.05.
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.

Share and Cite

MDPI and ACS Style

Alsaedi, A.W.M.; Al-Hilphy, A.R.; Al-Mousawi, A.J.; Gavahian, M. Artificial Neural Network Modeling to Predict Electrical Conductivity and Moisture Content of Milk During Non-Thermal Pasteurization: New Application of Artificial Intelligence (AI) in Food Processing. Processes 2024, 12, 2507. https://doi.org/10.3390/pr12112507

AMA Style

Alsaedi AWM, Al-Hilphy AR, Al-Mousawi AJ, Gavahian M. Artificial Neural Network Modeling to Predict Electrical Conductivity and Moisture Content of Milk During Non-Thermal Pasteurization: New Application of Artificial Intelligence (AI) in Food Processing. Processes. 2024; 12(11):2507. https://doi.org/10.3390/pr12112507

Chicago/Turabian Style

Alsaedi, Ali Wali M., Asaad R. Al-Hilphy, Azhar J. Al-Mousawi, and Mohsen Gavahian. 2024. "Artificial Neural Network Modeling to Predict Electrical Conductivity and Moisture Content of Milk During Non-Thermal Pasteurization: New Application of Artificial Intelligence (AI) in Food Processing" Processes 12, no. 11: 2507. https://doi.org/10.3390/pr12112507

APA Style

Alsaedi, A. W. M., Al-Hilphy, A. R., Al-Mousawi, A. J., & Gavahian, M. (2024). Artificial Neural Network Modeling to Predict Electrical Conductivity and Moisture Content of Milk During Non-Thermal Pasteurization: New Application of Artificial Intelligence (AI) in Food Processing. Processes, 12(11), 2507. https://doi.org/10.3390/pr12112507

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop