Next Article in Journal
Effects of Casein Hydrolysate Prepared with Savinase on the Quality of Bread Made by Frozen Dough
Next Article in Special Issue
Effect and Mode of Different Concentrations of Citrus Peel Extract Treatment on Browning of Fresh-Cut Sweetpotato
Previous Article in Journal
Effect of Gluten Composition in Low-Allergy O-Free Wheat Flour on Cookie-Making Performance Compared with Flours with Different Gluten Strengths
Previous Article in Special Issue
TMT-Based Proteomic Analysis of Hannaella sinensis-Induced Apple Resistance-Related Proteins
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Geographical Origin Classification of Durian (cv. Monthong) Using Near-Infrared Diffuse Reflectance Spectroscopy

by
Kingdow Chanachot
1,
Wanphut Saechua
1,*,
Jetsada Posom
2,* and
Panmanas Sirisomboon
1
1
Department of Agricultural Engineering, School of Engineering, King Mongkut’s Institute of Technology Ladkrabang, Bangkok 10520, Thailand
2
Department of Agricultural Engineering, Faculty of Engineering, Khon Kaen University, Khon Kaen 40002, Thailand
*
Authors to whom correspondence should be addressed.
Foods 2023, 12(20), 3844; https://doi.org/10.3390/foods12203844
Submission received: 12 September 2023 / Revised: 16 October 2023 / Accepted: 17 October 2023 / Published: 20 October 2023

Abstract

:
The objective of this research was to classify the geographical origin of durians (cv. Monthong) based on geographical identification (GI) and regions (R) using near infrared (NIR). The samples were scanned with an FT-NIR spectrometer (12,500 to 4000 cm−1). The NIR absorbance differences among samples that were collected from different parts of the fruit, including intact peel with thorns (I-form), cut-thorn peel (C-form), stem (S-form), and the applied synthetic minority over-sampling technique (SMOTE), were also investigated. Models were developed across several classification algorithms by the classification learner app in MATLAB. The models were optimized using a featured wavenumber selected by a genetic algorithm (GA). An effective model based on GI was developed using SMOTE-I-spectra with a neural network; accuracy was provided as 95.60% and 95.00% in cross-validation and training sets. The test model was provided with a testing set value of %accuracy, and 94.70% by the testing set was obtained. Likewise, the model based on the regions was developed from SMOTE-ICS-form spectra, with the ensemble classifier showing the best result. The best result, 88.00FF% accuracy by cross validation, 86.50% by training set, and 64.90% by testing set, indicates the classification model of East (E-region), Northeast (NE-region), and South (S-region) regions could be applied for rough screening. In summary, NIR spectroscopy could be used as a rapid and nondestructive method for the accurate GI classification of durians.

1. Introduction

Durian (Durio zibethinus Merr.) is a famous and popular native fruit of Southeast Asia. It is known as the king of fruit due to its rich, sweet, creamy texture, extraordinarily delicious taste, and strong, distinctive odor [1]. Thailand has favorable weather conditions and productive land for the cultivation of tropical and subtropical fruits, such as durian, and the produced durian is tasty, flavorful, and of good quality. Durian is mainly grown in the eastern and southern regions of Thailand. According to an Office of Agricultural Economics report, 24.79% of the durian yield was produced by Chumphon Province, 5.18% by Surat Thani Province, 0.68% by Prachuap Khiri Khan Province (southern Thailand), 24.66% by Chanthaburi Province, 8.39% by Rayong Province, 3.5% by Trat Province, 0.24% by Prajinburi Province (eastern Thailand), and 0.41% by Sri Sa ket Province (northeastern Thailand) [2]. In addition, according to the agricultural product production index, in May 2021, the yield of important agricultural commodities, such as durian and mangosteen, increased compared to April 2021 by 2.55% [2]. In the past, the durian harvesting period in the eastern region was from May to August, and that in the south was from July to August. To satisfy customer demand, the harvesting season has been managed by adding fertilizer and improving cultivation and harvesting methods. As a result, the harvesting periods of provinces or regions might overlap. Therefore, the geographical identification (GI) of durians in Thailand, which is assigned by the Department of Intellectual Property (DIP) under the supervision of the Ministry of Commerce, differs depending on the original province. The GI is a name and symbol representing the geographic origin of a product. It reveals the quality, reputation, or characteristics of the geographical origin of the product, and its determination may be affected by natural and human factors. In addition, GI can represent a local brand to indicate the quality and source of the product. The benefits of registering the GI are product protection, added value, maintaining and preserving local wisdom, sustaining community tourism, and supporting the confidence of buyers in production sources and quality. The GI registration application consists of details of the product regarding quality, reputation, or properties as well as other details, as specified by the ministerial regulations (Geographical Indications Protection Act, B.E. 2546, Article 5–10). In this study, the classification of the geographical origin of durians from Prachuap Kiri Khan Province in southern Thailand was investigated to obtain the GI label. Likewise, for durian plants in Penang, Malaysia, the study indicated that both cultural and marketing terroir differentiate durians from Penang. Two main factors are the way the farmer takes care of trees and the techniques that durian sellers use to select and present the durian to customers [3].
The geographical origin might be used as an indicator to set the price for Thai durians. Because of unique characteristics, durians from some origins must be reserved for harvesting in advance, especially GI durians, and the GI region price must be higher than those in other provinces or regions. Statistically, the average retail price of durians from Prachuap Kiri Khan Province was 300–350 THB/kg, while in other provinces, the price was 200–250 THB/kg. Customers were willing to pay more for high-quality durians if the quality was satisfactory. There is no one who can verify whether the GI label attached to a product is genuine. However, there have been no clear reports of copyright infringement. Therefore, the geographic origin should be reliably identified; otherwise, the false identification of a fruit’s geographical origin could negatively impact the image of farmers. Currently, the discrimination of durian geographical origin is limited to the detection of a few active components with analytical methods such as stable isotopes and element compositions, which is complicated. Additionally, human perception skills are needed. However, human skill is individual expertise. It takes time to transfer this practical knowledge to others, especially to most people who are involved in agriculture or the durian industry. As a result, modern technologies have been introduced and widely used as enabling tools to replace human tasks [1]. However, human skill in distinguishing the geographic origin of durian is not easy to develop by only one way of skill transfer from expertise to unskilled persons, which not only takes long time but also the perceptual ability of the person and a tremendous number of intact fruits and pulps.
Durian has been studied on stable isotope and element compositions, which discriminate the geographic origin of durians from four Southeast Asian countries, namely, Malaysia, Thailand, Cambodia, and Vietnam [4]. Isotope ratios are affected by biogeochemical processes related to the meteorological cycle of evaporation, condensation, and precipitation, which give rise to the spatial variability in hydrogen and oxygen stable isotopes when water is incorporated into plant tissues through photosynthesis and animal tissues through ingestion. This spatial variability is used for food origin and criminal forensic studies. Zhou et al. [4] identified significant differences in tissue type among durians of different geographical origins. The study found that analysis of the durian core provided better origin traceability results than analysis of the durian pulp [4], where durian origin classification (5 regions) achieved percent accuracy rates of 98.60% and 97.30% for the testing and training sets, respectively. An artificial neural network (ANN) yielded higher accuracy rates for identifying durian origin than LDA, namely, 100.00% on the training set and 94.40% on the testing set [4]. Climate or the environment of the geographical origin might cause different metabolite profiles of durian pulp, such as organic acids and amino acids, which are related to flavors [5]. Amino acids also affect fruit quality attributes by acting as precursors of volatile compounds in fruit aromas [6]. Various factors were found to contribute to the quality based on physiochemical and sensory characteristics in geographical regions. These were very important for the consumer’s perceptions of fruit quality and popularity [7], which affected producers [8] in terms of popularity and market prices [9]. The physicochemical characteristics of fruits depend on numerous factors, such as geographic, climatic, and agronomic criteria, which are also used to define product authenticity [10]. To enable producers, consumers, and traders to make unbiased decisions for trading or consuming, it is important to develop a reliable, efficient, and accurate method for discriminating the geographical origins of durians, especially with a nondestructive method.
Visible/infrared spectroscopy and hyperspectral imaging techniques, which are rapid and nondestructive analytical methods, have been widely utilized to trace food varieties and geographical origins [11], such as green coffee beans [12], wines [13], loquats [14], apples [15], and goji berries [16]. The combination of NIR spectroscopy with chemometrics provided an approach for investigating the geographical origins of Codonopsis pilosula (C. pilosula) in China [16]. This technique of both classification modes performed by RF and K-NN using the PCA scores of samples yielded results with a total accuracy of 94.00% [16]. The NIR spectral range of 1000–2500 nm, combined with LS-SVM, radial basis function ANN (RBF-ANN), PLS-DA, and K-NN, was used to model the classification of Rhizoma Corydalis samples, and the use of wavelet transform (WT) input variables from LS-SVM provided slightly better discrimination, with discrimination rates of 100.00% on the calibration set and 95.00% on both the verification set (validation set) and the test dataset [17].
The different locations along level of latitude and longitude in our case—East: Prajinburi, Rayong, Chanthaburi, and Trat; North east: Si sa ket; and South: Surat thani, Chumphon, and Prachuap khiri khan—have a direct effect on geographic characteristics. Durian that comes from different provinces has different tastes, textures, and flavors, which influences consumers and price. The harvesting period of provinces or regions might overlap. This is why these regions were chosen for this research. These variations in agroecological conditions, annual weather patterns, and cultural practices can affect the result, which is why the main aim of this study is to to use the NIR technique to classify different groups of samples, whether they are from different geographical identifications or regions. This study aimed to (1) find an effective model for classifying the geographical identification (GI) and region (R) of durians (cv. Monthong) by (a) applying different spectral pre-processing on the full wavenumber and (b) applying the Synthetic Minority Over-sampling Technique (SMOTE), which is the most common method to address imbalanced classification, which is an important task in supervised learning; (2) select wavenumber ranges by using a genetic algorithm (GA) and develop models by several algorithms (24 algorithms). By MATLAB classification learner and (3) compare the models developed from NIR spectra of intact peels (with thorns) (I-form), cut-thorn peels (C-form), stems (S-form), a combination of I and C (IC-form), a combination of I and S (IS-form), a combination of C and S (CS-form), and a combination of I, C, and S (ICS-form) in terms of % accuracy and sensitivity.

2. Materials and Methods

2.1. Durian Sample Collection

To ensure geographical origin, durian samples were directly collected from various orchards in different provinces and regions of Thailand. Durian samples were received from the East: Chanthaburi, Prajinburi, Rayong, and Trat provinces; the South: Chumphon, Surat thani, and Prachuap Kiri Khan (GI durian) provinces; and the Northeast: Sri sa ket province. The details of the collection of 120 durian fruits are presented in Table 1 and Figure 1. For the sampling process, managing the variation of sampling was done by the following: (1) collected 3 orchards per province. (2) Durian tree age of 5–10 years, which is covered in the production year (3) 2 years for collecting samples (2019–2020), indicated the replication of sampling to include variation effects of agroecological conditions and annual weather patterns. (4) All durians were tagged on 120 DAA (day after anthesis), which is the commercial harvesting date. The tagging sampling was 3 durian fruits, and we selected 1. (5) The durian sample was tagged in the middle level of the canopy. (6) Transportation was controlled within 3 days, and the fruit samples were controlled for uniform temperature during scanning to avoid spectral error in the experiment. One hundred and twenty durian fruits were first collected and used for model creation and model proving. The collection conditions of the durian samples were determined by the National Bureau of Agricultural Commodity and Food Standards [18] as follows: The harvesting date was 120 days after anthesis (DAA), and the weight of each fruit was between 2.50 and 3.50 kg. Durian trees were irrigated with water, fertilizers, or/and chemical treatments guided by durian fruit experts. The samples were transported directly to the NIR Spectroscopy Research Center of Agricultural Product and Food, Department of Agricultural Engineering, School of Engineering, King Mongkut’s Institute of Technology, Ladkrabang, Thailand. After that, the samples were kept in the air at room temperature (25 ± 2 °C) overnight before the experiment for approximately 20 h.

2.2. NIR Spectral Acquisition

NIR spectral data were acquired over a wavenumber range of 12,500–4000 cm−1 in diffuse reflectance mode using an FT-NIR spectrometer (Multi-Purpose Analyzer, MPA, Bruker Optics, Bremen, Germany), with a scanning resolution of 16 cm−1 and 32 scans for each spectrum. Each durian fruit was scanned repeatedly three times at the same point, using all the data in the data analysis in 3 different forms: I-form, C-form, and S-form. The I-form and C-form were scanned in the middle of each locule of the whole durian fruit, and a black sponge was used to cover the gap between the sample and the NIR beam window of the spectrometer to avoid leakage of NIR radiation. The stem was scanned on 2 sides at a 180° distance in the middle part of the stem. Before scanning every form and sample, a gold plate was scanned internally for background compensation. Spectral data were collected and analyzed using OPUS 6.5 (Bruker Optik GmbH, Germany). The measurement setup, configuration of sample scanning, and scanned position are shown in Figure 2.

2.3. Classification Modeling

After spectral collection, each NIR spectrum and its corresponding GI and R categories were registered for model development. A flow chart of the study is shown in Figure 3. There were 2 geographical origin categories (GI and R). The dataset of GI consisted of 2 classes, namely, GI (durian samples received from Prachuap Kiri Khan province) and non-GI, and the R dataset consisted of 3 classes, namely, East (E-region), Northeast (NE-region), and South (S-region) regions.
The accuracies of the developed models with different durian forms, namely, I-form, C-form, S-form, I+C (IC-form), I+S (IS-form), C+S (CS-form), and I+C+S (ICS-form), were compared. The spectral combination strategy is from the study of Somton et al. (2015) The study was used to classify the durian samples into immature, early mature, and mature classes based on the number of days after anthesis. A combination of both rind and stem spectral data provided the highest accuracy of classification at 94.40% [19], and Sirirak et al. (2023) found that the performance of the model increases when developed with a combination of rind and stem spectra [20]. The non-destructive maturity classification model of Monthong durians is based on the visible spectroscopy of durian husk. The data discriminant analysis showed that model can be separated into five groups, which have 83.3% accuracy [21].
All spectra from different durian forms (I-form, C-form, S-form, IC-form, IS-form, CS-form, and ICS-form) and either raw spectra or pre-processed spectra (standard normal variate (SNV), baseline offset (Baseline), multiplicative scattering correction (MSC), detrending (Detrend), mean normalization (MeanNor), Savitzky-Goley first derivative (FD), and Savitzky-Goley second derivative (SD)) were used for model development. It was necessary to perform mathematical pre-processing to reduce systematic noise, such as baseline variation and light scattering, and to enhance the contribution of the chemical composition [16]. The concentrations of the chemical constituents and the physical properties, such as density, particle size, and particle distribution, which can change the path length and absorbance of the sample, affect the NIR spectra. Savitzky-Goley smoothing is an effective approach for removing high-frequency noise from a spectrum and improving the signal-to-noise ratio, while detrending is an approach for eliminating the baseline shift in the spectrum [22]. In the case of transmission measurement, normalization is used to eliminate the influence of different optical path lengths, which can only change the height of the signal but not its structure. Likewise, in the case of the diffuse reflectance model, partial size influences the NIR spectra [23]. MSC can be effectively used to eliminate the translation and offset of the baseline [23]. MSC is used to compensate for the effect of nonuniform scattering induced by diverse particle sizes, uneven distributions, and other physical effects in the spectral data. SNV basically performs the same as MSC [24]. The objective of SNV is to eliminate the deviations caused by particle size and scattering and to eliminate drifting and scattering [22]. FD and SD are used to remove background interference, distinguish superimposed peaks, and enhance the spectral resolution and sensitivity [22]. Additionally, derivative pre-processing leads to more stable reflectance, but it is sensitive to noise; thus, it needs to be used with a smoothing algorithm [24].
The classification learner app of MATLAB was used to develop a classification model using supervised machine learning methods [22]. Various classification models based on statistics and machine learning in the classification learner of MATLAB R2021b (license no. 40846673, MathWorks, Natick, MA, USA) were applied. A total of 24 algorithms were compared. The algorithms were from six main classification groups:
  • A decision tree is a flowchart similar to a tree structure, where each internal node represents a test on an attribute, each branch represents an outcome of the corresponding test, and each leaf node (terminal node) holds a class label. Decision tree types consist of simple, medium, and complex.
  • Naïve Bayes is a collection of classification algorithms based on Bayes’ Theorem, which is related to probability. There are two types of Naïve Bayes: Gaussian Naïve Bayes and kernel Naïve Bayes.
  • A support vector machine (SVM) is a mathematical function used to determine the limits between classes [25] by using a hyperplane and margin lines. The available types of SVMs are linear, quadratic, cubic, fine Gaussian, medium Gaussian, and coarse Gaussian.
  • K-nearest neighbors (K-NN) is used to measure the distance between K-nearest neighbors. K-NN consists of 6 types: fine, medium, coarse, cosine, cubic, and weighted.
  • Discriminant analysis is used to find combinations of features that can characterize or separate classes. Discriminant analysis can be linear or quadratic [25].
  • Ensemble classification is a meta-algorithm that can combine several machine learning techniques into one predictive model to decrease variance or bias or improve predictions. There are several types: bagged trees, boosted trees, subspace discriminant, subspace K-NN, and RUSBoosted trees.
There were two ways of the datasets were split: (1) cross validation and (2) training and testing set. Cross validation: to avoid overfitting, the classification model was validated using repeated nested cross-validation. An advantage of nested cross-validation is the estimation of the true error, which can be almost unbiased [26]. K-fold cross-validation is a common cross-validation technique in which the data are partitioned into K randomly chosen subsets (or folds) of roughly equal size. One subset is used to validate the model trained using the remaining subsets. This process is repeated K times, such that each subset is used exactly once for validation [27]. A fivefold outer cross-validation was performed by repeating the process five times to assess the model performance. Training and testing set: sample selection, the samples were divided into training (75%) and test (25%) sets using the Kennard-Stone algorithm, which is based on a Euclidian distance calculation, where the sample with a maximum distance to all other samples is selected, then the samples that are as far away as possible from the selected samples are selected, until the selected number of samples is reached. This means that the samples are selected in such a way that they will uniformly cover the complete sample space, reducing the need for extrapolation of the remaining samples [28].
The second cycle of analysis was comparing SMOTE and original data (the imbalance data set). SMOTE is the most common method to address imbalanced classification, which is an important task in supervised learning [29], including in NIRS [30].
After model creation, the testing set was analyzed. The model with the highest accuracy on the training set and test set was selected as the optimal model. In summary, the pre-processed spectral data of each form selected by optimal models will be used as input spectral data for the wavenumber selection process.

2.4. Optimal Wavenumber Screening and Optimization

After model creation and validation by testing samples, the spectral pre-processing that yielded the highest accuracy was selected. It was assigned as an effective spectral pre-processing method, which was used in the GA to determine the most important relationship between geographical origin and wavenumber.
A practical approach for improving the model’s robustness and accuracy is the elimination of irrelevant variables and redundancies in the data and the selection of relevant spectral features [31]. The selected wavelength method can reduce the number of independent variables to obtain only the most significant spectra consisting of features of interest. Feature selection reduces the spectral complexity and selects only useful wavelengths that are highly correlated with the predicted value. GA is an adaptive technique that can be successfully used in solving complex search and optimization problems [32]. The GA is a variable selection method that can effectively solve the problem of spectral collinearity and has the great advantages of high repeatability and minimal redundancy of spectral information. Theoretically, the GA is a type of mathematical model inspired by Charles Darwin’s idea of natural selection. Simple GA pseudocodes consist of (1) choosing the initial population of individuals, (2) evaluating the fitness of each individual in that population, and (3) iterating on this generation until termination (time limit, sufficient fitness achieved, etc.) [33]. Therefore, wavelength selection is needed before calibration.
Then, classification models were developed using wavenumbers selected by the GA within 24 algorithms again. Finally, the models developed using the full wavenumber range and the wavenumbers selected by the GA were compared in terms of accuracy.

2.5. Evaluation of Model Performance

The NIR spectra test set was used to evaluate the accuracy, precision, sensitivity, and F1 score, which are the common criteria used to evaluate the performance of classification models. The accuracy percentage is the total correct classification percentage relative to all cases (correct and incorrect). Sensitivity and specificity are common figures of merit used to evaluate classification and authentication models [34]. The sensitivity of a learning machine is the ratio between the number of true-positive predictions and the number of positive instances in the test set (true positive + false negative) [35]. Specificity indicates the correctness of the model in classifying other-group samples (true-negative samples) among all other-group samples (true negative + false positive) [34]. Precision is the ratio of the number of samples correctly classified as model samples (true positive) to the total number of samples classified as model samples (true positive + false positive) [34]. TP is the number of true-positive samples, which are samples that are correctly classified as model samples; TN is the number of true-negative samples, which are samples that are correctly classified as other-group samples; FP is the number of false-positive samples, which are samples from another group that have been classified as model samples; and FN is the number of false-negative samples, which are model samples that have been classified as other-group samples. Equations (1)–(5) present the evaluation parameter formulas:
% A c c u r a c y = T P + T N T P + T N + F P + F N × 100
% S e n s i t i v i t y = T P T P + F N × 100
% S p e c i f i c i t y = T N T N + F P × 100
% P r e c i s i o n = T P T P + F P × 100
F 1   s c o r e = 2 × P r e c i s i o n × S e n s i t i v i t y P r e c i s i o n + S e n s i t i v i t y
The F1 score, the harmonic precision and sensitivity mean, is a classification accuracy metric that combines precision and sensitivity. It is designed to be a useful metric when classifying between unbalanced classes or other cases where simpler metrics could be misleading. It indicates the meaning of correctness in identifying every sample as the true positive and in identifying the true positive as being correctly classified. F1 score is maximum, which is equal to one if precision is equal to sensitivity.
To find an effective classification model using the Classification Learner app, the model with the highest accuracy and sensitivity on the cross-validation set (validate), or training set and testing set, was selected as the effective classification model. The performances of the model using the full wavenumber range applying SMOTE, selecting featured wavenumbers using GA applying, pre-processing methods, and development with various modelling algorithms were compared.

3. Results and Discussion

3.1. Spectral Investigation

The average near-infrared (NIR) spectra of durian fruits in three forms (I-form, C-form, and S-form) are graphically presented in Figure 4. The average raw NIR spectra ranged between 12,500 and 4050 cm−1. All spectra were similar in terms of overall pattern, and several observed peaks were also similar among all forms of durian samples. The profile curves of the raw spectra of the I-form and C-form were very similar visually. Along the wavenumbers of the spectra, the S-form absorbed less radiation than the I-form and C-form. The difference in scanned surface characteristics could have caused the variation in scattering [19]. The surface of the cut-thorn peel (C-form) was smoother than that of the I-form. This smooth surface produced less reflectance and, thus, more absorbance. Although the complexity of ingredients in natural products such as agricultural products discourage specific chemical group assignments, obvious bands of average raw spectra at 10,314, 8598, 6827, and 5122 cm−1 were assigned to the bond vibrations of H2O [36]. Sharma et al. (2022) determined the peak wavelengths of durian pulp [37]. The peak at 5639 cm−1 corresponded to a vibration due to the C –H str. first overtone of cellulose [38]. All details are presented in Table 2. Durian rind (peel) with thorns contains lignin and is rich in hemicelluloses [38], moisture, ash, carbon, and oxygen [38]. A study on the chemical composition of pasteurized crushed durian peel found that the composition of durian peel consisted of moisture (85.39 ± 0.17%), protein (0.52 ± 0.00%), lipid (0.01 ± 0.01%), fiber (12.86 ± 0.11%), ash (0.35 ± 0.03%), and carbohydrate (0.87 ± 0.06%).
The study of Somton et al. (2015) indicated that NIR absorption by water in the NIR spectra of durian rinds could predict the level of maturity and directly influence the dry matter content (%DM) and sweetness (%Brix) of pulp [19]. Therefore, the farmers used processes to improve the fertility of the rind and/or stem because it might affect the durian pulp. In general, the main functions of the stem consist of (1) transporting water and minerals from the root to the leaves for photosynthesis and (2) transporting glucose to the leaves to produce plant energy, which is necessary for growth. The durian rinds and stems are influenced by several factors. The addition of plant hormones and chemicals was controlled by the farmer, but rainfall, sunlight, storms, and weather could not be controlled. This relation indicates that the stem, rind, and durian pulp are connected. In addition, the I-form, C-form, and S-form NIR spectra indicated that different chemical compositions of durian caused different NIR absorption values. The indication of the relationship between intact durian fruit peel and thorn spectra with the quality of pulp (dry matter, DM) has been shown in the study [38], and the relationship between intact durian fruit rind spectra combined with fruit stem spectra and the quality of pulp (DM) has been shown in Ditcharoen et al. (2023) [20]. Onsawai et al. (2021) [38] indicated with spectral collection methods that scanning of the intact fruit at the largest locule showed R2 between NIR spectra and DM of pulp and RMSEC values of 0.80 and 5.19%, respectively, and the predictive ability of the DM model validated using the validation set provided r2, RMSEP, and RPD values of 0.79, 5.23%, and 2.18, respectively. These results confirm that the largest locule is the optimum NIR scanning position of the intact durian fruit to acquire spectra for predictive modeling of the DM content of the pulp. Ditcharoen et al. (2023) proved that the combination of rind spectra and stem spectra could improve the maturity classification accuracy based on different DM of durian pulp. The result indicated that the combined spectra (rind and stem) can increase the model performance of all algorithms. The LDA model developed with the rind (D2) + stem (MA + SNV) provided the best classification efficiency, precision, recall (sensitivity), specificity, and overall accuracy of 96.40%, 91.88%, 97.55%, and 97.28%, respectively. These indicated the pulp DM was related to the chemical constituents in the rind and stem of durian fruit. In addition, postharvest biology of durian from Chumphon and Chanthaburi provinces 120 days after pollination included DM (%), soluble solids content (%), and lipid content (g/100 g fresh wt.) of the aril (durian pulp), which indicated a value difference between two provinces. Sangwanangkul et al. [40] studied a correlation between the chemical compositions of the fruit stem and the maturity of ‘Monthong’ durian fruit, and it was shown that the total non-structural carbohydrate (TNC) of the upper fruit stem was significantly correlated with the dry matter of the pulp. This study aimed to analyze the genetic and relatedness of indigenous durian (Durio zibethinus Murr.) in southern Thailand using random amplified polymorphic DNA (RAPD) and microsatellite markers. In this study, 67 samples were collected from Songkhla, Nakhon Sithammarat, Krabi Phanga, and Yala provinces in southern Thailand. Resulting from a dendrogram analysis, four clusters could be separated with a genetic similarity index. Cluster corresponds well with their geographical original. Therefore, it is possible to differentiate the geographical origin of durian due to the taste of durian pulps, which is related to DM. However, it is a destructive test.
Figure 5a shows the average raw spectral data and pre-processing spectra by SD of GI and non-GI in the I-form. There were five obvious peaks related to the chemical composition of the I-form at wavenumbers of 10,391, 8601, 6912, 5585, and 5076 cm−1. Most of the peaks were associated with water [41], and the expected peak at 5585 cm−1 corresponded to a combination of vibrations due to C–H str. of the first overtone of cellulose [36]. The raw NIR spectral data showed a baseline shift, which was due to different scattering-influenced optical path lengths. The best pre-processing method will be the one that finally produces the best predictive model. Unfortunately, there seem to be no hard rules for deciding which type of pre-processing to apply, and often the only approach is trial and error [42]. However, SD pre-processing was applied to remove background interference, distinguish superimposed peaks, and enhance the spectral resolution and sensitivity [22]. From Figure 5a, the spectra of the GI and non-GI classes were similar. A small difference in the highest peak was observed at 5222 cm−1, which was related to a combination of vibrations due to the O–H str. +2 × C–H str. of starch [41]. The peak at 7089 cm−1 corresponds to the O–H str. first overtone of ROH, and the small peak at 4397 cm−1 might be a shifting peak of 4405; it corresponds to the O–H/C–H of cellulose [41]. Figure 5b shows the average raw spectral data and pre-processed data by SD of the three regions of the ICS-form. The dominant peaks were the same as those in Figure 5a. The interesting observation is the baseline offset. The absorption peaks of water at 6129 and 5076 cm−1 clearly showed different levels. The NE region showed the highest absorption, followed by the E-region, and the S-region showed the lowest absorption. Differences in the absorption peak of water between classes might affect the model classification performance. The indicated variables of each class were used to study their contributions to the classification model. The differences in the NIR spectra were mainly related to the chemical composition differences.
However, many factors influence the differences in durians from different geographic origins, including the effects of season, climate, soil minerals, irrigation, fertilizer, and planting method. Regarding the use of fertilizer in the planting method, the effect depends on the type, pH, and water content of the soil. Normally, the farmer will adjust the formula of the fertilizer by increasing the amount of potassium (K) before harvesting, which results in a higher starch content [43]. This might affect the chemical composition of the durian pulp and rind. This was confirmed by the study of Youryon et al. (2022), which observed aril softening and the conversion of starch to sugar one or two weeks before fruit maturity (the maturity date of durian is 120 DAA [44]. The season and climate are related to the rainfall, temperature, %humidity, etc., which have significant effects on the taste of durian pulp [45] and might also affect the constituents of the rind or peel. Similarly, a study of starch in cassava in Columbia indicated that increasing rainfall in different areas affected the content of starch. Additionally, light affects the synthesis and accumulation of carbohydrates and nitrogen metabolism in plants, soil affects the absorption of mineral elements in plants, and climate affects the growth cycle of plants, resulting in inconsistencies in fruit maturity [46]. Other factors are sunshine hours, poor sunlight, and low temperatures during fruit growth, resulting in a slow accumulation of starch in the aril. This change might be a process that involves physicochemical changes of the durian rind. Durian fruits from trees were shaded by 50% for one week before uneven ripening and harvesting [1]. A study of durians in postharvest biology and technology of tropical and subtropical fruits indicated that durian fruits harvested during a prolonged period of cloudy skies may have less nutrient accumulation in the aril and have poor ripening characteristics [47]. The inputs of photosynthesis of plants are carbon dioxide, water, energy from the sun, chlorophyll, and leaves, which performed this process in which the outputs were sugar and water, which were used for plant growth in the stems, stalks, twigs, and leaves. The accumulation of nutrients influences the starch content. These inputs for photosynthesis in different provinces or regions influenced the chemical composition of the rind, stem, and/or pulp of durian fruits. They all led to changes in the types and contents of the constituents in durian fruits of different geographic origins.
Many studies on agricultural products have indicated a correlation between peel composition and geographical origin. A study of the effect of geographical location on Mexican lime (Citrus aurantifolia) peel components indicated that the relative concentration of compounds was different according to the type of location [48]. A study of polyphenolic compositions and antioxidant activities by Kam et al. (2013) identified useful parameters for differentiating the methanolic extracts of pomegranate peel from China, the USA, and Australia. A correlative study provided a valuable method for differentiating the origins of pomegranate peel from different countries [46]. In addition, “Namdokmai” mango (Mangifera indica) trees grown in Pakchong, Nakhon Ratchasima Province, and Kamphaengsaen, Nakhon Pathom Province, were studied by Zhu et al. (1994). The study indicated that even the same number of days after anthesis, origin, and harvesting time affected the percentage of starch in mangoes [49]. In the same way, Sangwanangkul et al. (1990) studied the physical and chemical compositions of durians (cv. Monthong) harvested in Chanthaburi and Chumphon Province. This result indicated that durian fruit length in the horizontal direction, diameter, weight of fresh fruit, and soluble solid, β-carotene, and fat contents differed between these two provinces, especially in the last three months before commercial consumption. The amount of chemicals in durian peel or stem may be directly related to the geographical origin.

3.2. Comparison of Model Performance

Spectral data for all forms (original or SMOTE), including the I-form, C-form, S-form, IC-form, IS-form, CS-form, and ICS-form, were combined with all pre-processing methods, and models were created using 24 algorithms in the classification learner app of MATLAB. Table 3 shows the accuracy values of the effective model for the geographical origin classification of durians by GI and R. According to the results of the study, based on GI overall, SMOTE could improve accuracy in each form. Accuracy ranged from 76.50% to 95.60%. The highest accuracies were 95.60%, 95.00%, and 94.70% for the cross-validation, training set, and testing set of the SMOTE-I form with the SNV pre-processing method, respectively. Based on R, the accuracy range of cross-validation was 56.10–88.00%. Pre-processing with the SNV applied in the SMOTE-ICS-form provided the highest accuracy at 88.00% for cross-validation and 86.50% and 80.00% for the training set and testing set, respectively. It was found that the classification based on GI showed better prediction than that based on R.
The effective model was compared between the full wavenumber range (original or applied SMOTE) and the wavenumbers selected by the GA with a similar algorithm. The selected wavelength by GA was chosen from 1154 wavenumbers. Overall, the developed models using the full wavenumber range (1154 variables) achieved lower accuracies, indicating that the 100 variables selected by GA covered most of the explained variance and that the unselected variables were not related to the GI or R classification. The confusion matrix and classification performance of the best effective models are presented in Table 4. Precision, sensitivity, specificity, and F1 score were shown. Precision is the ratio of the number of samples correctly classified as model samples. Precision will only be considered for positive sample group. Sensitivity is concerned with correctly identifying positive cases, while specificity focuses on correctly identifying negative cases. The F1 score provides a single value that summarizes the trade-off between precision and sensitivity, and it can help mitigate these risks by striking a balance between identifying items with a certain origin and avoiding false identifications [34]. The most effective model of geographical origin classification of durian in terms of GI used classifier-type narrow neural network algorithm with a SMOTE-I data set with SNV pre-processing. The results of the test sets of GI and non-GI show a high percentage of precision, sensitivity, and specificity and a f1 score that is more than 93%. It indicated reliability from every point of view. The case of R classification used an ensemble classifier-type subspace discriminant algorithm with a SMOTE-ICS data set with SNV pre-processing. The highest percentage of precision, sensitivity, and specificity is observed in the E (E-region) class. Its model is acceptable to continue updating. In contrast, the models in the NE (NE-region) class and S (S-region) class were interchanged prediction i.e., NE was more or less predicted to be S and vice versa. The highest number of negative groups of NE-class caused the lowest specificity. This result, as expected, the spectra, which were not as different as they should be, could cause a low percentage of prediction performance. (accuracy, precision, sensitivity, specificity, and F1 score). The similarity in spectral characteristics across various regions in our case, BE and S, depended upon numerous influencing factors (geology, altitude, rainfall, weather (temperature), distance from the sea, etc.), which will be analyzed in a future study. Neural networks were applied to classify groups, as in the study of Kim et al. (1999), where they were used to determine the geographic origins of potatoes [50]. The samples were separated into two geographic regions (defined as Idaho and non-Idaho) with a high percentage of correct classifications and an accuracy value of nearly 100.00. In a study by Khalafyan et al. (2019) [12], the wine variety and geographical origin of white wines were successfully determined using a neural network algorithm. The accuracy of the classification into wine variety groups ranged from 83.00 to 100.00 on all sets of data (training and test sets). Likewise, the most effective model of geographical origin classification of durian in terms of R used ensemble classifier-type subspace discriminant algorithm with SMOTE-ICS data set with SNV pre-processing. The accuracy was 88.00% and 86.50% in the cross-validation set and the training set, respectively. There were a significant number of false classifications observed across all classes. It affected the classification of geographical regions and resulted in an accuracy of 80.00%. For the testing set, the sensitivity measure was found to be merely 64.19%. The primary contributing factor was misclassification, specifically within the NE class. This result indicated that the effective model could be improved by increasing the number of samples in the specific regions.
The best effective classification modeling parameters defined for each model are listed in Table 5. However, the NIR spectra of samples may not reveal dominant differences due to different origins, but with mathematical manipulation, the latent interference was eliminated, and the specific geographical origin featured variables were appealed. The selected absorption wavenumber was proven to improve the classification accuracy.

4. Conclusions

An effective model for classifying GI (Prachuap Khiri Khan) from other locations was developed using SMOTE-I-spectra, SNV pre-processing, and a narrow neural network architecture. The model achieved an accuracy of 95.60% and 95.00% in the cross-validation and training sets, respectively, while achieving an accuracy of 94.70% on the test set. Likewise, a geographical origin classification model to classify different regions (R) was developed from SMOTE-ICS-form spectra with SNV, and an ensemble classifier-type subspace discriminant showed the best result, with 88.00 accuracy by cross-validation, 86.50% by training set, and 64.90 accuracy by testing set obtained, indicating the classification model of East (E-region), Northeast (NE-region), and South (S-region) regions could be applied for rough screening [51]. The sensitivity in each geographic region included 93.24%, 64.19%, and 82.43%, respectively. The low performance of the model predicted using an unknown set was due to too few samples, indicating that more samples in an unknown set should be more balanced in all graphical origin groups. NIR diffuse reflectance spectroscopy coupled with chemometrics showed the possible advantages of fast analytical speed and nondestructive measurement for identifying and classifying durians by geographical identification for GI but not for different geographic regions in Thailand in this study. Therefore, the NIR technique could be updated by increasing the number of samples in specific regions, and a more effective wavenumber selection method should be explored to obtain an effective protocol to guarantee the geographic origin of durians in Thailand, which may be applicable to durian plantations in different regions of the world. The geographical origin classification in this case, GI of Prachuap Khiri Khan, can confirm the customer buying intention of unique characteristics. Therefore, it can be concluded that this technique can verify whether the GI label attached to a product is genuine. In the same way, the geographic origin should be reliably identified; otherwise, the false identification of a fruit’s geographical origin could negatively impact the image of farmers.

Author Contributions

Conceptualization, validation, K.C., W.S., J.P. and P.S.; formal analysis, K.C.; investigation, K.C.; writing—original draft preparation, K.C. and P.S..; writing—review and editing, W.S., J.P. and P.S.; visualization, W.S., J.P. and P.S.; supervision, W.S., J.P. and P.S.; funding acquisition, P.S. All authors have read and agreed to the published version of the manuscript.

Funding

This research project is supported by the National Research Council of Thailand (NRCT): NRCT5-RGJ63021-168.

Institutional Review Board Statement

Not applicable for this study not involving humans or animals.

Informed Consent Statement

Not applicable for this study not involving humans.

Data Availability Statement

Data are contained within the article.

Acknowledgments

The authors express their gratitude to the Royal Golden Jubilee, Ph.D. Program of the National Research Council of Thailand (grant number: NRCT5-RGJ63021-168) for funding and the Near-Infrared Spectroscopy Research Center for Agricultural Product and Food (www.nirsresearch.com (accessed on 25 October 2023)), Department of Agricultural Engineering, School of Engineering at King Mongkut’s Institute of Technology Ladkrabang, Thailand, for providing instruments and space for the experiment. They would also like to thank the Department of Research and Graduate studies, Khon Kaen University, Thailand for their research support.

Conflicts of Interest

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

References

  1. Siriphanich, J. Durian (Durio zibethinus Merr.). In Postharvest Biology and Technology of Tropical and Subtropical Fruits; Elsevier: Amsterdam, The Netherlands, 2011; pp. 80–116e. [Google Scholar]
  2. Win, H. Analysis of Tropical Fruits in Thailand; FFTC Agricultural Policy Article; Food and Fertilizer Technology Center for the Asia Pacific Region: Taipei, Taiwan, 2017. [Google Scholar]
  3. Airriess, C. Constructing durian terroir and geographical indications in Penang, Malaysia. Singap. J. Trop. Geogr. 2020, 41, 6–22. [Google Scholar] [CrossRef]
  4. Zhou, X.; Wu, H.; Pan, J.; Chen, H.; Jin, B.; Yan, Z.; Xie, L.; Rogers, K.M. Geographical traceability of south-east Asian durian: A chemometric study using stable isotopes and elemental compositions. J. Food Compos. Anal. 2021, 101, 103940. [Google Scholar] [CrossRef]
  5. Pinsorn, P.; Oikawa, A.; Watanabe, M.; Sasaki, R.; Ngamchuachit, P.; Hoefgen, R.; Saito, K.; Sirikantaramas, S. Metabolic variation in the pulps of two durian cultivars: Unraveling the metabolites that contribute to the flavor. Food Chem. 2018, 268, 118–125. [Google Scholar] [CrossRef] [PubMed]
  6. Tieman, D.; Taylor, M.; Schauer, N.; Fernie, A.R.; Hanson, A.D.; Klee, H.J. Tomato aromatic amino acid decarboxylases participate in synthesis of the flavor volatiles 2-phenylethanol and 2-phenylacetaldehyde. Proc. Natl. Acad. Sci. USA 2006, 103, 8287–8292. [Google Scholar] [CrossRef] [PubMed]
  7. Arvanitoyannis, I.S.; Mavromatis, A.G.; Vaitsi, O.; Korkovelos, A.; Golia, E. Effect of genotype and geographical origin on potato properties (physical and sensory) for authenticity purposes. J. Agric. Sci. 2012, 4, 63. [Google Scholar] [CrossRef]
  8. Yin, X.; Xu, X.; Zhang, Q.; Xu, J. Rapid determination of the geographical origin of Chinese red peppers (Zanthoxylum Bungeanum Maxim.) based on sensory characteristics and chemometric techniques. Molecules 2018, 23, 1001. [Google Scholar] [CrossRef]
  9. He, W.; Zhou, J.; Cheng, H.; Wang, L.; Wei, K.; Wang, W.; Li, X. Validation of origins of tea samples using partial least squares analysis and Euclidean distance method with near-infrared spectroscopy data. Spectrochim. Acta Part A Mol. Biomol. Spectrosc. 2012, 86, 399–404. [Google Scholar] [CrossRef]
  10. Ellouze, I.; Debbabi, H.; Belkacem, A.; Rekik, B. Variation in physicochemical and sensory quality of sour orange (Citrus aurantium L.) marmalade from the Cap Bon region in North-East Tunisia. Fruits 2011, 66, 315–325. [Google Scholar] [CrossRef]
  11. Feng, L.; Wu, B.; Zhu, S.; He, Y.; Zhang, C. Application of visible/infrared spectroscopy and hyperspectral imaging with machine learning techniques for identifying food varieties and geographical origins. Front. Nutr. 2021, 8, 680357. [Google Scholar] [CrossRef]
  12. Giraudo, A.; Grassi, S.; Savorani, F.; Gavoci, G.; Casiraghi, E.; Geobaldo, F. Determination of the geographical origin of green coffee beans using NIR spectroscopy and multivariate data analysis. Food Control 2019, 99, 137–145. [Google Scholar] [CrossRef]
  13. Hu, X.-Z.; Liu, S.-Q.; Li, X.-H.; Wang, C.-X.; Ni, X.-L.; Liu, X.; Wang, Y.; Liu, Y.; Xu, C.-H. Geographical origin traceability of Cabernet Sauvignon wines based on Infrared fingerprint technology combined with chemometrics. Sci. Rep. 2019, 9, 8256. [Google Scholar] [CrossRef]
  14. Fu, X.; Ying, Y.; Zhou, Y.; Xu, H. Application of probabilistic neural networks in qualitative analysis of near infrared spectra: Determination of producing area and variety of loquats. Anal. Chim. Acta 2007, 598, 27–33. [Google Scholar] [CrossRef]
  15. Luo, W.; Huan, S.; Fu, H.; Wen, G.; Cheng, H.; Zhou, J.; Wu, H.; Shen, G.; Yu, R. Preliminary study on the application of near infrared spectroscopy and pattern recognition methods to classify different types of apple samples. Food Chem. 2011, 128, 555–561. [Google Scholar] [CrossRef]
  16. Li, B.; Wei, Y.; Duan, H.; Xi, L.; Wu, X. Discrimination of the geographical origin of Codonopsis pilosula using near infrared diffuse reflection spectroscopy coupled with random forests and k-nearest neighbor methods. Vib. Spectrosc. 2012, 62, 17–22. [Google Scholar] [CrossRef]
  17. Lai, Y.; Ni, Y.; Kokot, S. Discrimination of Rhizoma Corydalis from two sources by near-infrared spectroscopy supported by the wavelet transform and least-squares support vector machine methods. Vib. Spectrosc. 2011, 56, 154–160. [Google Scholar] [CrossRef]
  18. Smith, J.A.; Johnson, M.B. The Impact of Dietary Choices on Health. Food J. 2023, 12, 45–58. Available online: https://www.example.com/pdffile.pdf (accessed on 11 September 2023).
  19. Somton, W.; Pathaveerat, S.; Terdwongworakul, A. Application of near infrared spectroscopy for indirect evaluation of “Monthong” durian maturity. Int. J. Food Prop. 2015, 18, 1155–1168. [Google Scholar] [CrossRef]
  20. Ditcharoen, S.; Sirisomboon, P.; Saengprachatanarug, K.; Phuphaphud, A.; Rittiron, R.; Terdwongworakul, A.; Malai, C.; Saenphon, C.; Panduangnate, L.; Posom, J. Improving the non-destructive maturity classification model for durian fruit using near-infrared spectroscopy. Artif. Intell. Agric. 2023, 7, 35–43. [Google Scholar] [CrossRef]
  21. Timkhum, P.; Terdwongworakul, A. Non-destructive classification of durian maturity of ‘Monthong’cultivar by visible spectroscopy of the husk. Thai Soc. Agric. Eng. J. 2013, 19, 1–6. [Google Scholar]
  22. Wang, H.; Peng, J.; Xie, C.; Bao, Y.; He, Y. Fruit quality evaluation using spectroscopy technology: A review. Sensors 2015, 15, 11889–11927. [Google Scholar] [CrossRef]
  23. Conzen, J.P. Multivariate Calibration, 2nd ed.; Bruker Optik GmbH: Ettlingen, Germany, 2006. [Google Scholar]
  24. Wang, X.; Zhou, G. Study on pretreatment algorithm of near infrared spectroscopy. In Computer and Computing Technologies, Proceedings of the Agriculture IV: 4th IFIP TC 12 Conference, CCTA 2010, Nanchang, China, 22–25 October 2010; Selected Papers, Part II 4; Springer: Berlin/Heidelberg, Germany, 2011. [Google Scholar]
  25. Pomares, A.; Martínez, J.L.; Mandow, A.; Martínez, M.A.; Morán, M.; Morales, J. Ground extraction from 3D lidar point clouds with the classification learner app. In Proceedings of the 2018 26th Mediterranean Conference on Control and Automation (MED), Zadar, Croatia, 19–22 June 2018; IEEE: Piscataway, NJ, USA, 2018. [Google Scholar]
  26. Arndt, M.; Drees, A.; Ahlers, C.; Fischer, M. Determination of the geographical origin of walnuts (Juglans regia L.) using near-infrared spectroscopy and chemometrics. Foods 2020, 9, 1860. [Google Scholar] [CrossRef]
  27. MATLAB. MathWorks; MATLAB: Natick, MA, USA, 2022; p. license no: 40846673. [Google Scholar]
  28. Morais, C.L.; Santos, M.C.D.; Lima, K.M.G.; Martin, F.L. Improving data splitting for classification applications in spectrochemical analyses employing a random-mutation Kennard-Stone algorithm approach. Bioinformatics 2019, 35, 5257–5263. [Google Scholar] [CrossRef]
  29. Chen, B.; Xia, S.; Chen, Z.; Wang, B.; Wang, G. RSMOTE: A self-adaptive robust SMOTE for imbalanced problems with label noise. Inf. Sci. 2021, 553, 397–428. [Google Scholar] [CrossRef]
  30. Amirruddin, A.D.; Muharam, F.M.; Tan, N.P.; Ismail, M.F. Synthetic Minority Over-sampling TEchnique (SMOTE) and Logistic Model Tree (LMT)-Adaptive Boosting algorithms for classifying imbalanced datasets of nutrient and chlorophyll sufficiency levels of oil palm (Elaeis guineensis) using spectroradiometers and unmanned aerial vehicles. Comput. Electron. Agric. 2022, 193, 106646. [Google Scholar]
  31. Gholizadeh, A.; Coblinski, J.A.; Saberioon, M.; Ben-Dor, E.; Drábek, O.; Demattê, J.A.M.; Borůvka, L.; Němeček, K.; Chabrillat, S.; Dajčl, J. vis–NIR and XRF data fusion and feature selection to estimate potentially toxic elements in soil. Sensors 2021, 21, 2386. [Google Scholar] [CrossRef]
  32. Robu, R.; Holban, S. A genetic algorithm for classification, in International Conference on Computers and Computing. In Proceedings of the ICCC’11. 2011, Researches in Computers and Computing, Lanzarote, Spain, 27–29 May 2011. [Google Scholar]
  33. Ergasheva, S.; Ivanov, V.; Khomyakov, I.; Kruglov, A.; Strugar, D.; Succi, G. InnoMetrics dashboard: The design, and implementation of the adaptable dashboard for energy-efficient applications using open source tools. In Proceedings of the Open Source Systems: 16th IFIP WG 2.13 International Conference, OSS 2020, Innopolis, Russia, 12–14 May 2020; Proceedings 16. Springer: Berlin/Heidelberg, Germany, 2020. [Google Scholar]
  34. Goutte, C.; Gaussier, E. A Probabilistic Interpretation of Precision, Recall and F-Score, with Implication for Evaluation. In Proceedings of the European Conference on Information Retrieval, Santiago de Compostela, Spain, 21–23 March 2005; Springer: Berlin/Heidelberg, Germany. [Google Scholar]
  35. Veropoulos, K.; Campbell, C.; Cristianini, N. Controlling the sensitivity of support vector machines. In Proceedings of the International Joint Conference on AI, Stockholm, Sweden, 31 July–6 August 1999. [Google Scholar]
  36. Workman, J.J.; Weyer, L. Practical Guide to Interpretive Near-Infrared Spectroscopy, 2nd ed.; Taylor & Francis Group, LLC.: Abingdon, UK, 2008; Chapter 10. [Google Scholar]
  37. Sharma, S.; Sumesh, K.; Sirisomboon, P. Rapid ripening stage classification and dry matter prediction of durian pulp using a pushbroom near infrared hyperspectral imaging system. Measurement 2022, 189, 110464. [Google Scholar] [CrossRef]
  38. Onsawai, P.; Phetpan, K.; Khurnpoon, L.; Sirisomboon, P. Evaluation of physiological properties and texture traits of durian pulp using near-infrared spectra of the pulp and intact fruit. Measurement 2021, 174, 108684. [Google Scholar] [CrossRef]
  39. Onsawai, P.; Sirisomboon, P. Determination of dry matter and soluble solids of durian pulp using diffuse reflectance near infrared spectroscopy. J. Near Infrared Spectrosc. 2015, 23, 167–179. [Google Scholar] [CrossRef]
  40. Chattavongsin, R.; Siriphanich, J. A Correlation between Some Chemical Compositions of the Fruit Stem and the Maturity of ‘Monthong’ Durian Fruit. Nat. Sci. Suppl. 1990, 24, 54–58. [Google Scholar]
  41. Osborne, B.G.; Fearn, T.; Hindle, P.H. Practical NIR Spectroscopy with Applications in Food and Beverage Analysis, 2nd ed.; Longman: London, UK, 1993. [Google Scholar]
  42. De Maesschalck, R.; Estienne, F.; Candolfi, A.; Centner, V. The development of calibration models for spectroscopic data using principal component regression. Internet J. Chem. 1999, 2, 1. [Google Scholar]
  43. Na Nakorn, S.; Chalumpak, C. Effect of manure and chemical fertilizer on vegetative growth of off-season durian production. J. Agric. Technol. 2015, 11, 2523–2529. [Google Scholar]
  44. Youryon, P.; Supapvanich, S. Quality Comparison of Naturally and Artificially Ripened ‘Monthong’Durian (Durio zibethinus) Fruits Harvested at Various Maturity Stages. Curr. Appl. Sci. Technol. 2022, 22. [Google Scholar] [CrossRef]
  45. Thongkaew, S.; Jatuporn, C.; Sukprasert, P.; Rueangrit, P.; Tongchure, S. Factors affecting the durian production of farmers in the eastern region of Thailand. Int. J. Agric. Ext. 2021, 9, 285–293. [Google Scholar] [CrossRef]
  46. Zhu, L.; Chang, H.; Zhou, Q.; Wang, Z. Improving the classification accuracy for near-infrared spectroscopy of Chinese Salvia miltiorrhiza using local variable selection. J. Anal. Methods Chem. 2018, 2018, 1–9. [Google Scholar] [CrossRef] [PubMed]
  47. Yahia, E.M. Postharvest Biology and Technology of Tropical and Subtropical Fruits, 2nd ed.; Woodhead: Glossop, UK, 2011. [Google Scholar]
  48. Darjazi, B.B. The effect of geographical location on mexican lime (Citrus aurantifolia) peel components. Int. J. Agric. Innov. Res. 2014, 3, 1473–2319. [Google Scholar]
  49. Chettakorn, C. Relationship between heat unit accumulation and maturity of mango (Mangifera indica L.) cv. Namdokmai; Kasetsart University: Bangkok, Thailand, 1994. [Google Scholar]
  50. Anderson, K.A.; Magnuson, B.A.; Tschirgi, M.L.; Smith, B. Determining the geographic origin of potatoes with trace metal analysis using statistical and neural network classifiers. J. Agric. Food Chem. 1999, 47, 1568–1575. [Google Scholar] [CrossRef] [PubMed]
  51. Williams, P.; Manley, M.; Antoniszyn, J. Near Infrared Technology: Getting the Best out of Light; African Sun Media: Stellenbosch, South Africa, 2019. [Google Scholar]
Figure 1. The geographical origin of collected durian sample.
Figure 1. The geographical origin of collected durian sample.
Foods 12 03844 g001
Figure 2. Scanning configuration of FT-NIR spectrometer using 3 forms: intact peel (with thorns) (I-form), cut-thorn peel (C-from), and stem (S-form); (a) position views of scanning (b).
Figure 2. Scanning configuration of FT-NIR spectrometer using 3 forms: intact peel (with thorns) (I-form), cut-thorn peel (C-from), and stem (S-form); (a) position views of scanning (b).
Foods 12 03844 g002
Figure 3. Workflow of the study.
Figure 3. Workflow of the study.
Foods 12 03844 g003
Figure 4. Average raw near-infrared (NIR) spectra of durian fruits in 3 forms: intact peel (with thorns) (I-form), cut-thorns peel (C-form), and stem (S-from).
Figure 4. Average raw near-infrared (NIR) spectra of durian fruits in 3 forms: intact peel (with thorns) (I-form), cut-thorns peel (C-form), and stem (S-from).
Foods 12 03844 g004
Figure 5. Average raw (Raw) and Savitzky-goley second derivative (SD) pre-processing spectral data of intact peel (with thorns) (I-form) (a) Average raw (Raw), Baseline offset (Baseline), and SD pre-processing spectral data of a combination of intact peel (with thorns), cut-thorns peels, and stems (ICS-form) (b).
Figure 5. Average raw (Raw) and Savitzky-goley second derivative (SD) pre-processing spectral data of intact peel (with thorns) (I-form) (a) Average raw (Raw), Baseline offset (Baseline), and SD pre-processing spectral data of a combination of intact peel (with thorns), cut-thorns peels, and stems (ICS-form) (b).
Foods 12 03844 g005
Table 1. Location of durian samples.
Table 1. Location of durian samples.
Harvesting TimeHarvesting AreaLatitude
(°)
Longitude
(°)
Number of SamplesGeographical Origin
ProvinceAbbreviationsR *GI *
May 2019Chanthaburi Chan13.566599100.58163415East Non-GI
May 2019PrajinburiPraJ10.986056102.48818510East Non-GI
May 2019RayongRa12.999152101.21668715East Non-GI
May 2019Trat T13.562512100.26060515East Non-GI
June 2019 and June 2020Prachuap khiri khan PraCh10.986058102.48818625SouthGI
August 2019Chumphon Chum12.116060100.3465395SouthNon-GI
July 2020Surat thaniSu10.986058102.48818610SouthNon-GI
June 2019 and June 2020Sri sa katSri15.024017103.43838925North EastNon-GI
* R: region, GI: geographical identification.
Table 2. The absorption bands of durian samples in three forms in common: intact peel (with thorns) (I-form), cut-thorns peel (C-form), and stem (S-form).
Table 2. The absorption bands of durian samples in three forms in common: intact peel (with thorns) (I-form), cut-thorns peel (C-form), and stem (S-form).
Wavenumber (cm−1)Wavelength (nm)Bond VibrationPossible Compound ReferenceRef.
SampleReferred from Ref.
512219521940O–H str.*+ O–H def.*H2O[36]
563117751780C–H str.* first overtoneCellulose[36]
682714651450O–H str.* first overtoneStarch, H2O
850811751190of heavy water, formally
called deuterium oxide
(2H2O or H2O)
H2O[39]
10,314970970O–H str.* first overtoneH2O[36]
* str.: stretching, def.: deformation, ref.: reference.
Table 3. Percent of accuracy (% accuracy) of effective model of geographical origin classification of durian compared using 24 algorithms in classification learner app of the effective models.
Table 3. Percent of accuracy (% accuracy) of effective model of geographical origin classification of durian compared using 24 algorithms in classification learner app of the effective models.
Geographical OriginFormNumber of
Spectra
Pre-Processing,
Selected Wavenumbers
% AccuracyClassification Learner
Algorithm
Data set
CV */Train */Test *CV *Train *Test *
GI *I *419/419/140SNV90.289.389.3Neural Network
SNV+GA85.788.392.1[Narrow Neural Network]
SMOTE-I *684/684/228SNV95.695.094.7Neural Network
SNV+GA94.394.693.6[Narrow Neural Network]
C *414/414/139SNV85.582.991.4Neural Network
SNV+GA86.283.889.9[Wide Neural Network]
SMOTE-C *674/674/226Baseline88.989.576.5Neural Network
Baseline+GA87.285.679.6Bilayered Neural Network
S *193/193/64SNV88.191.284.4Discriminant Analysis
SNV+GA87.683.481.2[Linear Discriminant]
SMOTE-S *314/314/104MSC93.393.395.2Neural Network
MSC+GA91.794.990.4[Medium Neural Network]
IC *883/883/279SNV86.085.890.7Neural Network
SNV+GA86.884.391.0[Medium Neural Network]
SMOTE-IC *1358/1358/454MeanNor94.694.392.3Neural Network
MeanNor+GA91.591.088.1[Bilayered Neural Network]
IS *611/611/205SNV88.290.391.2SVM *
SNV+GA89.487.491.2[Quadratic Discriminant]
SMOTE-IS *996/996/334MSC88.290.391.2Neural Network
MSC+GA94.091.489.5[Trilayered Neural Network]
CS *608/608/202Raw78.288.084.7SVM *
Raw+GA85.485.983.7[Cubic SVM *]
SMOTE-CS *990/990/328Baseline93.992.282.9Neural Network
Baseline+GA91.890.877.7[Trilayered Neural Network]
ICS *1026/1026/343MSC87.586.592.1SVM *
MSC+GA82.883.289.8[Cubic SVM *]
SMOTE-ICS *1672/1672/558MSC93.993.290.3SVM
MSC+GA92.291.587.6[Cubic SVM *]
R*I *419/419/140Raw64.064.274.3Neural Network
Raw+GA*61.359.971.4[Wide Neural Network]
SMOTE-I *549/549/183SNV*77.480.580.9SVM*
SNV*+GA*80.178.978.1[Quadratic Discriminant]
C *419/419/140MeanNor*76.676.191.4Neural Network
MeanNor*+GA*71.572.285.6[Bilayered Neural Network]
SMOTE-C *534/534/180MeanNor*85.684.592.8Neural Network
MeanNor+GA*80.582.483.9[Medium Neural Network]
S *193/193/64Raw63.261.187.5Ensemble classifiers
Raw+GA*61.160.679.7[Subspace Discriminant]
SMOTE-S *246/246/84SD*56.157.388.1SVM*
SD*+GA*60.259.381.0[Quadratic Discriminant]
IC *833/833/279MeanNor*76.778.281.0Neural Network
MeanNor*+GA*76.577.978.5[Narrow Neural Network]
SMOTE-IC *1083/1083/363MeanNor*87.486.679.3Neural Network
MeanNor+GA*80.780.377.7[Narrow Neural Network]
IS *611/611/205SNV*73.372.875.6Neural Network
SNV+GA*65.064.671.7[Narrow Neural Network]
SMOTE-IS *795/795/267SNV*79.780.684.3SVM*
SNV*+GA*77.977.480.9[Cubic SVM*]
CS *608/608/202MeanNor*81.178.988.6Neural Network
MeanNor*+GA*75.378.586.1[Narrow Neural Network]
SMOTE-CS *786/786/261MeanNor*86.685.590.4Neural Network
MeanNor*+GA*87.486.082.4[Narrow Neural Network]
ICS *1026/1026/343Baseline*68.167.971.1Neural Network
Baseline*+GA*65.263.767.9[Narrow Neural Network]
SMOTE-ICS *1332/1332/444SNV*88.086.580.0Ensemble classifiers
SNV*+GA*64.565.357.2[Subspace Discriminant]
* GI: geographical identification, 3R: Region, CV: Cross validation set (using five k-folds), Train: Training set, Test: Testing set, GA: genetic algorithm, SMOTE: Synthetic Minority Over-sampling Technique, I: intact peel (with thorns) (I-form), C: cut-thorns peel (C-form), S: stem (S-form), I+C: IC-form, I+S: IS-form, C+S: CS-form, I+C+S: ICS-form, Raw: no pre-processing, SNV: Standard normal variate, Baseline: Baseline offset, MSC: Multiplicative scattering correction, SD: Savitzky-Goley second derivative, MeanNor: Mean-normalization.
Table 4. The confusion matrix and classification performance of the best effective models of geographical origin classification of durian.
Table 4. The confusion matrix and classification performance of the best effective models of geographical origin classification of durian.
Geographical OriginFormPre-ProcessingClassification Learner AlgorithmNumber of SpectraData Set%ACCPrediction Class TP *TN *FN *FP *%Precision%Sensitivity%SpecifityF1 Score
ClassGI *Non-GI *
GI *SMOTE-I *SNV *Neural Network 684cv *95.60GI*3357 33531972393.5897.9593.2795.71
[Narrow Neural Network] Non*2331931933523797.8593.2797.9595.51
684train *95.00GI *333933331792593.0297.3792.6995.14
Non *2531731733325997.2492.6997.3794.91
228test *94.70GI *10771071097595.5493.8695.6194.69
Non51091091075793.9795.6193.8694.78
ClassE *NE *S *
R *SMOTE-ICS *SNV *Ensemble classifiers1332cv *88.00E*3802539380792642593.8385.5996.9489.52
[Subspace Discriminant] NE*342912429743158483.6396.6289.8489.66
S*2259363363809815187.6881.7694.0784.62
1332train *86.50E *3703341370782743292.0483.3396.0787.47
NE *142518425727198982.6895.7289.0988.73
S *3156357357795875985.8280.4193.0983.02
444test *80.00E *13846138217102087.3493.2491.5690.20
NE *16953795260532678.5164.1990.9170.63
S *422122122233264373.9482.4384.4277.96
* GI: Geographical identification, R: Region, I: Intact peel (with thorns), ICS: intact peel (with thorns) (I-form)+cut-thorns peel (C-form)+ stem (S-form), SNV: Standard normal variate, CV: Cross validation set (using five k-folds), Train: Training set, Test: Testing set, %ACC: %Accuracy SMOTE: Synthetic Minority Over-sampling Technique, GI: Geographical identification class, Non-GI: Not geographical identification class, TP: true positive, TN: true negative, FP: false positive, FN: false negative.
Table 5. Modelling parameters.
Table 5. Modelling parameters.
MethodParameter
SMOTENumber of nearest neighbors = 5
Neural Network classifiersPreset: Narrow Neural Network
Number of fully connected layers: 1
First layer size: 10
Activation: ReLU *
Iteration limit: 1000
Regularization strength (Lamnda): 0
Standardize data: Yes
Ensemble classifiersPreset: Subspace Discriminant
Ensemble method: Subspace
Learner type: Discriminant
Number of learners: 30
Subspace dimension: 577
* ReLU: activation operation performs a nonlinear threshold operation, where any input value less than zero is set to zero.
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

Chanachot, K.; Saechua, W.; Posom, J.; Sirisomboon, P. A Geographical Origin Classification of Durian (cv. Monthong) Using Near-Infrared Diffuse Reflectance Spectroscopy. Foods 2023, 12, 3844. https://doi.org/10.3390/foods12203844

AMA Style

Chanachot K, Saechua W, Posom J, Sirisomboon P. A Geographical Origin Classification of Durian (cv. Monthong) Using Near-Infrared Diffuse Reflectance Spectroscopy. Foods. 2023; 12(20):3844. https://doi.org/10.3390/foods12203844

Chicago/Turabian Style

Chanachot, Kingdow, Wanphut Saechua, Jetsada Posom, and Panmanas Sirisomboon. 2023. "A Geographical Origin Classification of Durian (cv. Monthong) Using Near-Infrared Diffuse Reflectance Spectroscopy" Foods 12, no. 20: 3844. https://doi.org/10.3390/foods12203844

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