ABSTRACT
The aim of this study was to evaluate and compare the performance of multivariate classification algorithms, specifically Partial Least Squares Discriminant Analysis (PLS-DA) and machine learning algorithms, in the classification of Monthong durian pulp based on its dry matter content (DMC) and soluble solid content (SSC), using the inline acquisition of near-infrared (NIR) spectra. A total of 415 durian pulp samples were collected and analyzed. Raw spectra were preprocessed using five different combinations of spectral preprocessing techniques: Moving Average with Standard Normal Variate (MA+SNV), Savitzky-Golay Smoothing with Standard Normal Variate (SG+SNV), Mean Normalization (SG+MN), Baseline Correction (SG+BC), and Multiplicative Scatter Correction (SG+MSC). The results revealed that the SG+SNV preprocessing technique produced the best performance with both the PLS-DA and machine learning algorithms. The optimized wide neural network algorithm of machine learning achieved the highest overall classification accuracy of 85.3%, outperforming the PLS-DA model, with overall classification accuracy of 81.4%. Additionally, evaluation metrics such as recall, precision, specificity, F1-score, AUC ROC, and kappa were calculated and compared between the two models. The findings of this study demonstrate the potential of machine learning algorithms to provide similar or better performance compared to PLS-DA in classifying Monthong durian pulp based on DMC and SSC using NIR spectroscopy, and they can be applied in the quality control and management of durian pulp production and storage.
Subject(s)
Bombacaceae , Spectroscopy, Near-Infrared/methods , Algorithms , Least-Squares Analysis , Neural Networks, Computer , Support Vector MachineABSTRACT
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.