Next Article in Journal
Fine-Scale Patterns of Genetic Structure in the Host Plant Chamaecrista fasciculata (Fabaceae) and Its Nodulating Rhizobia Symbionts
Previous Article in Journal
Development of an In Vitro Method of Propagation for Artemisia tridentata subsp. tridentata to Support Genome Sequencing and Genotype-by-Environment Research
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

Non-Destructive Prediction of Titratable Acidity and Taste Index Properties of Gala Apple Using Combination of Different Hybrids ANN and PLSR-Model Based Spectral Data

by
Vali Rasooli Sharabiani
1,*,
Sajad Sabzi
1,
Razieh Pourdarbani
1,
Edgardo Solis-Carmona
2,
Mario Hernández-Hernández
2 and
José Luis Hernández-Hernández
2,3,*
1
Department of Biosystem Engineering, Faculty of Agriculture and Natural Resources, University of Mohaghegh, Ardabili 56199-11367, Iran
2
Faculty of Engineering, Autonomous University of Guerrero, Chilpancingo 39087, Mexico
3
Division of Research and Graduate Studies, TecNM/Technological Institute of Chilpancingo, Chilpancingo 39070, Mexico
*
Authors to whom correspondence should be addressed.
Plants 2020, 9(12), 1718; https://doi.org/10.3390/plants9121718
Submission received: 29 October 2020 / Revised: 30 November 2020 / Accepted: 2 December 2020 / Published: 6 December 2020

Abstract

:
Non-destructive estimation of the internal properties of fruits and vegetables is very important, because better management can be provided for subsequent operations. Researchers and scientists around the world are focusing on non-destructive methods because if they are developed and commercialized, there will be an impressive change in the food industry. In this regard, this paper aims to present a non-destructive method based on Vis-NIR spectral data. The different stages of the proposed algorithm are: (1) Collection of samples of Gala apples, (2) Spectral data extraction by spectroscopy, (3) Pre-processing of spectral data, (4) Measurement of chemical properties of titratable acidity (TA) and taste index, (5) Selection of key wavelengths using hybrid artificial neural network-firefly algorithm (ANN-FA), (6) Non-destructive estimation of the properties using two methods of hybrid ANN- Particle swarm optimization algorithm and partial least squares regression. For considering the reliability of methods for estimating the chemical properties, the prediction operation was executed in 300 iterations. The results represented that the mean and standard deviation of the correlation coefficient and the root mean square error of hybrid ANN-PSO and PLSR for TA were 0.9095 ± 0.0175, 0.0598 ± 0.0064, 0.834 ± 0.0313 and 0.0761 ± 0.0061 respectively. These values for taste index were 0.918 ± 0.02, 3.2 ± 0.39, 0.836 ± 0.033 and 4.09 ± 0.403, respectively. Therefore, it can be concluded that the hybrid ANN-PSO has a better performance for non-destructive prediction of the two mentioned chemical properties than the PLSR method. In general, the proposed method can predict the chemical properties of TA and taste index non-destructively, which is very useful for mechanized harvesting and management of post-harvest operation.

1. Introduction

Apples belong to the Rosaceae family. The origin of apples is reported to be Asia, especially the Republic of Kazakhstan according to Forsline et al. [1] Apples are grown all over the world in temperate, subtropical and tropical climates. Today, due to the growing demand for food products, the need for automation in agriculture is becoming more apparent. On the other hand, many developed countries such as Japan and the European Union have set strict standards for the quality and health of imported food products. Therefore, in order to gain more share in the global export market, steps should be taken in order to adopt new developments in post-harvest technology [2,3].
Examination and grading of fruits is one of the post-harvest operations that has received more attention due to the growth of demand for healthy and high quality products [4,5]. In the last four decades, various techniques such as X-ray, optical, ultrasonic, electromagnetic, and infrared spectroscopy have been used for non-destructive evaluation of fruits; these are highly desirable and faster and more economical than destructive methods [6,7]. Among the mentioned techniques, the infrared spectroscopy has become more practical due to its high accuracy. Numerous studies have been accomplished on the use of Vis-NIR spectroscopy to predict chemical properties of fruit such as oranges [8], tangerines [9], grapes [10], pears [11], cherries [12], apricots [13], avocados [14], bananas [15], peaches [16], and tomatoes [17]. Moreover, studies on the maturity evaluation of agricultural products have been reported by several researchers [18,19,20].
Nicolai et al. [21] have made a comprehensive review on the application of NIR spectroscopy for determining the quality of fruits and vegetables. Fan et al. [22] developed a portable spectroscopy system at the range of 200–1000 nm to estimate the amount of soluble solid contents (SSC). Their system consisted of an optical probe, a spectrometer, a microcontroller, and a power supply. Light is transmitted to the fruit from a halogen source (12 V and 25 W) by a fiber optic ring. A detector received light that penetrated into the fruit tissue and was transmitted to the spectrometer. Fuji apples were placed one by one on the probe and their spectral features were collected. A model was constructed for SSC using partial least squares (PLS) with a coefficient of determination, root mean square error (RMSE) and standard deviation ratios of 0.777, 0.561 and 2.114, respectively. Li et al. [11] developed multi-cultivar and individual-cultivar models for prediction of SSC. The results showed that the multi-cultivar model was superior to individual-cultivar model; and the competitive adaptive reweighted sampling (CARS) was better than the Monte Carlo-uninformative variable elimination (MC-UVE) and the successive projections algorithm (SPA). To select the effective variables, the multi-cultivar models of CARS-PLS and CARS-MLR performed an effective prediction of SSC of three pear cultivars with the same accuracy. Generally, the results showed that the multi-cultivar model was good at prediction of SSC, the CARS was a powerful tool for selecting effective variables, and CARS-PLS and CARSMLR were excellent for spectral calibration. Mogollona et al. [23] studied internal physical abnormalities of mango (soft core and brown flesh) at the final stages of maturity using Vis-NIR spectroscopy at the range of 200–1000 nm. The number of 141 mango samples was collected at harvest time and 30 days after harvest at 12 °C. The results showed that wavelengths of 650–550 nm were able to detect the internal physical abnormality of mango. But they could not make a diagnosis of the type of anomaly. They only identified healthy and unhealthy fruit. Healthy fruits had higher reflection intensities than fruits with internal abnormalities in both storage and harvesting. Lan et al. [24] evaluated quality properties of apple and apple puree such as texture/rheology, SSC, acidity, dry matter content and insoluble solids. The PLS models had a good ability to estimate different properties based on the coefficient of determination (R2), e.g., the coefficients of determination for viscosity, cell wall content, dry matter, SSC and TA were R2 > 0.82, R2 > 0.81, R2 > 0.83, R2 > 0.80 and R2 > 0.80. Jamshidi et al. [25] evaluated the feasibility of predicting the chemical properties of Valencia oranges (such as SSC to TA and BrimA ratios) using Vis-NIR spectroscopy. Combinations of moving average and Savitzky–Golay smoothing filters, standard normal variant (SNV) and Multiplicative scatter correction (MSC) were used, and models were developed based on partial least squares (PLS) and principle component regression (PCR). The mean square root of the prediction of PLS model for SSC, TA, SSC/TA and BrimA were 0.33, 0.7, 1.03 and 0.37, respectively; and the correlation coefficients were 0.96, 0.86, 0.87 and 0.92, respectively. They also suggested the BrimA as the best indicator of fruit flavor. Escribano et al. [26] developed a model for fast and non-destructive evaluation of soluble solids (SSC) and dry matter content (DMC) of sweet cherries at two different temperatures of 0 and 23 °C at the range of 729 and 975 nm. The coefficient of determination (R2) of the model for SSC and DMC was 0.922–0.946 and 0.910–0.933, respectively.
As can be observed, various research has been conducted on the usage of non-destructive methods for detecting the different properties of fruits. In this regard, this study presents a non-destructive algorithm based on two hybrids of artificial neural network hybrids, namely ANN-FA and ANN-PSO as well as a partial least squares regression method using spectral data to estimate the chemical properties of the titratable acidity (TA) and the taste index of the Gala cultivar.

2. Materials and Methods

Figure 1 demonstrates the flowchart of the different stages of algorithm proposed for non-destructive estimation of the chemical properties of TA and taste index. In this study, hybrid ANN-FA was used to select key wavelengths and the hybrid ANN-PSO and PLSR were used to predict the mentioned properties.

2.1. Data Collection

In order to train the proposed algorithm, Gala apple samples were collected from orchards of the Kermanshah province. In general, 140 days after flowering, Gala apples are ripe and ready to be harvested. After consulting with different gardeners, the ripening time of Gala cultivar apples was determined based on their experience during the past few years. Then the total numbers of 150 samples were collected during 3 stages, namely 20 days before the ripening time, 10 days before the ripening time and at the time of ripening. In fact there were 50 fruits for each phase. At each stage, after collecting the samples, they were transported to the laboratory to extract spectral properties and to measure chemical properties.

2.2. Extraction of Spectral Properties from Samples

2.2.1. Hardware of System Used

In order to extract spectral data, a hardware system was used that has different components. These components are:
  • Laptop with Intel Core i3 CFI specifications, 330 M at 2.13 GHz, 4 GB of RAM, Windows 10. Spectra Wiz software was installed on the laptop to record spectral data of each sample.
  • EPP200NIR spectrometer (StellarNet, Tampa, FL, USA) equipped with indium-gallium-arsenide detector. The spectral range of this spectrometer is 200 to 1100 nm and the resolution is 1.2 nm, according to Jamshidi et al. [25]
  • The light source used in this configuration was SLI-CAL (StellarNet, Tampa, FL, USA). The material of this halogen light source is tungsten with a power of 20 W.
  • Optical fiber that was used to transmit light from the light source to the samples and from there to the spectrometer according to Nicolai et al. [21]

2.2.2. Pre-Processing of Spectral Data Extracted from Each Sample

After extracting spectral data from each sample, there may be noise for some reasons such as the disturbing ambient light, unevenness of the sample surface, increase in temperature of spectrometer and different sizes of the sample that affects spectral information and causes error. For this reason, raw spectral data must be pre-processed. In this research, preprocessing operations were performed in three stages. The first stage is the conversion of reflectance spectra to absorption spectra (see Equation (1)), the second stage is light scatter and baseline correction using standard normal variant, and the third stage is smoothing using the median filter according to Rossel [26].
Absorption spectra = log (1/eflectance spectra)

2.3. Extraction of Chemical Properties of Apple Sample Using Destructive Method

2.3.1. Chemical Properties of TA

Fruits, as they get closer to ripening time, decrease in their acidity and their taste tends to sweeten. Therefore, this feature can be used as an indicator for the ripening time of Gala apples. The method used to destructively measure the acidity of the titration was the method used by James (1998).

2.3.2. Properties of Taste Index

Taste index is defined as the ratio of total soluble solids (TSS) to the titratable acidity (TA). This index is used to determine the taste, which depends on the level of fruit ripening according to Wongkhot et al. [27]) Therefore, this index can be used to determine the ripening stage of Gala apples.

2.4. Selection of Key Wavelengths in the Range of 200–1100 nm

Since non-destructive estimation of physicochemical properties such as TA and taste, size and price of device are key elements for the development of portable devices, these elements should be considered. For this reason, instead of using all the spectral information of the 200 to 1100 nm, spectral information related to the key wavelengths should be used. In this study, the hybrid ANN-FA was used to select key wavelengths. The main idea of this algorithm is inspired by the optical connection between fireflies. This algorithm can be considered as a manifestation of swarm intelligence, in which the cooperation (and possibly competition) of simple and low-intelligence members creates a higher level of intelligence that is certainly not achievable by any of the components according to Yang [28] and Ncama et al. [29] The method is that the firefly algorithm sends different vectors of spectral data related to different wavelengths as input to the artificial neural network with the structure shown in Table 1 and the artificial neural network result is recorded as the mean squared error. It should be noted that the output of the artificial neural network is the mentioned chemical properties.
It should be noted that the key wavelength selection operation is performed separately for each chemical property. Any input vector that causes the lowest mean squared error is considered as the optimal vector and the wavelengths within that vector are considered as key wavelengths.

2.5. Estimation of Chemical Properties of TA and Taste Index

In this study, the chemical properties of TA and taste index were estimated using hybrid ANN-PSO and PLSR in order to compare the performance of methods based on artificial intelligence and statistics. In order to evaluate the reliability of these methods in different replications, prediction operations were performed for 200 replications.

2.5.1. Hybrid Artificial Neural Network-Particle Swarm Optimization Algorithm (ANN-PSO)

The multilayer perceptron artificial neural network has various adjustable parameters, the optimal adjustment of which ensures its high performance. These parameters include the number of layers, the number of neurons, transfer function, back-propagation network training function and the back-propagation weight/bias learning function. The particle swarm optimization algorithm is a meta-heuristic algorithm that mimics the group movements of birds to optimize various problems. This algorithm was first proposed by Kennedy and Eberhart [30]. Each answer to the problem is considered as a particle. Every particle is constantly searching and moving. The motion of each particle depends on three factors: (1) The current position of the particle, (2) The best position the particle has ever had, and (3) The best position the whole set of particles has ever had according to Kennedy and Eberhart [30]. The number of selectable layers is at least 1 and at most 3, the number of neurons for the first layer is at least 1 and at most 25 and for other layers at least 0 and at most 25. The transfer function was selectable from 13 different functions such as tansig, logsig and purelin. The back-propagation network training function was selectable from 19 different functions such as trainbfg, trainrp and traingd. Finally, the back-propagation weight/bias learning function could be selected from 15 different functions such as learncon, learnh and learnhd. The input of the artificial neural network is the spectral data and the output is the mentioned chemical properties. The method is that the particle swarm optimization algorithm selects different vectors from the structure of the artificial neural network and sends it to the artificial neural network. The error is recorded as the mean squared error. Any structure that results in a minimum MSE is identified as the optimal structure. It should be noted that 60% of the data is randomly used for training, 10% for validation and the other 30% for testing.

2.5.2. Partial Least Squares Regression Method

Partial least squares regression (PLSR) is a statistical method that deals with principal component regression. This is a non-parametric method that is not sensitive to sample size and does not require data normalization according to Rossel [27].

2.6. Performance Evaluation of Methods for Estimating the Chemical Properties of TA and Taste Index

In order to evaluate the performance of the hybrid ANN-PSO algorithm and PLSR, the criteria of correlation coefficient (R), coefficient of determination (R2), mean squared error (MSE), root mean squared error (RMSE) and mean absolute error (MAE) were used for Sabzi and Arribas [31].

3. Results

3.1. Statistical Analysis of Samples

3.1.1. Measured Average of Chemical Properties of Samples

Table 2 gives the measured average of chemical properties of TA and taste index of Gala cultivar in three stages of harvest.

3.1.2. ANOVA Analysis for Property of TA

Since there was no significant difference between the three stages of harvest, regression operations were performed on all 150 samples simultaneously. If there was a significant difference, the regression operation had to be performed separately for each class. The results of ANOVA analysis, Tukey and LSD comparing means are given in Table 3 and Table 4.

3.1.3. ANOVA Analysis for Property of Taste Index

The results of ANOVA analysis, Tukey and LSD comparing means are given in Table 5 and Table 6.

3.1.4. T-Student Test for Property of TA

Test of t-student was performed in order to compare destructive and non-destructive methods for predicting the property of TA based on ANN-PSO and PLSR. The results are given in Table 7 and Table 8.

3.1.5. T-Student Test for Taste Index Property

Test of t-student was performed in order to compare destructive and non-destructive methods for predicting the property of taste index based on ANN-PSO and PLSR. The results are given in Table 9 and Table 10.

3.2. Optimal Structure of ANN-PSO Algorithm

3.2.1. Chemical Properties of TA

Table 11 gives the structure of the hidden layers of hybrid ANN-PSO algorithm to estimate the chemical properties of TA. The optimal neural network has three layers with the mentioned properties.

3.2.2. Properties of Taste Index

Table 12 gives the optimal values of the adjustable parameters of the artificial neural network. As can be seen, the optimal structure has two hidden layers.

3.3. Key Wavelengths Selected by Hybrid ANN-FA

3.3.1. Chemical Properties of TA

The key wavelengths selected by the hybrid ANN-FA algorithm for TA estimation are 865, 872 and 890 nm.

3.3.2. Chemical Properties of Taste Index

The key wavelengths selected by the hybrid ANN-FA algorithm for taste estimation are 942, 958, 967, 974 and 982 nm.

3.4. Performance of Hybrid ANN-PSO Algorithm for Non-Destructive Estimation of Chemical Properties of Gala Apple

3.4.1. Chemical Properties of TA

Figure 2 represents the correlation analysis of the scatter plot between the mean estimated and the measured chemical properties of TA of Gala cultivar (test set) by hybrid ANN-PSO algorithm based on spectral data related to key wavelengths in 300 replications. As can be seen, the correlation coefficient is close to 0.92. Figure 3 shows a box diagram of five criteria for evaluating the performance of ANN-PSO algorithm including R, R2, MSE, MAE and RMSE within the Gala cultivar based on spectral data of key wavelengths in 300 replications. The more compact box diagrams show the similarity of the results in different iterations, which indicate the high validity of the method. As can be seen, the mean squared error in all iterations is less than 0.01 and the value of correlation coefficient in more than half of the iterations is more than 0.91.

3.4.2. Taste Index

Figure 4 illustrates the correlation diagram of the mean estimated and measured properties of taste index of Gala apple in 300 iterations. As can be seen, based on the key wavelength, the correlation coefficient between the mean estimated and measured values is about 0.93. Figure 5 examines the performance of the ANN-PSO for estimating the properties of the taste index using three criteria related to error and correlation coefficients and determination. As can be seen, in more than half of the iterations, RMSE is less than 3. Moreover, except one iteration, the value of correlation coefficient is above 0.85.

4. Discussion

4.1. Performance of PLSR Method for Non-Destructive Estimation of Chemical Properties of Gala Cultivar

4.1.1. Chemical Properties of TA

Figure 6 shows a correlation diagram between the mean estimated and actual value of TA obtained by partial least squares regression method at 300 iterations using the destructive method. The correlation coefficient is slightly more than 0.82, which is lower than the case of ANN-PSO. Figure 7 uses five criteria of mean squared error, root mean squared error, mean absolute error, correlation coefficient and determination coefficient to investigate the performance of PLSR method for estimating the TA. As can be seen, the lowest value of correlation coefficient is above 0.74 and the highest value is close to 0.91.

4.1.2. Chemical Properties of Taste Index

Figure 8 illustrates the correlation analysis of the scatter plot between the mean estimated and measured taste index of Gala apple (test set) using PLSR method based on spectral data of key wavelengths in 300 iterations. As can be seen, the value of the correlation coefficient in this case is close to 0.85. Figure 9 shows a box diagram of the error criteria and correlation coefficients and determinations used to evaluate the performance of the PLSR method for estimating the taste index of Gala cultivar based on spectral data of key wavelengths at 300 iterations. The lowest coefficient of determination is 0.57 and the highest value is above 0.85.

4.2. Comparison of the Performance of Hybrid ANN-PSO Algorithm and PLSR for Non-Destructive Estimation of Chemical Properties of TA

Figure 10 compares the performance of these two methods using a plot scatter diagram related to the mean estimated and true value of TA using two methods, namely hybrid ANN-PSO algorithm and PLSR. In the ANN-PSO method, the mean estimated values of most samples are closer to the actual values than the PLSR method, which indicates better performance of the ANN-PSO hybrid than the PLSR method. Table 13 compares the mean and standard deviation of different criteria evaluating the performance of the ANN-PSO algorithm and PLSR for estimating the TA at 300 iterations using spectral data of key wavelengths. In the best iteration of ANN-PSO, RMSE and correlation coefficient are 0.0017 and 0.991, respectively. In the case of the PLSR method, these are 0.0040 and 0.9045 respectively. It can be mentioned that the hybrid ANN-PSO method performed better than the PLSR method for estimating TA.

4.3. Comparison of the Performance of Hybrid ANN-PSO Algorithm and PLSR for Non-Destructive Estimation of Chemical Properties of Taste Index

Figure 11 and Table 14 compare the performance of ANN-PSO methods and partial least squares regression for non-destructive estimation of the taste index value using plot scatter diagrams and various criteria. The ANN-PSO method performs better than the partial least squares regression method.
Table 15 shows the comparison of performance of the proposed algorithm (using methods of hybrid ANN-PSO and PLSR) with other research in the field of non-destructive estimation of TA. As can be seen, the regression coefficient of the proposed algorithm is much higher than other methods.

5. Conclusions

In this paper, using a non-destructive method, the chemical properties of the TA and the taste index of the Gala apple at different stages of maturity were estimated. A hybrid ANN-FA method was used to select key wavelengths and two methods, e.g., ANN-PSO and PLSR were used to estimate the mentioned properties. The most important results of this research are listed below:
  • The key wavelengths selected by ANN-FA to estimate the chemical properties of TA and taste index are located in areas outside the range of visible spectra. This is due to the third overtone N-H, the second overtone O-H and the third overtone C-H, which have caused spectral peaks (with useful spectral information) in the range of 870–960 nm [22].
  • Using the hybrid ANN-PSO algorithm, it is possible to estimate with results close to the true value of TA and taste index, e.g., correlation coefficient and RMSE of ANN-PSO for estimating TA and taste index are 0.9491, 0.042, 0.963 and 5.27, respectively. Therefore, since the cost of spectral data extraction is more at higher wavelengths, it can be concluded that it is possible to develop a portable device based on key wavelengths at a low cost for non-destructive estimation of these two properties.
  • The reason for the superiority of the hybrid ANN-PSO algorithm against the PLSR method could be related to the non-linear nature of the artificial neural network and the optimal adjustment of its parameters by the particle swarm optimization algorithm.

Author Contributions

Conceptualization, V.R.S. and R.P.; methodology, S.S. and M.H.-H.; software, J.L.H.-H.; validation, E.S.-C. and J.L.H.-H.; formal analysis, R.P.; investigation, V.R.S.; resources, E.S.-C.; data curation, V.R.S.; writing—original draft preparation, S.S. and J.L.H.-H.; writing—review and editing, R.P. and M.H.-H.; visualization, M.H.-H.; supervision, S.S. and R.P.; project administration, S.S. and V.R.S.; funding acquisition, E.S.-C. All authors have read and agreed to the published version of the manuscript.

Funding

This research received no external funding.

Conflicts of Interest

The authors declare no conflict of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript, or in the decision to publish the results.

References

  1. Forsline, P.L.; Aldwinckle, H.S.; Dickson, E.E.; Luby, J.J.; Hokanson, S.C. Collection, Maintenance, Characterization, and Utilization of Wild Apples of Central Asia Horticultural Reviews; John Wiley & Sons: Hoboken, NJ, USA, 2002; pp. 1–61. [Google Scholar]
  2. Pourdarbani, R.; Rezaei, B. Automatic detection of greenhouse plants pests by image analysis. Tarım Makinaları Bilimi Dergisi 2011, 7, 171–174. [Google Scholar]
  3. Sabzi, S.; Javadikia, P.; Rabbani, H.; Adelkhani, A.; Naderloo, L. Exploring the best model for sorting blood orange using ANFIS method. Agric. Eng. Int. CIGR J. 2013, 15, 213–219. [Google Scholar]
  4. Pourdarbani, R.; Sabzi, S.; García-Amicis, V.M.; García-Mateos, G.; Molina-Martínez, J.M.; Ruiz-Canales, A. Automatic Classification of Chickpea Varieties Using Computer Vision Techniques. Agronomy 2019, 9, 672. [Google Scholar] [CrossRef] [Green Version]
  5. Pourdarbani, R.; Sabzi, S.; Hernández-Hernández, J.; Hernández-Hernández, M.; García-Mateos, G. Comparison of Different Classifiers and the Majority Voting Rule for the Detection of Plum Fruits in Garden Conditions. Remote Sens. 2019, 11, 2546. [Google Scholar] [CrossRef] [Green Version]
  6. Sabzi, S.; Abbaspour-Gilandeh, Y.; Javadikia, H. The use of soft computing to classification of some weeds based on video processing. Appl. Soft Comput. 2017. [Google Scholar] [CrossRef]
  7. Sabzi, S.; Abbaspour-Gilandeh, Y. Using video processing to classify potato plant and three types of weed using hybrid of artificial neural network and partincle swarm algorithm. Measures 2018, 126, 22–36. [Google Scholar] [CrossRef]
  8. Song, J.; Li, G.; Yang, X.; Liu, X.; Xie, L. Rapid analysis of soluble solid content in navel orange based on visible-near infrared spectroscopy combined with a swarm intelligence optimization method. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2018, 228, 117815. [Google Scholar] [CrossRef]
  9. Zhang, X.; Du, Y.; Tong, P.; Wei, Y.; Wang, M. Geographical classification of Nanfeng mandarin by near infrared spectroscopy coupled with chemometrics methods. J. Innov. Opt. Health Sci. 2014, 7, 1450028. [Google Scholar] [CrossRef] [Green Version]
  10. Fernández-Novales, J.; Garde-Cerdán, T.; Tardáguila, J.; Gutiérrez-Gamboa, G.; Pérez-Álvarez, E.P.; Diago, M.P. Assessment of amino acids and total soluble solids in intact grape berries using contactless Vis and NIR spectroscopy during ripening. Talanta 2019, 199, 244–253. [Google Scholar] [CrossRef]
  11. Li, J.; Zhang, H.; Zhan, B.; Wang, Z.; Jiang, Y. Determination of SSC in pears by establishing the multi-cultivar models based on visible-NIR spectroscopy. Infrared Phys. Technol. 2019, 102, 103066. [Google Scholar] [CrossRef]
  12. Escribano, S.; Biasi, W.V.; Lerud, R.; Slaughter, D.C.; Mitcha, E.J. Non-destructive prediction of soluble solids and dry matter content using NIR spectroscopy and its relationship with sensory quality in sweet cherries. Postharvest Biol. Technol. 2017, 128, 112–120. [Google Scholar] [CrossRef]
  13. Carlini, P.; Massantini, R.; Mencarelli, F. Vis-NIR measurement of soluble solids in cherry and apricot by PLS regression and wavelength selection. J. Agric. Food Chem. 2000, 48, 5236–5242. [Google Scholar] [CrossRef] [PubMed]
  14. Clark, C.J.; McGlone, V.A.; Requejo, C.; White, A.; Woolf, A.B. Dry matter determination in ‘Hass’ avocado by NIR spectroscopy. Postharvest Biol. Technol. 2003, 29, 300–307. [Google Scholar] [CrossRef]
  15. Rambo, M.K.D.; Amorim, E.P.; Ferreira, M.M.C. Potential of visible-near infrared spectroscopy combined with chemometrics for analysis of some constituents of coffee and banana residues. Anal. Chim. Acta 2013, 775, 41–49. [Google Scholar] [CrossRef]
  16. Nascimento, P.A.M.; de Carvalho, L.C.; Júnior, L.C.C.; Pereira, F.M.V.; de Almeida Teixeira, G.H. Robust PLS models for soluble solids content and firmness determination in low chilling peach using near-infrared spectroscopy (NIR). Postharvest Biol. Technol. 2016, 111, 345–351. [Google Scholar] [CrossRef] [Green Version]
  17. Huang, Y.; Lu, R.; Chen, K. Assessment of tomato soluble solids content and pH by spatially-resolved and conventional Vis/NIR spectroscopy. J. Food Eng. 2018, 236, 19–28. [Google Scholar] [CrossRef]
  18. Walsh, K.B.; Blasco, J.; Zude-Sasse, M.; Sun, X. Visible-NIR ‘point’ spectroscopy in postharvest fruit and vegetable assessment: The science behind three decades of commercial use. Postharvest Biol. Technol. 2020, 168, 111246. [Google Scholar] [CrossRef]
  19. Nordey, T.; Davrieux, F.; Léchaudel, M. Predictions of fruit shelf life and quality after ripening: Are quality traits measured at harvest reliable indicators? Postharvest Biol. Technol. 2019, 153, 52–60. [Google Scholar] [CrossRef]
  20. Amoriello, T.; Fiorentino, S.; Vecchiarelli, V.; Pagano, M. Evaluation of Spent Grain Biochar Impact on Hop (Humulus lupulus L.) Growth by Multivariate Image Analysis. Appl. Sci. 2020, 10, 533. [Google Scholar] [CrossRef] [Green Version]
  21. Nicolai, B.M.; Beullens, K.; Bobelyn, E.; Peirs, A.; Saeys, W.; Theron, I.K. Non-destructive measurement of fruit and vegetable quality by means of NIR spectroscopy: A review. Postharvest Biol. Technol. 2007, 46, 99–118. [Google Scholar] [CrossRef]
  22. Fan, S.; Wang, Q.; Tian, X.; Yang, G.; Xia, Y.; Li, J.; Huang, W. Non-destructive evaluation of soluble solids content of apples using a developed portable Vis/NIR device. Biosyst. Eng. 2020, 193, 138–148. [Google Scholar] [CrossRef]
  23. Mogollona, R.; Contrerasa, C.; Netab, M.L.D.S.; Marquesb, E.J.N.; Zoffolia, J.P.; Freitas, S.T.D. Non-destructive prediction and detection of internal physiological disorders in ‘Keitt’ mango using a hand-held Vis-NIR spectrometer. Postharvest Biol. Technol. 2020, 167, 111251. [Google Scholar] [CrossRef]
  24. Lan, W.; Jaillais, B.; Leca, A.; Renard, C.M.; Bureau, S. A new application of NIR spectroscopy to describe and predict purees quality from the non-destructive apple measurements. Food Chem. 2020, 25. [Google Scholar] [CrossRef] [PubMed]
  25. Pourdarbani, R.; Sabzi, S.; Kalantari, D.; JPaliwal, J.; Benmouna, B.; García-Mateos, G.; Molina-Martínez, J.M. Estimation of different ripening stages of Fuji apples using image processing and spectroscopy based on the majority voting method. Comput. Electron. Agric. 2020, 176, 105643. [Google Scholar] [CrossRef]
  26. Rossel, R.A.V. ParLeS: Software for chemometric analysis of spectroscopic data. Chemom. Intell. Lab. Syst. 2018, 90, 72–83. [Google Scholar] [CrossRef]
  27. Wongkhot, A.; Rattanapanone, N.; Chanasut, U. BrimA, Total Acidity and Total Soluble Solids Correlate to Total Carotenoid Content as Indicators of the Ripening Process of Six Thai Mango Fruit Cultivars. CMU. J. Nat. Sci. 2012, 11, 97–103. [Google Scholar]
  28. Yang, X.-S. Firefly algorithms for multimodal optimization. In International Symposium on Stochastic Algorithms; Springer: Berlin/Heidelberg, Germany, 2009; pp. 169–178. [Google Scholar]
  29. Ncama, K.; Opara, U.L.; Tesfay, S.Z.; Fawole, O.A.; Magwaza, L.S. Application of Vis/NIR spectroscopy for predicting sweetness and flavour parameters of ‘Valencia’ orange (Citrus sinensis) and ‘Star Ruby’ grapefruit (Citrus x paradisi Macfad). J. Food Eng. 2017, 193, 86–94. [Google Scholar] [CrossRef]
  30. Kennedy, J.; Eberhart, R. Particle Swarm Optimization. In Proceedings of the ICNN’95-International Conference on Neural Networks, Perth, WA, Australia, 27 November–1 December 1995; Volume 4, pp. 1942–1948. [Google Scholar]
  31. Sabzi, S.; Arribas, J.I. A visible-range computer-vision system for automated, non-intrusive assessment of the pH value in Thomson oranges. Comput. Ind. 2018, 99, 69–82. [Google Scholar] [CrossRef]
  32. Liu, Y.; Ying, Y. Use of FT-NIR spectrometry in non-invasive measurements of internal quality of ‘Fuji’ apples. Postharvest Biol. Technol. 2007, 37, 65–71. [Google Scholar] [CrossRef]
  33. Ignat, T.; Lurie, S.; Nyasordzi, J.; Ostrovsky, V.; Egozi, H.; Hoffman, A.; Schmilovitch, Z. Forecast of Apple Internal Quality Indices at Harvest and During Storage by VIS-NIR Spectroscopy. Food Bioprocess Technol. 2014, 7, 2951–2961. [Google Scholar] [CrossRef]
Figure 1. Flowchart of different stages of training the proposed algorithm for non-destructive estimation of chemical properties of titration acidity and taste index of Gala cultivar.
Figure 1. Flowchart of different stages of training the proposed algorithm for non-destructive estimation of chemical properties of titration acidity and taste index of Gala cultivar.
Plants 09 01718 g001
Figure 2. Correlation analysis of a scatter plot between the mean estimated and measured chemical properties of TA of Gala cultivar (test set) by ANN-PSO algorithm based on spectral data related to key wavelengths in 300 replications.
Figure 2. Correlation analysis of a scatter plot between the mean estimated and measured chemical properties of TA of Gala cultivar (test set) by ANN-PSO algorithm based on spectral data related to key wavelengths in 300 replications.
Plants 09 01718 g002
Figure 3. Box of five criteria for evaluating the performance of ANN-PSO algorithm for estimating the TA of Gala cultivar based on spectral data of key wavelengths. (a) Error criteria, (b) Correlation coefficients and determination.
Figure 3. Box of five criteria for evaluating the performance of ANN-PSO algorithm for estimating the TA of Gala cultivar based on spectral data of key wavelengths. (a) Error criteria, (b) Correlation coefficients and determination.
Plants 09 01718 g003
Figure 4. Correlation analysis of scatter plot between mean estimated and measured taste index of Gala cultivar using ANN-PSO algorithm based on spectral data related to key wavelengths in 300 iterations.
Figure 4. Correlation analysis of scatter plot between mean estimated and measured taste index of Gala cultivar using ANN-PSO algorithm based on spectral data related to key wavelengths in 300 iterations.
Plants 09 01718 g004
Figure 5. Box of five criteria for evaluating the performance of ANN-PSO for estimating the taste index of Gala cultivar based on spectral data of key wavelengths in 300 iterations. (a) Error criteria, (b) Correlation coefficients and determination.
Figure 5. Box of five criteria for evaluating the performance of ANN-PSO for estimating the taste index of Gala cultivar based on spectral data of key wavelengths in 300 iterations. (a) Error criteria, (b) Correlation coefficients and determination.
Plants 09 01718 g005
Figure 6. Correlation analysis of scatter plot between mean estimated and measured chemical properties of TA of Gala cultivar using PLSR method based on spectral data related to key wavelengths in 300 iterations.
Figure 6. Correlation analysis of scatter plot between mean estimated and measured chemical properties of TA of Gala cultivar using PLSR method based on spectral data related to key wavelengths in 300 iterations.
Plants 09 01718 g006
Figure 7. Box diagram of five criteria evaluating the performance of PLSR method for estimating the TA of Gala cultivar based on spectral data of key wavelengths in 300 iterations. (a) Error criteria, (b) Correlation coefficients and determination.
Figure 7. Box diagram of five criteria evaluating the performance of PLSR method for estimating the TA of Gala cultivar based on spectral data of key wavelengths in 300 iterations. (a) Error criteria, (b) Correlation coefficients and determination.
Plants 09 01718 g007
Figure 8. Correlation analysis of scatter plot between mean estimated and measured taste index of Gala apple by PLSR method based on spectral data related to key wavelengths in 300 iterations.
Figure 8. Correlation analysis of scatter plot between mean estimated and measured taste index of Gala apple by PLSR method based on spectral data related to key wavelengths in 300 iterations.
Plants 09 01718 g008
Figure 9. Box diagram of five criteria evaluating the performance of the PLSR method for estimating the taste index based on spectral data of key wavelengths in 300 iterations. (a) Error criteria, (b) Correlation coefficients and determination.
Figure 9. Box diagram of five criteria evaluating the performance of the PLSR method for estimating the taste index based on spectral data of key wavelengths in 300 iterations. (a) Error criteria, (b) Correlation coefficients and determination.
Plants 09 01718 g009
Figure 10. Graphic study of the performance of Methods. (a) ANN-PSO Algorithm and (b) PLSR for predicting the titratable acidity of Gala apples using spectral data related to key wavelengths.
Figure 10. Graphic study of the performance of Methods. (a) ANN-PSO Algorithm and (b) PLSR for predicting the titratable acidity of Gala apples using spectral data related to key wavelengths.
Plants 09 01718 g010
Figure 11. Graphic study of the performance of Methods. (a) ANN-PSO Algorithm and (b) PLSR for predicting the taste index of Gala apples using spectral data related to key wavelengths.
Figure 11. Graphic study of the performance of Methods. (a) ANN-PSO Algorithm and (b) PLSR for predicting the taste index of Gala apples using spectral data related to key wavelengths.
Plants 09 01718 g011
Table 1. Structure of hidden layers of the neural network used to select key wavelengths.
Table 1. Structure of hidden layers of the neural network used to select key wavelengths.
FeaturesLayers of the Network
Number of neurons1st layer: 18
2nd layer: 6
Number of layers2
Transfer function1st layer: tansig
2nd layer: tansig
Backpropagation Network Training Functiontrainrp
Backpropagation Weight/Bias Learning Functionlearnk
Table 2. Measured average of chemical properties in three stages of harvest.
Table 2. Measured average of chemical properties in three stages of harvest.
Chemical PropertiesNumber of SamplesMeasured Average
Stage 1Stage 2Stage 3
TA1500.55570.56490.5808
Taste Index15022.1222.6221.24
Table 3. ANOVA analysis for property of TA.
Table 3. ANOVA analysis for property of TA.
TASum of SquaresdfMean SquareFSig.
Between Groups(Combined)0.01620.0080.4350.648
Linear TermContrast0.01610.0160.8510.358
Deviation0.00010.0000.0200.888
Within Groups2.7131470.018
Total2.729149
df: the degrees of freedom, F: F-Value, Sig.: significance.
Table 4. Tukey and LSD comparing for property of TA.
Table 4. Tukey and LSD comparing for property of TA.
TA(I) Stage(J) StageMean Difference (I-J)Std. ErrorSig.
Tukey HSD12−0.00921890.02717090.939
3−0.02506010.02717090.627
210.00921890.02717090.939
3−0.01584120.02717090.829
310.02506010.02717090.627
20.01584120.02717090.829
LSD12−0.00921890.02717090.735
3−0.02506010.02717090.358
210.00921890.02717090.735
3−0.01584120.02717090.561
310.02506010.02717090.358
20.01584120.02717090.561
Std. Error: Standard Error, Sig.: significance.
Table 5. ANOVA analysis for property of taste index.
Table 5. ANOVA analysis for property of taste index.
Taste IndexSum of SquaresdfMean SquareFSig.
Between Groups(Combined)48.580224.2900.4300.651
Linear TermContrast19.248119.2480.3410.560
Deviation29.332129.3320.5190.472
Within Groups8304.08014756.490
Total8352.660149
df: the degrees of freedom, F: F-Value, Sig: significance.
Table 6. Tukey and LSD comparing for property of taste index.
Table 6. Tukey and LSD comparing for property of taste index.
Taste Index(I) Stage(J) StageMean Difference (I–J)Std. ErrorSig.
Tukey HSD12−0.49933011.50320110.941
30.87745701.50320110.829
210.49933011.50320110.941
31.37678721.50320110.631
31−0.87745701.50320110.829
2−1.37678721.50320110.631
LSD12−0.49933011.50320110.740
30.87745701.50320110.560
210.49933011.50320110.740
31.37678721.50320110.361
31−0.87745701.50320110.560
2−1.37678721.50320110.361
Std. Error: Standard Error, Sig.: significance.
Table 7. T-Student test for TA property based on PLSR Method.
Table 7. T-Student test for TA property based on PLSR Method.
Levene’s Test for Equality of Variancest-Test for Equality of Means
FSig.tdfSig. (2-Tailed)Mean DifferenceStd. Error Difference95% Confidence Interval of the Difference
LowerUpper
Equal variances assumed11.1340.001−0.0112980.991−0.000153960.01434931−0.028392780.02808485
Equal variances not assumed −0.011288.0250.991−0.000153960.01434931−0.028396770.02808884
F: F-Value, Sig.: significance, t: t-test statistic, df: the degrees of freedom, Std. Error: Standard Error.
Table 8. T-Student test for TA property based on ANN-PSO Method.
Table 8. T-Student test for TA property based on ANN-PSO Method.
Levene’s Test for Equality of Variancest-Test for Equality of Means
FSig.tdfSig. (2-Tailed)Mean DifferenceStd. Error Difference95% Confidence Interval of the Difference
LowerUpper
Equal variances assumed4.0260.0460.5402980.5900.00782670.0144987−0.02070610.0363594
Equal variances not assumed 0.540290.3990.5900.00782670.0144987−0.02070910.0363624
F: F-Value, Sig.: significance, t: t-test statistic, df: the degrees of freedom, Std. Error: Standard Error.
Table 9. T-Student test for Taste Index property based on PLSR Method.
Table 9. T-Student test for Taste Index property based on PLSR Method.
Levene’s Test for Equality of Variancest-Test for Equality of Means
FSig.tdfSig. (2-Tailed)Mean DifferenceStd. Error Difference95% Confidence Interval of the Difference
LowerUpper
Equal variances assumed6.7090.0100.0022980.9990.00139630.8007309−1.57440731.5771999
Equal variances not assumed 0.002290.0320.9990.00139630.8007309−1.57458381.5773765
F: F-Value, Sig.: significance, t: t-test statistic, df: the degrees of freedom, Std. Error: Standard Error.
Table 10. T-Student test for Taste Index property based on ANN-PSO Method.
Table 10. T-Student test for Taste Index property based on ANN-PSO Method.
Levene’s Test for Equality of Variancest-Test for Equality of Means
FSig.tdfSig. (2-Tailed)Mean DifferenceStd. Error Difference95% Confidence Interval of the Difference
LowerUpper
Equal variances assumed9.0160.0031.0202980.3090.80025780.7846944−0.74398652.3445022
Equal variances not assumed 1.020284.9640.3090.80025780.7846944−0.74427462.3447903
F: F-Value, Sig.: Significance, t: t-test statistic, df: the degrees of freedom, Std. Error: Standard Error.
Table 11. Structure of hidden layers of ANN-PSO algorithm to estimate TA.
Table 11. Structure of hidden layers of ANN-PSO algorithm to estimate TA.
FeaturesLayers of the Network
Number of neurons1st layer: 19
2nd layer: 13
3nd layer: 16
Number of layers3
Transfer function1st layer: tribas
2nd layer: poslin
3nd layer: tansig
Backpropagation Network Training Functiontrainbr
Backpropagation Weight/Bias Learning Functionlearngd
Table 12. The structure of the hidden layers of ANN-PSO algorithm to estimate the taste index.
Table 12. The structure of the hidden layers of ANN-PSO algorithm to estimate the taste index.
FeaturesLayers of the Network
Number of neurons1st layer: 21
2nd layer: 9
Number of layers2
Transfer function1st layer: radbas
2nd layer: tansig
Backpropagation Network Training Functiontraingd
Backpropagation Weight/Bias Learning Functionlearnk
Table 13. Comparison of mean and standard deviation, different criteria evaluating the performance of the ANN-PSO algorithm and PLSR for estimating TA in 300 iterations using spectral data of key wavelengths.
Table 13. Comparison of mean and standard deviation, different criteria evaluating the performance of the ANN-PSO algorithm and PLSR for estimating TA in 300 iterations using spectral data of key wavelengths.
MethodCriteriaMSERMSEMAERR2
Hybrid ANN-PSOMean and standard deviation in 300 iterations0.0036 ± 0.00080.0598 ± 0.00640.0486 ± 0.00540.9095 ± 0.01750.8274 ± 0.0316
In the best state of training0.00170.04200.03820.094910.09008
PLSRMean and standard deviation in 300 iterations0.0058 ± 0.00090.0761 ± 0.00610.0612 ± 0.00550.8340 ± 0.03130.6965 ± 0.0519
In the best state of training0.00400.06310.05230.90450.8181
Table 14. Comparison of mean and standard deviation, different criteria evaluating the performance of the ANN-PSO algorithm and PLSR for estimating the taste index in 300 iterations using spectral data of key wavelengths.
Table 14. Comparison of mean and standard deviation, different criteria evaluating the performance of the ANN-PSO algorithm and PLSR for estimating the taste index in 300 iterations using spectral data of key wavelengths.
MethodCriteriaMSERMSEMAERR2
Hybrid ANN-PSOMean and standard deviation in 300 iterations10.41 ± 2.633.20 ± 0.392.31 ± 0.330.918 ± 0.020.844 ± 0.04
In the best state of training5.272.291.730.9630.927
PLSRMean and standard deviation in 300 iterations16.96 ± 3.334.09 ± 0.4033.17 ± 0.3160.836 ± 0.0330.699 ± 0.055
In the best state of training9.823.132.940.9230.852
Table 15. Comparison of the regression coefficient, R, of the proposed method with other research for the estimation of the TA of Gala apples.
Table 15. Comparison of the regression coefficient, R, of the proposed method with other research for the estimation of the TA of Gala apples.
RNo. of SamplesFruitPropertyResearch Work
0.963150AppleTAProposed method (ANN-PSO)
0.923150AppleTAProposed method (PLSR)
0.53333AppleTALiu and Ying [32]
0.53200AppleTAIgnat et al. [33]
0.91960AppleTALan et al. [24]
Publisher’s Note: MDPI stays neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Share and Cite

MDPI and ACS Style

Sharabiani, V.R.; Sabzi, S.; Pourdarbani, R.; Solis-Carmona, E.; Hernández-Hernández, M.; Hernández-Hernández, J.L. Non-Destructive Prediction of Titratable Acidity and Taste Index Properties of Gala Apple Using Combination of Different Hybrids ANN and PLSR-Model Based Spectral Data. Plants 2020, 9, 1718. https://doi.org/10.3390/plants9121718

AMA Style

Sharabiani VR, Sabzi S, Pourdarbani R, Solis-Carmona E, Hernández-Hernández M, Hernández-Hernández JL. Non-Destructive Prediction of Titratable Acidity and Taste Index Properties of Gala Apple Using Combination of Different Hybrids ANN and PLSR-Model Based Spectral Data. Plants. 2020; 9(12):1718. https://doi.org/10.3390/plants9121718

Chicago/Turabian Style

Sharabiani, Vali Rasooli, Sajad Sabzi, Razieh Pourdarbani, Edgardo Solis-Carmona, Mario Hernández-Hernández, and José Luis Hernández-Hernández. 2020. "Non-Destructive Prediction of Titratable Acidity and Taste Index Properties of Gala Apple Using Combination of Different Hybrids ANN and PLSR-Model Based Spectral Data" Plants 9, no. 12: 1718. https://doi.org/10.3390/plants9121718

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