ORIGINAL RESEARCH article

Front. Nutr., 17 June 2021

Sec. Nutrition and Food Science Technology

Volume 8 - 2021 | https://doi.org/10.3389/fnut.2021.680627

Determination of the Geographical Origin of Coffee Beans Using Terahertz Spectroscopy Combined With Machine Learning Methods

  • 1. State Key Laboratory of Precision Measuring Technology and Instruments, Tianjin University, Tianjin, China

  • 2. School of Precision Instruments and Optoelectronics Engineering, Tianjin University, Tianjin, China

  • 3. School of Chemical Engineering, Xiangtan University, Xiangtan, China

  • 4. College of Food Science and Nutritional Engineering, China Agricultural University, Beijing, China

Article metrics

View details

61

Citations

7,6k

Views

2,6k

Downloads

Abstract

Different geographical origins can lead to great variance in coffee quality, taste, and commercial value. Hence, controlling the authenticity of the origin of coffee beans is of great importance for producers and consumers worldwide. In this study, terahertz (THz) spectroscopy, combined with machine learning methods, was investigated as a fast and non-destructive method to classify the geographic origin of coffee beans, comparing it with the popular machine learning methods, including convolutional neural network (CNN), linear discriminant analysis (LDA), and support vector machine (SVM) to obtain the best model. The curse of dimensionality will cause some classification methods which are struggling to train effective models. Thus, principal component analysis (PCA) and genetic algorithm (GA) were applied for LDA and SVM to create a smaller set of features. The first nine principal components (PCs) with an accumulative contribution rate of 99.9% extracted by PCA and 21 variables selected by GA were the inputs of LDA and SVM models. The results demonstrate that the excellent classification (accuracy was 90% in a prediction set) could be achieved using a CNN method. The results also indicate variable selecting as an important step to create an accurate and robust discrimination model. The performances of LDA and SVM algorithms could be improved with spectral features extracted by PCA and GA. The GA-SVM has achieved 75% accuracy in a prediction set, while the SVM and PCA-SVM have achieved 50 and 65% accuracy, respectively. These results demonstrate that THz spectroscopy, together with machine learning methods, is an effective and satisfactory approach for classifying geographical origins of coffee beans, suggesting the techniques to tap the potential application of deep learning in the authenticity of agricultural products while expanding the application of THz spectroscopy.

Introduction

Coffee, as one of the most popular beverages in the world, is widely appreciated by consumers for its unique aroma, flavor, and refreshing effect (13). The sensory properties of coffee are profoundly affected by the composition of coffee beans, which are mainly affected by climate characteristics associated with different latitudes and altitudes. Central and South Africa offer optimal climate conditions for coffee plants. However, a great variance in coffee quality, taste, and commercial value is found with different geographical origins (47). Inevitably, this variability aspect might also increase the risk of fraud, such as mislabeling of the product to conceal the true geographical origin of the coffee beans (8). Hence, the development of analytical methods that could efficiently evaluate the geographical origin of coffee beans is highly encouraged by coffee producers and consumers.

Several analytical techniques, such as chromatography (911), electronic nose, and nuclear magnetic resonance, Flambeau et al. (12) have been applied to discriminate geographical origins of coffee beans by measuring physicochemical parameters, including caffeine, amino acids, chlorogenic acids, saccharides, and metal content (1315). However, these methods are time-consuming, costly, and unsuitable for online applications. Due to the advantages of nondestructive and rapid, spectroscopy methods have been increasingly developed as a powerful analytical tool (1620). For what it concerns the coffee production and consumption, Raman spectroscopy has been applied to discriminant Arabica and Robusta coffee beans (21, 22). For near-infrared spectroscopy, many applications for coffee beans have also been reported, such as discrimination of varieties (4, 23), prediction of roasting degree (24), and evaluation of coffee beans quality (18, 25). However, the superposition of different overtone and combination bands in the near-infrared spectroscopy region causes very low structural selectivity for NIR spectroscopy (26).

The frequency range of terahertz (THz) radiation is within 0.1–10 THz (2729), where many fundamentals can usually be observed in isolated positions. Many organic molecules have strong absorption in the THz region due to the rotation and vibration transition of the dipole (30, 31). Meanwhile, the THz wave has relatively low-photon energy (4 meV for 1 THz) and strong penetration; which will not cause damage to biomolecules (32). In addition, compared with commonly used near-IR spectroscopy, THz wave possesses a longer wavelength and, therefore, cannot be easily influenced by scattering (33). Compared with Raman spectroscopy, THz wave is not easily affected by fluorescent substances in food (34). Thus, THz fingerprint spectroscopy becomes one of the most promising techniques for substance detection (29, 35). It is widely used in food quality and safety control, such as identification of floral resources of honey (36), discrimination of extra-virgin olive oil from different origins (37), detection of melamine in foodstuffs (38), and classification of transgenic food (3941). However, promptly distinguishing the geographical origins of coffee beans in an effective manner using the THz spectrum combined with traditional modeling methods is still a challenge.

Machine learning, which is widely used in spectroscopy analysis, could also extend to THz spectroscopy data processing. Linear discriminant analysis (LDA) and support vector machine (SVM) have been proved as effective supervised classification methods in THz spectroscopy applications (37, 42). Owing to the multicollinearity and the interference of uncorrelated variables, most machine learning methods are based on spectral features rather than whole spectral data (43, 44). Recently, dramatic improvements in machine learning have mainly originated from deep convolution neural networks (CNN). Taking the advantages of effective structure and a convolution core in various scales, CNN can retain information of spectral features. Thus, the weak features can be enhanced even with a low signal–to-noise ratio (45, 46). However, CNN could automatically extract complex spectral features, making the classification model more accurate and robust.

In this study, we develop several methods that are based on THz spectroscopy, combined with machine learning, to classifying the geographical origins of coffee beans. In detail, CNN was investigated to simplify the feature extraction process while ensuring predictive precision and accuracy. Moreover, LDA and SVM were also applied to develop a series of classifiers with the spectral features selected by principal component analysis (PCA) and genetic algorithm (GA). The results provide a new idea and attempt for the application of THz spectroscopy and a machine learning method in food and agricultural applications.

Methods and Materials

Coffee Samples

Ninety-six samples of Arabica coffee beans, representatives of three different geographical origins, were analyzed in the present study. Out of these, 30 Kenya AA samples came from Muchagara Estate in southern Kenya, 30 Kilimanjaro samples came from Edelweiss Estate in Tanzania, and 36 samples came from Baoshan, Yunnan. The producing countries and the species were chosen according to their relevance to the Chinese coffee market. Africa is the region with the largest number of coffee-producing countries. High-quality coffee beans in Africa usually come from Ethiopia, Kenya, Tanzania, and so on. Kenya and Tanzania were among the top-20 producing countries. According to International Coffee Organization (ICO) (47), both Kenya and Tanzania contributed about 0.6% of the total world coffee production. The current production of coffee in Kenya and Tanzania is estimated to be 45,355 and 49,484 tons, respectively. Therefore, Arabica coffee beans from Kenya and Tanzania in Africa were selected for the research.

The roasting degree may cause chemical changes of coffee beans and influence the classification of geographical origin. To evaluate the classification model, samples from Yunnan were further prepared with three different roasting degrees (48), including light roasting (LR), medium roasting (MR), and deep roasting (DR). The roasting temperature is 200°C, and the roasting times are 8, 10, and 14 min, respectively. Meanwhile, Kenya AA and Kilimanjaro coffee beans were both prepared with MR degree. Because Kenya AA and Kilimanjaro coffee beans are imported from Africa, they have higher prices, and their taste is best under moderately roasted conditions. In terms of consumer habits, Kenya AA and Kilimanjaro coffee beans are both popular in the market for moderate roasting, whereas Yunnan coffee beans are sold in all three roasting methods. Meanwhile, Yunnan-Arabica is a domestic coffee bean, which is cheaper and easier to obtain. It is easy for unscrupulous merchants to use different roasting degrees of Yunnan-Arabica to pretend to be imported coffee beans to deceive consumers.

Each coffee bean sample was first pulverized into flour by a pulverizer, which was then grounded to fine powder with agate mortar, and at last, pressed to a small tablet with a flat surface to eliminate the influence of multiple scattering. The tablet sample was finally made from 0.2 g of coffee bean flour; the conditions for pressing were 15 tons of pressure for 15 min. The schematic of the main procedures of the classification model is shown in Figure 1.

Figure 1

THz Spectroscopy Measurement

The coffee bean samples were analyzed using a time-domain THz spectroscopy system (TAS7500SU, AdvanTest Crop., Japan) with a resolution of 0.0076 THz. Limited by a device, only the THz absorption spectral data within the frequency range of 0.5–1.9 THz were reliable. During the measurement, the optical cavity was filled with dry air to eliminate the interference of water vapor. Each spectrum was valued as the average of three measurements to improve the signal-to-noise ratio. The THz time-domain signal can be written as

where ω represents the frequency of the THz wave, A(ω) and φ(ω) are the amplitude and phase of THz-TDW, respectively. According to the optical parameter extraction model (49), the refractive index n(ω) and absorption coefficient α(ω)of a sample could be calculated as follows:

where d is the thickness of the sample slices, φ(ω) and ρ(ω) are the phase difference and the amplitude ratio between the sample signal and the reference signal, respectively.

Feature Extraction

Some classification methods struggle to train effective models when the number of spectral features is very large, which is called the “curse of dimensionality” (50). This is especially relevant to algorithms that rely on distance calculations, such as LDA and SVM. Feature extraction is the critical step to avoid the curse of dimensionality by creating a smaller set of features that still capture most of the useful information.

Besides using the entire spectra (including 185 points), two feature extraction methods were evaluated in this study. First, PCA projects the original variables to a new coordinate to obtain a set of values of linearly uncorrelated variables called “principal components” (PCs) and thus eliminates the overlapping parts of coexisting information (51). Meanwhile, nine PCs with an accumulative contribution rate of 99.9% also provide information about the characteristic peaks. In the second feature extraction technique, the GA replaces the parameter space of the problem with the coding space (52). We implemented an adaptive GA that can automatically adapt the parameters of the crossover and mutation rate. The selected variables almost identify spectroscopy-relevant regions clearly after the evolving process. Since the GA is a mainly stochastic algorithm, each group of data runs at least five times. After the GA process, 21 variables were selected as the most streamlined and important variables.

Classification Model

In this study, three different supervised machine learning algorithms, including CNN, LDA, and SVM, were investigated to classify different geographical origins of coffee beans.

Convolutional neural network is a special depth feed-forward neural network, which could work without any prior knowledge or human efforts in preprocessing raw data (53). The CNN algorithm essentially achieves the mapping of input to output by extracting features and reducing dimensions of the data (54). Figure 2 is the hierarchical construction of the CNN-based classifier, which consists of an input layer, a hidden layer, a full-connection layer, and an output layer (55). The parameters of each layer are shown in Table 1. The input layer size is 1 × 262. Based on the initial size of the THz spectrum, in this study, we choose a smaller convolution kernel size and a relatively deep network. In the convolutional layer, the kernel size is set as 3 × 1, and the convolution kernel of the set size is sampled according to the stride. The convolution operation is performed by multiplying the kernel by each point of the input data (56). The bottom convolutional layer can capture different low-level features, and the higher convolutional layer can capture more abstracted and discriminative features (57). The max-pooling layer was connected behind the convolution layer and was used to extract the invariant features, compress the feature, reduce computational complexity, and prevent overfitting, therefore increasing the overall performance and accuracy of the network (58). The kernel size of the max-pooling layer is set as 2 × 1. Selection on the number of feature maps, when the size of the output feature is halved, the number of the output channels should be doubled to ensure that the information contained in adjacent convolutional layers does not differ excessively. Through five convolutions and pooling operations, the extracted feature can be regarded as the abstracted and discriminative high-level feature. The increase in the number of convolutional layers will not improve the accuracy of the model, and the corresponding calculation amount and the time consumption will increase. Meanwhile, too few convolutional layers will result in imperfect feature extraction (59). All features will be reshaped into one-dimensional vectors and transmitted to the fully connected layer. In the last layer, the Softmax function was used to get the probabilities of each class of coffee bean. The deep network will improve non-linear fitting capabilities due to the nesting of multiple activation functions, making the network represent a wider range of functions. Relu is selected as the non-linear activation function; its unsaturation can improve the computing speed and better converge the network. Considering the problem of overfitting, we introduce the dropout method in the network, which could randomly discard some neurons in the full connectivity layer. The learning rate is set to 0.01. The cross-entropy loss was adopted as the loss function. By sharing weights and sparse connections, the CNN can greatly reduce the parameter size and the amount of training data (60, 61).

Figure 2

Table 1

LayerTypeFeature mapKernel sizeStrideDropoutSizeActivation
InInput11 × 262
Conv1Convolution83 × 1111 × 260Relu
S1Max pooling82 × 111 × 130
Conv2Convolution123 × 1111 × 128Relu
S2Max pooling122 × 111 × 64
Conv3Convolution163 × 1111 × 62Relu
S3Max pooling162 × 111 × 31
Conv4Convolution203 × 1111 × 29Relu
S4Max pooling202 × 111 × 15
Conv5Convolution243 × 110.81 × 13Relu
S5Max pooling242 × 111 × 7
FC6Fully connected11 × 168Relu
OutFully connected11 × 3Softmax

Parameters of each layer in 1D-convolutional neural network (CNN).

Linear discriminant analysis achieves classification by searching for directions (canonical variables) that maximize the ratio between interclass and intraclass variances (62). SVM constructs an optimal hyperplane, utilizing a small set of vectors near a boundary to solve the classification issues (63). Meanwhile, since applying radial basis function (RBF) with the Gaussian functions as the kernel function, SVM can reduce the computational complexity of the training procedure (64). A heuristic “grid search” using 5-fold cross-validation was performed to achieve the best prediction accuracy.

Model Evaluation

To better evaluate the performance and stability of the models, the original dataset of samples was randomly divided into a calibration set (nKenyaAA = 17, nKilimanjaro = 20, n Yunnan−Arabica = 24), a validation set (nKenyaAA = 5, nKilimanjaro = 5, nYunnan−Arabica = 5), and a prediction set (nKenyaAA = 8, nKilimanjaro = 5, nYunnan−Arabica = 7). Although LDA and SVM models conduct 5-fold cross-validation, the same three sets were also used. To evaluate the performance of a model to discriminate specific coffee categories, sensitivity (Sen), specificity (Spe), and accuracy (Acc) of a certain type of coffee were calculated as follows:

where TP is true positive, TN is true negative, FP is false positive, and FN is false negative. Sensitivity represents the ability of the model to correctly identify a specific type of coffee samples, specificity represents the ability of the model to correctly recognize the other two types of coffee samples, and accuracy represents the ability of the model to classify all types of samples correctly.

Results and Discussion

Terahertz Spectra Analysis

Figure 3A shows the average THz time-domain signals of coffee beans from three different geographical origins. The spectral trends of all samples are similar to the average spectrum, so the average spectrum is used to show the intraspecies consistency and interspecies differences of coffee beans. Although the waveforms are similar, the phase difference between the coffee beans from Kenya and the other two kinds could be observed in the partially enlarged view. The amplitude and the phase of the time-domain signal of Yunan coffee beans with different roasting degrees show a slight difference. In the average absorption spectra (Figure 3B), Kenya coffee beans occupy the largest absorption. There are no obvious absorption peaks within 0.5–1.9 THz, which may due to the fact that, in the complex samples, the molecular interaction with surrounding substances will cause the disappearance of peaks (65). These three kinds of samples show slight differences in the band of 1.5–1.9 THz, which mainly represent the absorption of dry substances, such as hemicellulose, cellulose, fat, lignin, chlorogenic acid, protein, and caffeine. However, it is still difficult to classify the geographical origins directly just by virtue of these minor differences. Therefore, it is necessary to investigate the classification model to help identify the geographical origins of coffee beans.

Figure 3

Classification Analysis

The redundancy of spectral variables will affect the classification effect of traditional machine learning models, so spectral features were extracted by two data dimensionality reduction methods, including PCA and GA.

Figure 4 is the PC1, PC2, and PC3 score maps of PCA. As can be seen from the figure, in the PCA model constructed from the overall samples, the total proportion of the first three selected PCs has reached 94.5% (84.4, 5.2, and 4.85%, respectively). However, coffee bean samples from different regions exhibited high overlapping due to the same compositional properties. Therefore, the first three PCs, while characterizing the major part of the THz spectrum differences, are not sufficient to achieve the classification distinction. In this study, the first nine PCs, whose accumulative contribution rate of PCs reached 99.9%, were selected for subsequent analysis.

Figure 4

Figure 5 shows the histogram of the frequency of each selected variable. Because of the randomness of the GA, the intersection of five results after running five time was selected as the most streamlined and important variable. Figure 6 shows the final selected variables by the GA method. After the GA process, 21 variables were selected as the most streamlined and important variables. And the majority of the variables selected by the GA method distribute within the ranges of 1.7–1.9 THz, which also corresponds to the frequency band with the largest difference among the three origins of coffee samples in the absorption spectrum.

Figure 5

Figure 6

After the feature extraction process, the spectral variables are imported into traditional machine learning methods. The classification results were compared with the CNN model. Table 2 shows Acc, Sen, and Spe for the calibration, validation, and prediction sets for all classification models that were considered. These metrics were also used to create the confusion matrix of the results as shown in Table 3.

Table 2

Classification methodsCalibrationValidationPrediction
FeatureSenSpeAccSenSpeAccSenSpeAcc
extraction(%)(%)(%)(%)(%)(%)(%)(%)(%)
LDANone63.182.565.646.773.346.719.258.320.0
PCA73.187.072.126.763.326.738.269.240.0
GA74.387.775.433.366.733.342.471.445.0
SVMNone86.492.985.273.386.773.347.175.450.0
PCA86.492.985.280.090.080.066.583.465.0
GA85.893.186.980.090.080.077.488.975.0
CNN95.397.695.193.396.793.390.595.090.0

Comparison of model performance obtained with machine learning methods.

Table 3

Actual classPredicted class
GA-SVMCNN
KenyaTanzaniaYunnanKenyaTanzaniaYunnan
Kenya620800
Tanzania050050
Yunnan034115
Sen (%)75.0100.057.1100.0100.071.4
Spe (%)100.066.7100.091.793.3100.0
Acc (%)75.090.0

Confusion matrix detailing the multiclass discrimination results of three different geographical origins of coffee beans using genetic algorithm (GA)-support vector machine (SVM) and convolutional neural network (CNN).

The best classification results were obtained using the CNN model, which reaches 90.0% Acc, 90.5% Sen, and 95% Spe in the prediction set. The most noteworthy result is that the CNN approach outperforms the classifiers built on LDA and SVM. LDA is a linear algorithm that is most capable of processing simple datasets, while SVM is a non-linear approach that specializes in high-variety datasets but depends on the input features. Otherwise, the performance of LDA and SVM could be improved by using the feature extraction method. As shown in Table 2, in LDA and SVM models, the Acc, Sen, and Spe values of the prediction set increase while using the extracted feature compared with the use of the whole spectra. The feature data provide useful information and reduce the chances of overfitting. However, the drawback is that the feature extraction method found to be optimal for one classification model is not guaranteed to work well with other models. There is a one-to-one match between each classification model and the best feature extraction method. For application, it is necessary to test different combinations of feature extraction methods and classification methods to achieve the best classification results.

Nevertheless, this drawback does not occur with a deep learning model, which can analyze different kinds of data. Moreover, in this study, the CNN model demonstrated a powerful classification ability even in using the raw spectral data, which means that deep learning has the potential to be a simple one-step process in classification analysis.

Table 3 depicts the confusion matrix and descriptive statistics related to the classification model. In traditional machine learning models, GA-SVM gets the best accuracy of 75%. The classification results of the CNN model were 90% accurate with a specificity of 100% for Yunnan coffee beans and a sensitivity of 100% for Kenya and Tanzania coffee beans. The coffee beans from Kenya and Tanzania are all correctly distinguished. However, no matter what complex and specific method is adopted to achieve the origins classification, there is still a non-negligible degree of uncertainty. The fact that there has been a strong confusion about the classification of the Yunnan coffee bean samples is unsurprising, as the wrong determination is mostly attributed to the interference of different roasting degrees. In more detail, it may be due to the fact that Yunnan coffee beans were further prepared with three different roasting degrees; Kenya AA and Kilimanjaro coffee beans were both prepared with only one roasting degree. Therefore, the difference between Yunnan coffee beans increases, which makes more difficult for the model to extract accurate features, and then makes the ability of classification model to distinguish Yunnan coffee beans poor.

Results are encouraging because they indicate that the use of THz and deep learning has positive effects and could be the object of application. Additionally, the CNN approach is less sensitive to data preprocessing than SVM and LDA. Nevertheless, the small samples remind us that the optimum CNN classifier has not been achieved yet. Larger samples will be needed for CNN model training to make it more accurate and robust in the future.

Conclusions

The geographical origin is one of the most relevant factors that determine the quality and commercial value of coffee beans. In this study, popular machine learning algorithms were used to classify the geographical origins of coffee beans, based on THz spectroscopy. A diversity of classification models was evaluated, including CNN, PCA-LDA, GA-LDA, PCA-SVM, and GA-SVM. Among them, above 90% accuracy is reached by using the CNN model. The main advantage of the CNN approach is that there is no need to predefine the feature of THz spectra. Although the neural network takes a long time to train, the well-trained model is available to achieve rapid detection, thus reducing the pretraining time.

In summary, the effective and satisfactory approach to classifying the geographical origin of coffee beans, which taps the potential application of deep learning in the authenticity of agricultural products, expands the application of THz spectroscopy. Future research directions include (1) using a larger database to improve the training process of the network, which includes samples with wider geographic distribution, more diversified varieties, and more roasting conditions; (2) using a more detailed study of the choice of CNN architectures and parameters to find ideal networks for the problem; and (3) introducing transfer learning to make the model suitable for other classification tasks.

Statements

Data availability statement

The original contributions presented in the study are included in the article/supplementary material, further inquiries can be directed to the corresponding author/s.

Author contributions

SY: conceptualization, methodology, software, and writing—original draft. CL: conceptualization, methodology, formal analysis, writing—review and editing, and funding acquisition. YM: methodology, software, and visualization. WL: methodology and software. RL: validation, formal analysis, resources, and funding acquisition. WC: validation, resources, and funding acquisition. DH: conceptualization, investigation, and resources. KX: formal analysis, resources, funding acquisition, and project administration. All authors contributed to the article and approved the submitted version.

Funding

The authors acknowledge the financial support provided by the National Natural Science Foundation of China, Grant numbers 81871396, 81971657, and 81671727; Tianjin Natural Science Foundation, Grant numbers 19JCYBJC29100 and 19JCTPJC42200, and National Science and Technology Support Program of China (No. 2015BAD19B03).

Conflict of interest

The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.

References

  • 1.

    MaeztuLSanzCAnduezaSPaz De PeñaMBelloJCidC. Characterization of espresso coffee aroma by static headspace GC-MS and sensory flavor profile. J Agric Food Chem. (2001) 49:543744. 10.1021/jf0107959

  • 2.

    BorsatoDPinaMVRSpacinoKRScholzMB dos SFilhoAA. Application of artificial neural networks in the geographical identification of coffee samples. Eur Food Res Technol. (2011) 233:53343. 10.1007/s00217-011-1548-z

  • 3.

    GroschW. Evaluation of the key odorants of foods by dilution experiments, aroma models and omission. Chem Senses. (2001) 26:53345. 10.1093/chemse/26.5.533

  • 4.

    Esteban-DíezIGonzález-SáizJMSáenz-GonzálezCPizarroC. Coffee varietal differentiation based on near infrared spectroscopy. Talanta. (2007) 71:2219. 10.1016/j.talanta.2006.03.052

  • 5.

    AndersonKASmithBW. Chemical profiling to differentiate geographic growing origins of coffee. J Agric Food Chem. (2002) 50:206875. 10.1021/jf011056v

  • 6.

    GiraudoAGrassiSSavoraniFGavociGCasiraghiEGeobaldoF. Determination of the geographical origin of green coffee beans using NIR spectroscopy and multivariate data analysis. Food Control. (2019) 99:13745. 10.1016/j.foodcont.2018.12.033

  • 7.

    Alonso-SalcesRMSerraFRemeroFHebergerK. Botanical and geographical characterization of green coffee (Coffea arabica and Coffea canephora): chemometric evaluation of phenolic and methylxanthine contents. J Agric Food Chem. (2009) 57:422435. 10.1021/jf8037117

  • 8.

    WorkuMUpadhayayHRLatruweKTaylorABlakeWVanhaeckeFet al. Differentiating the geographical origin of Ethiopian coffee using XRF- and ICP-based multi-element and stable isotope profiling. Food Chem. (2019) 290:295307. 10.1016/j.foodchem.2019.03.135

  • 9.

    MehariBRedi-AbshiroMChandravanshiBSCombrinckSAtlabachewMMcCrindleR. Profiling of phenolic compounds using UPLC-MS for determining the geographical origin of green coffee beans from Ethiopia. J Food Compos Anal. (2016) 45:1625. 10.1016/j.jfca.2015.09.006

  • 10.

    BicchiCPPaneroOMPellegrinoGMVanniAC. Characterization of roasted coffee and coffee beverages by solid phase microextraction-gas chromatography and principal component analysis. J Agric Food Chem. (1997) 45:46806. 10.1021/jf9704827

  • 11.

    MehariBRedi-AbshiroMChandravanshiBSCombrinckSMcCrindleRAtlabachewM. GC-MS profiling of fatty acids in green coffee (Coffea arabica L.) beans and chemometric modeling for tracing geographical origins from Ethiopia. J Sci Food Agric. (2019) 99:381123. 10.1002/jsfa.9603

  • 12.

    FlambeauKJLeeWJYoonJ. Discrimination and geographical origin prediction of washed specialty Bourbon coffee from different coffee growing areas in Rwanda by using electronic nose and electronic tongue. Food Sci Biotechnol. (2017) 26:124554. 10.1007/s10068-017-0168-1

  • 13.

    BertrandBVillarrealDLaffargueAPosadaHLashermesPDussertS. Comparison of the effectiveness of fatty acids, chlorogenic acids, and elements for the chemometric discrimination of coffee (Coffea arabica L.) varieties and growing origins. J Agric Food Chem. (2008) 56:227380. 10.1021/jf073314f

  • 14.

    BitterNQFernandezDPDriscollAWHowaJDEhleringerJR. Distinguishing the region-of-origin of roasted coffee beans with trace element ratios. Food Chem. (2020) 320:126602. 10.1016/j.foodchem.2020.126602

  • 15.

    LinkJVGuimarães LemesALMarquettiIdos Santos ScholzMBBonaE. Geographical and genotypic segmentation of arabica coffee using self-organizing maps. Food Res Int. (2014) 59:17. 10.1016/j.foodres.2014.01.063

  • 16.

    TolessaKRademakerMDe BaetsBBoeckxP. Prediction of specialty coffee cup quality based on near infrared spectra of green coffee beans. Talanta. (2016) 150:36774. 10.1016/j.talanta.2015.12.039

  • 17.

    KrähmerAEngelAKadowDAliNUmaharanPKrohLWet al. Fast and neat–determination of biochemical quality parameters in cocoa using near infrared spectroscopy. Food Chem. (2015) 181:1529. 10.1016/j.foodchem.2015.02.084

  • 18.

    SantosJRSarraguçaMCRangelAOSSLopesJA. Evaluation of green coffee beans quality using near infrared spectroscopy: a quantitative approach. Food Chem. (2012) 135:182835. 10.1016/j.foodchem.2012.06.059

  • 19.

    HerreroAM. Raman spectroscopy a promising technique for quality assessment of meat and fish: a review. Food Chem. (2008) 107:164251. 10.1016/j.foodchem.2007.10.014

  • 20.

    El-AbassyRMvon der KammerBMaternyA. UV Raman spectroscopy for the characterization of strongly fluorescing beverages. Food Sci Technol. (2015) 64:5660. 10.1016/j.lwt.2015.05.026

  • 21.

    RubayizaABMeurensM. Chemical discrimination of arabica and robusta coffees by fourier transform raman spectroscopy. J Agric Food Chem. (2005) 53:46549. 10.1021/jf0478657

  • 22.

    El-AbassyRMDonfackPMaternyA. Discrimination between Arabica and Robusta green coffee using visible micro Raman spectroscopy and chemometric analysis. Food Chem. (2011) 126:14438. 10.1016/j.foodchem.2010.11.132

  • 23.

    OkuboNKurataY. Nondestructive classification analysis of green coffee beans by using near-infrared spectroscopy. Foods. (2019) 8:82. 10.3390/foods8020082

  • 24.

    BertoneEVenturelloAGiraudoAPellegrinoGGeobaldoF. Simultaneous determination by NIR spectroscopy of the roasting degree and Arabica/Robusta ratio in roasted and ground coffee. Food Control. (2016) 59:6839. 10.1016/j.foodcont.2015.06.055

  • 25.

    CraigAPFrancaASOliveiraLSIrudayarajJIlelejiK. Application of elastic net and infrared spectroscopy in the discrimination between defective and non-defective roasted coffees. Talanta. (2014) 128:393400. 10.1016/j.talanta.2014.05.001

  • 26.

    BalanVMihaiCTCojocaruFDUrituCMDodiGBotezatDet al. Vibrational spectroscopy fingerprinting in medicine: from molecular to clinical practice. Materials (Basel). (2019) 12:140. 10.3390/ma12182884

  • 27.

    FergusonBZhangXC. Materials for terahertz science and technology. Nat Mater. (2002) 1:2633. 10.1038/nmat708

  • 28.

    DexheimerSL. Terahertz Spectroscopy: Principles and Applications. CRC Press (2008).

  • 29.

    BogueR. Sensing with terahertz radiation: a review of recent progress. Sens Rev. (2018) 38:21622. 10.1108/SR-10-2017-0221

  • 30.

    AllisDGFedorAMKorterTMBjarnasonJEBrownER. Assignment of the lowest-lying THz absorption signatures in biotin and lactose monohydrate by solid-state density functional theory. Chem Phys Lett. (2007) 440:2039. 10.1016/j.cplett.2007.04.032

  • 31.

    SonJH. Terahertz electromagnetic interactions with biological matter and their applications. J Appl Phys. (2009) 105:102033. 10.1063/1.3116140

  • 32.

    QinJYingYXieL. The detection of agricultural products and food using terahertz spectroscopy: a review. Appl Spectrosc Rev. (2013) 48:43957. 10.1080/05704928.2012.745418

  • 33.

    LuSZhangXZhangZYangYXiangY. Quantitative measurements of binary amino acids mixtures in yellow foxtail millet by terahertz time domain spectroscopy. Food Chem. (2016) 211:494501. 10.1016/j.foodchem.2016.05.079

  • 34.

    LiYSChurchJS. Raman spectroscopy in the analysis of food and pharmaceutical nanomaterials. J Food Drug Anal. (2014) 22:2948. 10.1016/j.jfda.2014.01.003

  • 35.

    WeiLYuLJiaoqiHGuorongHYangZWeilingF. Application of terahertz spectroscopy in biomolecule detection. Front Lab Med. (2019) 2:12733. 10.1016/j.flm.2019.05.001

  • 36.

    LiuWZhangYYangSHanD. Terahertz time-domain attenuated total reflection spectroscopy applied to the rapid discrimination of the botanical origin of honeys. Spectrochim Acta A Mol Biomol Spectrosc. (2018) 196:12330. 10.1016/j.saa.2018.02.009

  • 37.

    LiuWLiuCYuJZhangYLiJChenYet al. Discrimination of geographical origin of extra virgin olive oils using terahertz spectroscopy combined with chemometrics. Food Chem. (2018) 251:8692. 10.1016/j.foodchem.2018.01.081

  • 38.

    BaekSHLimH BinChunHS. Detection of melamine in foods using terahertz time-domain spectroscopy. J Agric Food Chem. (2014) 62:54037. 10.1021/jf501170z

  • 39.

    LiuWLiuCHuXYangJZhengL. Application of terahertz spectroscopy imaging for discrimination of transgenic rice seeds with chemometrics. Food Chem. (2016) 210:41521. 10.1016/j.foodchem.2016.04.117

  • 40.

    LiuJLiZHuFChenTDuYXinH. Identification of GMOs by terahertz spectroscopy and ALAP–SVM. Opt Quantum Electron. (2015) 47:68595. 10.1007/s11082-014-9944-9

  • 41.

    XuWXieLYeZGaoWYaoYChenMet al. Discrimination of transgenic rice containing the Cry1Ab protein using terahertz spectroscopy and chemometrics. Sci Rep. (2015) 5:11115. 10.1038/srep11115

  • 42.

    LiuJXieHZhaBDingWLuoJHuC. Detection of genetically modified sugarcane by using terahertz spectroscopy and chemometrics. J Appl Spectrosc. (2018) 85:11925. 10.1007/s10812-018-0621-9

  • 43.

    LiuJLiZHuFChenTZhuA. A THz spectroscopy nondestructive identification method for transgenic cotton seed based on GA-SVM. Opt Quantum Electron. (2014) 47:31322. 10.1007/s11082-014-9914-2

  • 44.

    LiMDaiGChangTShiCWeiDDuCet al. Accurate determination of geographical origin of tea based on terahertz spectroscopy. Appl Sci. (2017) 7:172. 10.3390/app7020172

  • 45.

    ZhengZPQiuBLuoALLiYB. Classification for unrecognized spectra in lamost dr6 using generalization of convolutional neural networks. Publ Astron Soc Pacific. (2020) 132:24504. 10.1088/1538-3873/ab5ed7

  • 46.

    AcquarelliJMarchioriEBuydensLMCTranTvan LaarhovenT. Spectral-spatial classification of hyperspectral images: three tricks and a new learning setting. Remote Sens. (2018) 10:119. 10.3390/rs10071156

  • 47.

    International Coffee Organisation (ICO). Sustainability of the Coffee Sector in Africa. (2015). Available online at: http://www.ico.org/documents/Cy2014-15/Icc-114-5E-Overview-Coffee-Sector-Africa.pdf

  • 48.

    AlessandriniLRomaniSPinnavaiaGRosaMD. Near infrared spectroscopy: an analytical tool to predict coffee roasting degree. Anal Chim Acta. (2008) 625:95102. 10.1016/j.aca.2008.07.013

  • 49.

    DorneyTDBaraniukRGMittlemanDM. Material parameter estimation with terahertz time-domain spectroscopy. J Opt Soc Am A. (2001) 18:1562. 10.1364/josaa.18.001562

  • 50.

    BayneCKHaswellSJ. Practical Guide to Chemometrics. (1995). 10.2307/1269627

  • 51.

    GranatoDSantosJSEscherGBFerreiraBLMaggioRM. Use of principal component analysis (PCA) and hierarchical cluster analysis (HCA) for multivariate association between bioactive compounds and functional properties in foods: a critical perspective. Trends Food Sci Technol. (2018) 72:8390. 10.1016/j.tifs.2017.12.006

  • 52.

    XiaoboZJiewenZPoveyMJWHolmesMHanpinM. Variables Selection Methods in Near-Infrared Spectroscopy. Elsevier B.V. (2010). 10.1016/j.aca.2010.03.048

  • 53.

    FanXMingWZengHZhangZLuH. Deep learning-based component identification for the Raman spectra of mixtures. Analyst. (2019) 144:178998. 10.1039/c8an02212g

  • 54.

    ZhangLDingXHouR. Classification modeling method for near-infrared spectroscopy of tobacco based on multimodal convolution neural networks. J Anal Methods Chem. (2020) 2020:9652470. 10.1155/2020/9652470

  • 55.

    HubelDWieselT. Receptive fields and functional architecture of monkey striate cortex. J Physiol. (1968) 21543.

  • 56.

    LiuYYaoLXiaZGaoYGongZ. Geographical discrimination and adulteration analysis for edible oils using two-dimensional correlation spectroscopy and convolutional neural networks (CNNs). Spectrochim Acta A Mol Biomol Spectrosc. (2021) 246:118973. 10.1016/j.saa.2020.118973

  • 57.

    UrbánekJBrabecKDušekLHoloubekIHrebíčekJKubásekM. Artificial neural networks – ICANN 2010. Lect Notes Comput Sci. (2010) 6354:4838. 10.1007/978-3-642-15825-4

  • 58.

    WangPLiPYinMLiYWuJ. Burn wound assessment system using near-infrared hyperspectral imaging and deep transfer features. Infrared Phys Technol. (2020) 111:103558. 10.1016/j.infrared.2020.103558

  • 59.

    NgWMinasnyBMontazerolghaemMPadarianJFergusonRBaileySet al. Convolutional neural network for simultaneous prediction of several soil properties using visible/near-infrared, mid-infrared, and their combined spectra. Geoderma. (2019) 352:25167. 10.1016/j.geoderma.2019.06.016

  • 60.

    KyathanahallySPDöringAKreisR. Deep learning approaches for detection and removal of ghosting artifacts in MR spectroscopy. Magn Reson Med. (2018) 80:85163. 10.1002/mrm.27096

  • 61.

    LecunYBengioYHintonG. Deep learning. Nature. (2015) 521:43644. 10.1038/nature14539

  • 62.

    BelhumeurPNHespanhaJPKriegmanDJ. Eigenfaces vs. Fisherfaces: recognition using class specific linear projection. Lect Notes Comput Sci. (1996) 1064:4558. 10.1007/bfb0015522

  • 63.

    CristianiniNShawe-TaylorJ. An Introduction to Support Vector Machines and Other Kernel-Based Learning Methods. Cambridge: Cambridge University Press (2014). 10.1192/bjp.111.479.1009-a

  • 64.

    DevosORuckebuschCDurandADuponchelLHuvenneJP. Support vector machines (SVM) in near infrared (NIR) spectroscopy: focus on parameters optimization and model interpretation. Chemom Intell Lab Syst. (2009) 96:2733. 10.1016/j.chemolab.2008.11.005

  • 65.

    CharronDMAjitoKKimJYUenoY. Chemical mapping of pharmaceutical cocrystals using terahertz spectroscopic imaging. Anal Chem. (2013) 85:19804. 10.1021/ac302852n

Summary

Keywords

THz spectroscopy, machine learning, classification, geographical origin, coffee beans

Citation

Yang S, Li C, Mei Y, Liu W, Liu R, Chen W, Han D and Xu K (2021) Determination of the Geographical Origin of Coffee Beans Using Terahertz Spectroscopy Combined With Machine Learning Methods. Front. Nutr. 8:680627. doi: 10.3389/fnut.2021.680627

Received

15 March 2021

Accepted

18 May 2021

Published

17 June 2021

Volume

8 - 2021

Edited by

Tao Pan, Jinan University, China

Reviewed by

Li Jun Yao, Jinan University, China; Yun Han, Guangdong Ocean University, China

Updates

Copyright

*Correspondence: Chenxi Li Rong Liu

This article was submitted to Nutrition and Food Science Technology, a section of the journal Frontiers in Nutrition

Disclaimer

All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

Outline

Figures

Cite article

Copy to clipboard


Export citation file


Share article

Article metrics