Literature DB >> 35654984

Machine learning predictive model for evaluating the cooking characteristics of moisture conditioned and infrared heated cowpea.

Opeolu M Ogundele1, Ayooluwa T Akintola2, Beatrice M Fasogbon2, Oluwafemi A Adebo3.   

Abstract

Cowpea is widely grown and consumed in sub-Saharan Africa because of its low cost and high mineral, protein, and other nutritional content. Nonetheless, cooking it takes considerable time, and there have been attempts on techniques for speeding up the cooking process without compromising its nutritious value. Infrared heating has recently been proposed as a viable way of preparing instantized cowpea grains that take a short amount of time to cook while maintaining desired sensory characteristics. Despite this, only a few studies have shown the impact of moisture, temperature, and cooking time on cooking characteristics such as bulk density, water absorption (WABS), and the pectin solubility of infrared heated cowpea precooked using this technology. Artificial neural network was used as a machine learning tool to study the effect of a prediction model on the infrared heating performance and cooking characteristics of precooked cowpea seeds. With R values of 0.987, 0.991, and 0.938 for the bulk density, WABS, and pectin solubility, respectively, the prediction model created in this study utilizing an artificial neural network (a type of machine learning) outperformed the traditional linear, 2-factor interaction, and quadratic models.
© 2022. The Author(s).

Entities:  

Mesh:

Substances:

Year:  2022        PMID: 35654984      PMCID: PMC9163166          DOI: 10.1038/s41598-022-13202-4

Source DB:  PubMed          Journal:  Sci Rep        ISSN: 2045-2322            Impact factor:   4.996


Introduction

Cowpea (Vigna unguiculata) is among the leguminous crop mostly cultivated in Sub-Saharan Africa[1]. It is an affordable and sustainable plant source of protein, phytonutrients, and minerals, useful in combating protein-energy malnutrition and food insecurity[2]. Cowpea remains a vital raw material used in making traditional dishes in various forms such as couscous (shô basi), fritters (akara), steamed pudding (moimoi)[3,4]. Cowpea is mainly consumed by cooking the whole grains in water for about 2 h, however this long processing time and as a result high energy consumption during food preparation remains the major limitation to its consumption in urban areas[3]. Several methods including soaking, precooking, and usage of alkaline salts treatments have been useful to decrease cooking time and enhancing the nutritional quality of pulses[5-7]. Recently, infrared heating, a novel thermal food processing technique has also been reported to significantly improved cooking characteristics of pulses such as cowpea[8]. Infrared radiation heating uses electromagnetic radiation in the infra-red region within the wavelength of about 3 to 1000 µm to generate heat[9]. Infrared technology has been useful in many foods manufacturing processes, including drying, boiling, heating, roasting of food, cooking food and sterilization grains[10]. It is an environmentally friendly thermal treatment and considered as an advanced thermal process that can be exploited in food processing. Different studies on infrared heating of cowpea grains have shown that the combination of varying moisture level, infrared radiation temperature and time could reduce its cooking time by more than 50%, improve sensory properties including appearance and color and protein quality of the infrared treated cowpea grains[3,8,11,12]. These processing conditions causes an increase in solubility of pectin responsible for rapid water uptakes, separation of cells along the cell wall and other physicochemical and structural changes of starch and protein as a result facilitated softening of cowpeas and reduction in the cooking time[8,11]. Developing an optimization model has been useful in predicting and optimizing the parameters in grain processing to improve the pulses quality for instance cowpea grains[8,13]. Response surface methodology (RSM) is one of the utilized conventional optimization model techniques in pulses processing that has been useful in predicting and optimizing processing parameters such as germination[14], drying[15], extrusion[16] and infrared heating[8,13] of pulses to improve quality and developing new products. However, the performance of models developed using RSM is limited. Recently, with the advent of the 4th industrial revolution, artificial neural network (ANN) has been considered as a more efficient tool for model predictions of biodiesel production[17] and even in food processing[18]. ANN is a mathematical algorithm which has the capability of relating the input and output parameters, learning from examples through iteration, without requiring a prior knowledge of the relationships of the process parameters[18]. ANN models have been used for process control in thermal food processing including modelling tool in several food processing applications like drying[19,20], heat transfer and thermal process predictions[18,21]. Furthermore, artificial intelligence is one of the approaches which has proven to be efficient with improving the processing quality of grains like wheat in the development of food products[22,23]. Application of ANN for food processes such as legume processing have been reported[24,25]. Nonetheless, to the best of our knowledge, there is still a dearth of information available on predicting the properties of pulses prepared by infrared heating using artificial intelligence, which is critical for improving the cooking characteristics of pulses such as cowpea, as an important source of protein. Therefore, this study aimed at developing a predictive model for evaluating the cooking characteristics of cowpea (specifically bulk density, water absorption capacity and pectin solubility) under varied processing parameters of moisture content, temperature, and time within a closed system of an infrared heater.

Materials and methods

Materials

Cowpea (Vigna unguiculata: Agrinawa variety) seeds were received from the South African Agricultural Research Council's Institute for Tropical and Subtropical Crops in Nelspruit, South Africa. The seeds were manually selected to remove faulty seeds and kept at 4 °C until moisture preconditioning, and infrared heat treatment were done.

Experimental design and sample preparation

Using Statistica version 7 statistical software, a series of experiments were statistically constructed based on RSM-central composite design (CCD) (StatSoft, Tulsa, USA). Level of moisture, infrared heating temperature, and time were the independent variables of pre-treatments investigated, with intervals of 32–57%, 114–185 °C, and 2–18 min, respectively (Table 1). The selection of the parameter levels was based on other studies in the literature on the production of infrared heated cowpea seeds[3,8,11,12]. Bulk density, WABS, and pectin solubility were the dependent variables of pretreatments assessed in this study. The combination of variables resulted in the creation of fifteen (15) experimental runs, each of which was carried out in triplicate, resulting in the generation of 45 rows of experimental data (Table 2). The cowpea seeds were first soaked in water to attain 32, 40, 45, 54, and 57% moisture (dry basis) using the method reported by Mwangwela, Waniska[11] and infrared heated using a closed system infrared heater power output 3KW (MW184, Delphius Technologies, Pretoria, South Africa) for each experimental run (Table 2). A schematic diagram of the infrared heating system used in this study is shown in Fig. 1. It has three infrared emitters (Quartz tube infrared emitters) with power outputs ranging between 0 to 3 KW, short wave infrared with a wavelength peak emission at 2.9 µm. The samples produced were maintained at 4 °C in an airtight container until further analysis.
Table 1

Descriptive Property of Raw Data.

PropertiesPredictorsActual responses
Moisture (%)Temp (°C)Time (min)Bulk-density (g/kg)WABS (%)Pectin Solubility (%)
Minimum32.65114.722.000.5995.01146.79
Maximum57.34185.2718.580.67128.95253.23
Median45.00150.008.000.62108.67180.64
Mean46.06150.008.700.63111.46189.02
Standard Deviation6.9619.695.170.0212.0927.29
Standard Error1.032.930.770.001.804.06

The summary in Table 1. is for the 45 numbers of experiments (15*3replicates).

Table 2

Experimental raw input data.

S/NMoistureTemperatureTimeBulk densityWABSPectin Solubility
(%)(°C)(min)(g/kg)(%)(%)
140.00130.002.000.66127.63180.75
240.00130.002.000.66125.18177.42
340.00130.002.000.66123.81179.73
440.00130.0014.000.64115.60167.11
540.00130.0014.000.64114.38164.07
640.00130.0014.000.64113.98165.08
740.00170.002.000.65128.71161.34
840.00170.002.000.65125.31164.38
940.00170.002.000.66126.45163.14
1040.00170.0014.000.6297.50190.76
1140.00170.0014.000.6295.96190.15
1240.00170.0014.000.6196.00190.47
1354.00130.002.000.62128.95170.74
1454.00130.002.000.61126.22171.65
1554.00130.002.000.62125.14170.52
1654.00130.0014.000.6398.40221.09
1754.00130.0014.000.63100.39224.12
1854.00130.0014.000.63101.09223.22
1954.00170.002.000.61126.06178.02
2054.00170.002.000.61126.00182.27
2154.00170.002.000.61125.49180.89
2254.00170.0014.000.59103.97208.35
2354.00170.0014.000.59101.09213.20
2454.00170.0014.000.60102.11211.73
2545.00150.008.000.62104.16227.76
2645.00150.008.000.61102.00229.58
2745.00150.008.000.62103.96228.59
2832.65150.008.000.67116.66174.08
2932.65150.008.000.66118.16197.13
3032.65150.008.000.66119.36187.14
3157.34150.008.000.6195.01172.56
3257.34150.008.000.6095.31173.78
3357.34150.008.000.6196.00173.91
3445.00114.728.000.64127.08146.79
3545.00114.728.000.63124.67148.91
3645.00114.728.000.64125.10147.65
3745.00185.278.000.60102.78248.99
3845.00185.278.000.59104.65253.23
3945.00185.278.000.60104.07249.88
4045.00150.0018.580.6198.01179.54
4145.00150.0018.580.6199.60193.49
4245.00150.0018.580.6198.02180.22
4345.00150.008.000.62111.46179.24
4445.00150.008.000.62105.67182.57
4545.00150.008.000.62108.67180.64
Figure 1

Schematic diagram of the infrared heating system.

Descriptive Property of Raw Data. The summary in Table 1. is for the 45 numbers of experiments (15*3replicates). Experimental raw input data. Schematic diagram of the infrared heating system.

Analyses

Bulk density of cowpea seed samples was determined using the method described by Alves, Da Silva et al.[26]. Water absorption capacity of cowpea seed samples was determined using the method described by Ogundele and Emmambux[27]. Soluble pectin, hot water-soluble pectin (HWSP) of cowpea seed samples was determined as described by Ndungu Emmambux and Minnar[12]. The experimental data obtained from the analyses are presented in Table 2.

Artificial neural network (ANN) modeling

ANN is a supervised form of machine learning driven by the availability of dataset, where raw dataset is the input into the neural system used in developing a predictive model, and subsequently a set of predicted outputs. The neural system consists of hidden layers of neurons that are useful in learning the patterns specific to the raw data and assists in producing possible related outputs[28,29]. A simple representation of the neural network structure used in our paper is presented in Fig. 2. Differences between the output value in the raw data and the new set of output produced after subjecting our data to ANN algorithm results in an error[29].
Figure 2

The structure of ANN utilized in the study.

The structure of ANN utilized in the study.

Data cleaning

The raw data was cleaned and utilized as the input for machine learning prediction using ANN. The predictive variables are moisture temperature and time, while the response variables are bulk density, WABS, and pectin solubility (Table 1). The descriptive property of the raw data is presented in Table 1, while the raw data used as input is presented in Table 2.

Data processing

The processing of data using ANN includes data training, data validation, and data testing. For this research work, MATLAB software was used for ANN modeling. The algorithm used for data processing is the Levenberg–Marquardt algorithm, owing to its swiftness and steadiness in convergence[30]. For data training, the raw data is given as input to the neural network system. During this stage, it fine-tunes the data in retrospect to the error produced. The validation process estimates network’s generalization, besides, signifies when the training process should stop once there is no more progress in data generalization, lastly, data testing evaluates and offers a stand-alone measure of the network’s performance before, during and after data training. For data training, validation, and testing, the dataset was rationed in 70, 15, and 15% respectively. 10 hidden neurons were used for deriving the best predictive model for bulk density and WABS, while three neurons (5,8, and 10) were used for pectin solubility (Fig. 2). This was to produce improved predictive model for pectin solubility.

Performance of predictive model

Understanding the performance of a model is key to improve prediction accuracy. The performance indicators used to evaluate the accuracy of the predictive model developed in this work includes mean square error (MSE), coefficient of correlation (R) and coefficient of determination (R2). Besides, the performance of the ANN model developed was compared with the performance of conventional models such as linear, two factor interaction (2FI), quadratic and cubic model using R2. This was to affirm the accuracy of utilizing ANN for developing a predictive model for estimating the bulk density, WABS, and pectin solubility of cowpea precooked using infrared heating.

Ethical guideline statement

The author (s) declare the plant material used in this research complied with relevant institutional, national, and international guidelines and legislation.

Result and discussion

A predictive model was developed using ANN for the bulk density, WABS and pectin solubility of cowpea precooked using infrared heating. Three main factors that influence the response were fed into the neural network as the independent variables, the experimental data of the process was cleaned and processed using fitnet ANN model. The MSE, R and R2 of the training, validation, and testing datasets are presented in (Table 3). However, the overall R and R2 value was utilized in selecting the best predictive model for each of the response variable. Besides, scatter plots with coefficient of correlation are presented in (Fig. 3).
Table 3

MSE, R and R2 Values obtained from Model Training, Validation and Testing.

1ST RUN2ND RUN3RD RUN4TH RUN5TH RUN
MSERR2MSERR2MSERR2MSERR2MSERR2
Bulk Density (70 15 15 10 neurons)
Training8.77E−060.990.9819.87E−060.9890.985.58E−060.9910.9835.36E−060.9930.9872.35E−050.9780.957
Validation1.29E−050.990.981.06E−050.9810.9625.32E−050.9750.9516.76E−050.9510.9041.49E−050.9880.978
Testing3.66E−050.9560.9152.38E−050.9770.9563.87E−050.9650.9324.93E−050.8190.675.08E−050.970.942
Overall0.9850.9710.9870.9740.9810.9630.9620.9260.9780.956
WABS (70 15 15 10 neurons)
Training0.4180.8390.7051.670.9930.9871.640.9940.9882.530.990.982.340.9910.983
Validation0.010.9050.829.790.9790.9586.370.9710.9446.550.9810.9633.750.9880.976
Testing0.0250.7210.523.240.9920.9853.910.990.9817.430.9810.9622.670.9940.988
Overall0.7520.5650.9890.9780.990.9810.9860.9730.9990.998
Pectin Solubility (70 15 15 5 neurons)
Training0.0110.9010.8130.8650.9370.8790.6190.9620.9260.0180.8720.7610.8450.9440.892
Validation9.940.9990.9990.1420.9910.9820.0270.9320.8680.5380.8750.7660.8110.9590.92
Testing0.0130.9190.8450.0190.8190.6720.670.6790.4620.0190.9810.9640.0110.8880.79
Overall0.9310.8670.9340.8730.9330.8690.9010.8120.9360.877
Pectin Solubility (70 15 15 8 neurons)
Training0.0130.9030.8160.0110.910.8280.8250.9350.8740.9540.9270.860.0110.930.865
Validation0.740.9560.9140.1410.9980.9970.010.9660.9330.0130.9470.8960.0170.910.829
Testing0.0210.8690.7560.4830.7330.5380.9970.9380.8790.2920.9780.9560.5320.9570.917
Overall0.9030.8170.9360.8770.9370.8790.9350.8750.9180.844
Pectin Solubility (70 15 15 10 neurons)
Training0.6210.9540.9110.0150.8840.7810.5170.9540.9110.010.9220.8510.4790.9640.929
Validation0.020.8440.7120.0120.9160.840.0170.920.8470.1010.9570.9160.0240.8930.797
Testing0.0210.9090.8260.0320.8530.7270.0170.7890.6230.010.960.9230.010.8310.69
Overall0.9260.8580.8730.7630.9360.8770.9360.8770.9380.879
Figure 3

Significant Models with their R-Value.

MSE, R and R2 Values obtained from Model Training, Validation and Testing. Significant Models with their R-Value. The plot of the best validation performance, together with the actual, predicted response and error (difference between the predicted and actual response) plot are presented in Figs. 4 and 5 respectively. From the evaluation result, for the bulk density obtained after training, validating, and testing the model using 10 neurons, the overall R and R2 values are greater than 0.9, implying that ANN was efficient in developing a predictive model for the bulk density of cowpea prepared using infrared heating.
Figure 4

Validation means square error graphs of the chosen models.

Figure 5

Predicted, actual response, and error for the cooking characteristics studied.

Validation means square error graphs of the chosen models. Predicted, actual response, and error for the cooking characteristics studied. Specifically, the highest overall R and R2 values are 0.987 and 0.974 respectively with a validation MSE of 1.06E-05. This was compared with the R2 obtained using linear, 2FI and quadratic model (Table 4). Comparatively, the R2 of the predictive model generated using ANN was approximately higher by 21%, 13%, and 3% for linear, 2FI and quadratic model respectively.
Table 4

R and R2 values of Conventional and ANN models in the present study.

ResponseBulk densityWABSPectin solubility
VariablesM,T,tM,T,tM,T,t
Predictive ModelsPresent WorkPresent WorkPresent Work
Linear[R2]0.77000.71430.3140
2FI[R2]0.85110.76530.4034
Quadratic[R2]0.94770.88640.4904
ANN [R]0.98740.99910.9380
ANN[R2]0.97500.99820.8777

M: Moisture, T: Temperature, t: time.

R and R2 values of Conventional and ANN models in the present study. M: Moisture, T: Temperature, t: time. For WABS, the overall R and R2 ranged between 0.5 and 0.9991. After repeated training, validation and testing (10 neuron), a significantly high R and R2 values were eventually obtained at the 5th iteration with R and R2 values of 0.999 and 0.998 respectively with a validation MSE of 3.75 Similar to the bulk density, the R2 value was compared with that obtained using linear, 2FI and quadratic model (Table 4). Comparatively, the R2 of the predictive model generated using ANN was approximately higher by 28%, 23%, and 11% for linear, 2FI and quadratic model respectively. Studies reported that ANN is an accurate and model with satisfactory prediction. The training, testing and validation results model prediction obtained at about 6–15 neurons, regression of coefficient and lower error in prediction of about 0.9 and 0.02 respectively indicating better ANN prediction of the hydration behavior of green chickpea and soybean seeds at varying soaking temperature and time[24,25]. For Pectin solubility, the coefficient of regression for the linear, 2FI and quadratic model for pectin solubility are very low, ranging from 0.30 to 0.49, however, using ANN, a high R and R2 was obtained after training, validating, and testing the model using three different neurons (5,8 and 10 neurons). The three different neurons employed for pectin solubility were utilized to obtain a significant overall model performance indicator (R and R2). The best overall R and R2 values were obtained using 10 neurons and at the 5th run, with values of 0.938 and 0.88 respectively, and validation MSE of 245. Comparatively the R2 value of the model predicted using ANN was approximately higher by 64%, 54%, and 44% for linear, 2FI and quadratic model respectively. The predictive model developed using ANN are presented in equation. Although there is no report on using ANN for predicting pectin solubility of processed legumes making this finding the first report, however a study using hybrid ANN, RSM and genetic algorithm reported R2 value of about 0.94 for predicting percentage protein retention of soybeans subjected to optimization of soaking conditions and considered ANN as alternative to the time-consuming soaking process, extensively practiced in industries, in terms of process time economy[25]. The results of comparison between the actual and predicted values as shown in Fig. 6, indicated that the values of the parameters measured in this study (bulk density, WABS and pectin solubility) are closely related. Reportedly, ANN has been utilized in various fields, nonetheless reports on using ANN for predicting the cooking properties of cowpea when moisture content, temperature and time are varied during infrared heating was not found. This study fills that gap by presenting a method of using artificial intelligence technologies (specifically ANN) for predicting the bulk density, WABS and pectin solubility of cowpea precooked via the use of infrared form of heating under varied independent parameters of moisture content, temperature, and time.
Figure 6

Comparison of actual and predicted response (a Bulk density; b WABS; c Pectin solubility).

Comparison of actual and predicted response (a Bulk density; b WABS; c Pectin solubility). , while , , . net stands for the neural network model developed using ANN after training, validating, and testing raw dataset obtained from the experiment carried out in this study.

Conclusion

Industry 4.0 epitomizes the fourth wave of industrial revolution and aims at applying computerized, artificial intelligent, and data-driven technologies to research and industrial operations in order to optimize productivity and efficiency. One of these technologies is artificial neural network that works on the principle of self-learning to develop accurate predictive models that can describe and predict the relationship and behavior of a system. For the first time, artificial neural network was utilized in this work to develop a model that predicts the behavior (bulk density, water absorption capacity and pectin solubility) of cowpea prepared using infrared heating). Unlike the traditional linear, 2FI and quadratic model, artificial neural network (ANN proved more accurate and developed a better predictive model in the model prediction with a highly significant model performance (R value of 0.9874, 0.9991 and 0.9380 for bulk density, water absorption capacity and pectin solubility) of infrared-cooked cowpea. The predictive model generated can predict similar response variables subjected to similar or almost-close process parameters (moisture content, temperature, and time) and paves the path for the optimization of the characteristics of infrared-cooked cowpea using artificial intelligence technologies.

Data availability

The datasets generated during and/or analyzed during the current study is available from the corresponding author on reasonable request.
  8 in total

Review 1.  Influence of infrared heating processing technology on the cooking characteristics and functionality of African legumes: a review.

Authors:  Opeolu M Ogundele; Eugenie Kayitesi
Journal:  J Food Sci Technol       Date:  2019-03-08       Impact factor: 2.701

2.  Micronisation and hot air roasting of cowpeas as pretreatments to control the development of hard-to-cook phenomenon.

Authors:  Kimondo E Ndungu; Mohammad N Emmambux; Amanda Minnaar
Journal:  J Sci Food Agric       Date:  2011-10-25       Impact factor: 3.638

3.  Infrared heating under optimized conditions enhanced the pasting and swelling behaviour of cowpea starch.

Authors:  Samson A Oyeyinka; Ajibola B Oyedeji; Opeolu M Ogundele; Oluwafemi A Adebo; Patrick B Njobeh; Eugénie Kayitesi
Journal:  Int J Biol Macromol       Date:  2021-06-24       Impact factor: 6.953

4.  Effect of micronisation of pre-conditioned cowpeas on cooking time and sensory properties of cooked cowpeas.

Authors:  Eugénie Kayitesi; Kwaku Gyebi Duodu; Amanda Minnaar; Henriette L de Kock
Journal:  J Sci Food Agric       Date:  2012-10-19       Impact factor: 3.638

5.  Evaluation of the physicochemical, proximate, and sensory properties of moinmoin from blends of cowpea and water yam flour.

Authors:  Gloria Aderonke Otunola; Anthony Jide Afolayan
Journal:  Food Sci Nutr       Date:  2018-04-10       Impact factor: 2.863

6.  A Comprehensive Review on Infrared Heating Applications in Food Processing.

Authors:  Salam A Aboud; Ammar B Altemimi; Asaad R S Al-HiIphy; Lee Yi-Chen; Francesco Cacciola
Journal:  Molecules       Date:  2019-11-15       Impact factor: 4.411

7.  The implementation of artificial neural networks for the multivariable optimization of mesoporous NiO nanocrystalline: biodiesel application.

Authors:  Soroush Soltani; Taha Roodbar Shojaei; Nasrin Khanian; Thomas Shean Yaw Choong; Umer Rashid; Imededdine Arbi Nehdi; Rozita Binti Yusoff
Journal:  RSC Adv       Date:  2020-04-01       Impact factor: 4.036

  8 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.