Legume Research

Legume Research cover
Volume 46 · Issue 2 · 2022/11/02

Comparing Various Machine Learning Algorithms for Sugar Prediction in Chickpea using Near-infrared Spectroscopy

Madhu Bala Priyadarshi
Anu Sharma
K.K. Chaturvedi
Rakesh Bhardwaj
S.B. Lal
M.S. Farooqi
Sanjeev Kumar
D.C. Mishra
Mohar Singh
103 Views

Submitted

2022/04/02

First Online

2022/11/02

doi

10.18805/LR-4931

Cite article - Madhu Bala Priyadarshi, Anu Sharma, K.K. Chaturvedi, Rakesh Bhardwaj, S.B. Lal, M.S. Farooqi, Sanjeev Kumar, D.C. Mishra, Mohar Singh. (2022). Comparing Various Machine Learning Algorithms for Sugar Prediction in Chickpea using Near-infrared Spectroscopy. Legume Research. 46(2): 251–256. doi: 10.18805/LR-4931

Abstract

Background: Chickpea is the third major pulse produced globally, with 11.6 million tonnes produced per annum (Merga and Haji, 2019). Sugar alcohols, inulin, starch are all prebiotic carbohydrates found in chickpeas (Johnson et al ., 2020). Near-Infrared (NIR) spectroscopy is a non-destructive, versatile and powerful analytical technique.

Methods: Spectral data obtained from NIR spectroscopy requires application of various techniques to extract useful information from spectral data which is further used for building various models for prediction of physical or chemical components presents in agricultural crops. The main aim of this study is to apply various machine learning algorithms especially effective in predicting sugar concentration in chickpea. Sugar prediction models are developed using Linear Regression (LR), Artificial Neural Network (ANN), Random Forest (RF), Support Vector Regression (SVR) and Decision Tree Regression (DTR) algorithms. Performance of the models is evaluated using measures namely, Root Mean Square Error (RMSE), Residual Standard Error (RSE), Coefficient of Determination (R 2 ) and Adjusted Coefficient of Determination (adjusted R 2 ).

Result: It was observed that, RF outperformed all other models in terms of accuracy for predicting sugar component from preprocessed spectra, with RMSE, RSE, R 2 and adjusted R2 values of 0.054, 0.062, 0.954 and 0.937, respectively. The accuracy of the ANN model is similar to that of the RF, with minor differences in RMSE, RSE, R2 and adjusted R2 , values of 0.057, 0.067, 0.952 and 0.935.

References

  1. Bala, M., Sethi, S., Sharma, S. (2022). Prediction of maize flour adulteration in chickpea flour (besan) using near infrared spectroscopy. Journal of Food Science and Technology. https://doi.org/10.1007/s13197-022-05456-7. Baljeet, S.Y., Ritika, B.Y., and Reena, K. (2014). Effect of incorporation of carrot pomace powder and germinated chickpea flour on the quality characteristics of biscuits. International Food Research Journal. 21(1): 217-222. Borin, A., Poppi, R.J. (2005). Application of mid infrared spectroscopy and iPLS for the quantification of contaminants in lubricating oil. Vibrational Spectroscopy. 37: 27-32. Breiman, L., Friedman, J.H., Olshen, R.A., and Stone, C.J. (1984). Classification and Regression Trees. Wadsworth. Chambers, J.M. and Hastie, T.J. (1992). Linear Models. Chapter 4 of Statistical Models in S. [(eds) J.M. Chambers and T.J. Hastie], Wadsworth and Brooks/Cole Advanced Books and Software. 608 pages. ISBN 0-534-16765-9. Kamboj, U., Guha, P., and Mishra S. (2016). Characterization of chickpea flour by near Infrared Spectroscopy and Chemometrics. Analytical Letters. 50(11): 1754-1766. Kasemsumran, S., Du, Y.P., Maruo, K. and Ozaki, Y. (2004). Comparing Various Machine Learning Algorithms for Sugar Prediction in Chickpea using Near-infrared Spectroscopy. Analytica Chimical Acta. 526-193. Kobayshi, K., Salam, M.U. (2000). Comparing simulated and measured values using mean square deviation and its components. Agronomy Journal. 92: 345-352. Merga, B., Haji, J. (2019). Economic importance of chickpea: Production, value and world trade. Cogent Food and Agriculture. 5: 1615718. doi: 10.1080/23311932.2019.1615 718. Norgaard, L., Saudland, A., Wagner, J., Nielsen, J.P., Munck, L., Engelsen, S.B. (2000). Interval partial least-squares regression (i-PLS): A comparative chemometric study with an example from near infrared spectroscopy. Applied Spectroscopy. 54: 413-419. Norgaard, L. (2005). iPLS Toolbox Manual. Available from www. models.kvl.dk. Pasquini, C. (2003). Near-infrared spectroscopy: Fundamentals, practical aspects and analytical applications. Journal of the Brazilian Chemical Society. 14(2): 198-219. Porep, J.U., Kammerer, D.R., and Carle, R. (2015). On-line application of near-infrared (NIR) spectroscopy in food production. Trends Food Science Technology. 46: 211-230. Sagar, C., Potuganti, P. and Veetil, S. (2018). How to implement Random Forests in R. R-bloggers. https://www.r-bloggers.com/how-to-implement-random-forests-in-r/. Shenk, J.S. and Westerhaus, M.O. (1993). Analysis of agriculture and food products by near-infrared reflectance spectroscopy Infrasoft International, MD, USA. SVM in R for Data Classification using e1071 Package. (2021). TechVidvan’s R tutorial series. https://techvidvan.com/tutorials/svm-in-r/. Winning, H., Viereck, N., Norgaard, L., Larsen, J., Engelsen, S.B. (2007). Quantification of the degree of blockiness in pectins using H-1 NMR spectroscopy and chemometrics. Food Hydrocolloids. 21: 256-266.
EDITORIAL BOARD

Guided by Experienced Academic Leadership

Distinguished scholars and subject experts committed to editorial excellence, scientific integrity and rigorous peer review.

View Full Board
Kadambot Siddique
Chief Editor

Kadambot Siddique

DirectorThe UWA Institute of Agriculture, The University of Western Australia, AUSTRALIA

Pei Xu
Associate chief editor

Pei Xu

DeanChina Jiliang University, CHINA

Satpal Singh Bisht
Editor

Satpal Singh Bisht

Vice ChancellorS.S.J.University Almora, Uttarakhand, INDIA

H.K. Dikshit
Editor

H.K. Dikshit

Principal Scientist Indian Agricultural Research Institute, New Delhi, INDIA