Abstract
The Balangu (Lallemantia iberica) species have a high gastronomical impact in the Middle East and Balkan region. It is widely used in the local food industry, such as confectionery, edible oil, and protein food. In this study, 49 ecotypes were collected from different regions of Iran. 37 agronomic traits were measured during the growing season and at harvest time. To find the correlation between the grain yield per unit area, grain yield per single plant (GYSP), oil percent (OP), and protein percent (PP) with other measured traits, which these were utilized as the labels of different machine learning (ML) procedures including Linear Regression (LR), Support Vector Regression (SVR), Random Forest Regression (RFR), and Gradient Boosting Decision Tree Regression (GBDTR). It was observed that there is a linear relationship between the measured agronomic traits and the considered labels. So, the LR, RFR, and GBDTR models showed the lowest mean absolute error, mean square error, and root mean square error than SVR models and good prediction ability of the test data. Although, the RFR and GBDTR have naturally lower bias than other methods in this study, but the GBDTR scheme is preferred because of the over-fitting shortcoming of the RFR technique. The GBDTR method showed better results rather than the other ML regression methods according to the RMSE 3.302, 0.040, 0.028, and 0.060 for GYUA, GYSP, OP, and PP, respectively.
Similar content being viewed by others
Introduction
The Balangu (Lallemantia Iberica) species are cultivated in the different regions of Iran with historical roots in the gastronomic culture1–3. This plant also has been used for medical applications4. In a new development, Lallemantia species are being used to synthesize gold and silver nanoparticles without hazardous materials5. Recently, effective symbiosis under drought stress has been reported for Lallemantia iberica6. Clearly, it could be used in soils with high salt concentration and improve the characteristics of the soil after harvest. Similarly, it has been found that one of the Lallemantia species could be used in wastewater treatment effectively and environmentally, especially in the semi-arid regions7. Accordingly, this plant family has great adaptability to various environmental conditions and could be used as ecosystem services to improve the soil health and quality of the water resources of the cultivated region.
The Lallemantia iberica contains protein and oil in its structure which is the reason for the gastronomical uses of this plant. Unfortunately, insufficient data are available about the agronomic characteristics of these species and the effect of ecotype on extracted compounds such as protein and oil. Therefore, studies about the agronomic parameters of the Lallemantia iberica are required.
In the state of the art, machine learning (ML) has been used in the data analysis to predict yield responsiveness to nitrogen fertilization in maize8 and predicting grain arsenic concentration in rice under deficit irrigation system and use of organic amendments9, and crop yield forecasting10,11. However, to our best knowledge, there is no such investigation to study the relationship of the agronomic characteristics with the grain yield. The ML procedures could be used to solve classification, clustering, and regression problems.10 The regression is one of the supervised applications of the ML methods that could provide a reliable result in the prediction of a complex dataset11. The regression application can use various algorithms such as linear regression with a diversity of modifications, such as random forest regression (RFR), support vector regression (SVR), and gradient boosting decision tree regression (GBDTR)12–14.
The present work provides a four-year dataset for the agronomic properties of Lallamentia iberica and the metrics such as morph-physiological traits of 49 different ecotypes from various regions of Iran with the diversity of extracted materials percent’s such as protein and oil. Machine Learning is used for data analysis. The prediction for the grain yield performance was the main subject of this analysis. In this respect, linear, support vector machine regression, random forest regression, and gradient boosting decision tree have been utilized.
Results and discussion
The measured traits of the Lallamentia iberica ecotypes and their descriptive data, including the mean, standard deviation, minimum, maximum, and quartiles, averaged over four years, are shown in Tables 1 and 2. Based on the descriptive data, the mean of 49 ecotypes for oil and protein content was 38.59% and 21.20%, respectively, indicating that Lallamentia iberica is rich in oil and protein. Likewise, the grain yield per unit area could reach the maximum value of 169 g/m2 (1690 kg/ha) in this experiment.
In this study, four labels, grain yield per unit area (GYUA), grain yield per plant (GYP), oil percent (OP), and protein percent (PP) of the Lallamentia iberica ecotypes were separately used for the sake of prediction purpose via other agronomic traits based on regression. The results and discussion for each label are briefly stated here.
GYUA
The prediction results of the GYUA through the ML-based regression methods are depicted in Table 3 and Fig. 1. According to Table 3, the LR, SVR Linear Kernel, RFR, and GBDTR methods had much lower mean absolute error (MAE), mean square error (MSE), and root means square error (RMSE) than SVR Gaussian Kernel, SVR Polynomial Kernel, and SVR Sigmoid Kernel. Figure 1 demonstrates the predicted values versus the experimentally evaluated values of the GYUA label for the LR, SVR Linear Kernel, RFR, and GBDTR methods had good prediction results. The main goal of this sequence of the ML methods was to eliminate possible overfitting and the potential bias in the learning process linear regression and increase the accuracy of the analytical information. Although the LR and SVR Linear Kernel methods showed a slightly better prediction ability than the other two methods, their higher biases may affect the objectivity of the results in this case. The Random forest and gradient boosting decision tree regression are used to import the random states to avoid the created bias of the linear ML regression algorithms. While the RFR may better handle the bias, under-fitting might be a problem15. On the other hand, the GBDTR as a hybrid method avoids the issues of the previous methods. The RFR and GBDTR methods are used to import the random states to avoid the created bias of the linear ML regression algorithms16.
There was a linear relationship between the indicator features and the label. In this respect, the effect of different features was evaluated in the ML process. For example, BYUA, OYUA, and HIUA were the most important features for predicting GYUA in RFR, respectively (Fig. 2). Hence, BYUA, OYUA, and HIUA can be regarded as good predictor indicators of GYUA. Similar results were reported for sesame (Sesamum indicum L.) in another study17.
GYSP
The grain yield of a single plant is an important trait in crop yield evaluation and genetic assessments18,19. The results of the assessment of different ML methods in the prediction of GYSP by MAE, MSE, and RMSE are shown in Table 4. Although LR had slightly better performance than RFR and GBDTR in the prediction of GYSP (Table 4; Fig. 3), the bias in this method makes it partially unreliable20, as previously mentioned. Despite the fact that the RFR and GBDTR methods demonstrated higher error rather than LR and SVR Linear Kernel21 and the generated random states in the learning process could disturb the prediction, the results are more reliable due to the reduced bias.
As an example of the importance of the indicator in the prediction of GYSP, the results for the RFR method were depicted in Fig. 4. The features BYSP, NSPP, and NSMS were the most effective features on GYSP in the RFR method, respectively. Besides, NSPSC had a small impact on this label.
OP
Oil percentage is an essential trait with respect to the gastronomic point of view22. Lallamentia iberica’s oil is healthy in food production and other uses in the cultivated region. The efficiency of different ML methods in the prediction of the OP was compared in Table 5. The GBDTR method showed the best performance in predicting OP followed by RFR and SVR Linear Kernel. Figure 5 shows the predicted values versus the tested values of the OP label for the LR, SVR Linear Kernel, RFR, and GBDTR methods. All four methods were acceptable in predicting OP. However, the different conditions should be considered to achieve an appropriate approach with the corresponding practical state. For example, if OP needs to be predicted for a specific ecotype, the gradient boosting decision tree would be a good choice. At the same time, in the particular condition with the features, the SVR could be used efficiently.
PP
Lallamentia iberica is a protein reach plant that contains 21% protein on average with a maximum of 34%23,24. In this respect, the protein content of this plant was another subject of this work. The results of the prediction of PP by other agronomic characteristics for the LR, SVR Linear Kernel, RFR, and GBDTR methods are demonstrated in Fig. 6. A very high efficient prediction has been achieved with ML regression methods. The results were similar to previous labels. A linear relationship was observed between PP and the measured characteristics of this species. The estimated MAE, MSE, and RMSE in the prediction of PP are given in Table 6. The GBDTR method was the most effective procedure in predicting PP followed by RFR and SVR Linear Kernel methods. GBDTR trains the data with random decision trees and also performs a linear regression based on these data. So, the predicted PP by this method would be more reliable than the other methods.
Conclusions
The descriptive data showed that Lallamentia iberica is rich in oil and protein with the four-year average of 38.59% and 21.20%, respectively. Furthermore, it was shown that the grain yield per unit area could reach up to 1690 kg/ha in this experiment. The ML regression methods showed that there was a linear relationship between the indicator variables and GYUA, GYP, OP, and PP. ML Linear Regression, SVR Linear Kernel, RFR, and GBDTR had generally lower MAE, MSE, and RMSE than other SVR method and showed good fitting to the data set. Although both RFR and GBDTR have inherently lower bias than other utilized methods, the GBDTR method is a better choice since over-fitting is regarded as a disadvantage for the ML RFR.
Materials and methods
During years 2014–2017 an agronomic study has been implemented to evaluate the Balngu’s different agronomic properties. A machine learning approach is used to assess the evaluated agronomic properties. The whole process has been illustrated in Fig. 7. The detail of the measurement, data collection and data processing have been given in the next sections.
Characteristics of the experimental site
This research was carried out in the research station of the Faculty of Agriculture, University of Tabriz, Tabriz, Iran. The experimental site was located at the longitude of 46° 17′, latitude of 38° 05′, and altitude of 1360 m. The annual rainfall was about 285 mm, averaged over four years. The average temperature was recorded about at 10 °C, with Tmax = 16.6 °C and Tmin = 4.2 °C. The physical properties of soil are given in Table 7. The soil type was silty loam with the pH of 7.75.
Plant material and experimental design
In the present investigation, 49 ecotypes were evaluated in four years (2014–2017), using the 7 × 7 triple design. The codes and locality of the ecotypes are listed in Table 8. Permission to collect the seeds of ecotypes was obtained from the farmers of each region before sampling. This study complies with relevant institutional, national, and international guidelines and legislation.
Each plot consisted of five rows of 1.5 m in length, with the between-row distance of 20 cm and within-row spacing of 1 cm. The planting density was 500 seeds per m2. The planting date each year was the 4th of May. Standard cultural practices, such as soil fertilization, irrigation, and weed control were performed during the growing season. The harvesting date in each year was the 26th of July. The harvested area was 0.5 m2 of the plot center. During the growing season and at the harvest, 37 traits were measured in each plot.
To estimate leaf area index (LAI) the green leaf area per unit area of ground surface was determined25. Also, leaf chlorophyll index at the full-flowering stage using three random plants in each plot. In each plant, the chlorophyll index was measured from three parts (bottom, middle, top), using CCM-200 Plus (Opti-Sciences Inc., NH, USA).
Data analysis
In this study, different ML regression methods were considered to predict the four labels, namely GYUA, GYP, OP, and PP by other measured traits. The ML regression methods included ML Regression, SVR Linear Kernel, SVR Gaussian Kernel, SVR Polynomial Kernel, SVR Sigmoid Kernel, RFR, and GBDTR were used to analyze the four-years data set26–31,32,33. The K-fold cross-validation was used to split the training and the test data sets. Furthermore, MAE, MSE, and RMSE were utilized to compare the efficiency of the ML regression methods.
Machine learning regression
Linear regression
Supervised learning is the base of the linear regression in the machine learning method with a target prediction of the independent variable34.
In this equation, x is input training data (univariate—one input variable (parameter)), and y is labeled to data (supervised learning). In the training process, model the best line to predict the value of y for a given value of x is fitted. The process would provide the best deals for the θ1 (intercept) and θ2 (coefficient of x) after fitting. Afterward, the coefficient would predict the y value with a given x data in the test process. A cost function of linear regression is used to minimize the Root Mean Squared Error (RMSE) between predicted y value and experimental y value (y).
Ridge regression
Linear regression with a tuning model is the Ridge regression method. It is used where multi-collinearity is observed. Unbiased least-square and significant variance are the results of multi-collinearity. The second-order linear regularization was used in the Ridge regression35. The cost function is shown by:
LASSO regression
The Ridge regressions are replaced with the LASSO regression with first-order linear regularization where some of the variables do not contribute effectively to the prediction task. Then the coefficients of the corresponding variables would be zero. It led to reforming the model function to a selective model and enhanced the prediction task36.
Elastic Net regression
Where, the ridge and lasso regression are both limited to L1 and L2 norms, the elastic net could be used without these limited conditions ignoring the penalties of ridge and LASSO regressions. Ultimately, the elastic net regression could be used efficiently for linear regression. The elastic net could be applied in complex regression problems with simplicity37.
Support vector machine (SVM)
The reduction of the elastic net to linear regression with support shows efficient results in the optimization problems. A training dataset with linear SVM learns and separates the data in a classification setting and parameterizes it by a weight vector for a unique solution38.
Decision tree
IT is a powerful ML method for regression and classification of complex datasets to perform multi-output tasks. Also, the foundation of random forest regression is a more complex method for regression that would be explained. The most critical parameter in this method is the depth or layer of the decision tree. It could be used to perform regression and as a predictor to evaluate the optimized value of the label with the corresponding selected features with more bias and lower variance concerning the other methods39.
Gradient boosting decision tree regression
This method is considered in this research. It is an ensemble learning method that is coupled with a decision tree. It uses the shrinkage regularization technique. This method also supports a subsample hyper-parameter that specifies the fraction of training increases to train the trees. As could be deducted, this technique is a higher bias for lower variance. The main advantage of this method is the speeded-up training process40.
Data availability
The datasets generated and/or analyzed during the current study are not publicly available due to [REASON WHY DATA ARE NOT PUBLIC] but are available from the corresponding author on reasonable request.
References
Zanganeh, H., Mortazavi, S. A., Shahidi, F. & Alizadeh Behbahani, B. Evaluation of the chemical and antibacterial properties of Citrus paradise essential oil and its application in Lallemantia iberica seed mucilage edible coating to improve the physicochemical, microbiological and sensory properties of lamb during refrigerated storage. J. Food Meas. Charact. 15, 5556–5571 (2021).
Sadeghi-Varkani, A., Emam-Djomeh, Z. & Askari, G. Physicochemical and microstructural properties of a novel edible film synthesized from Balangu seed mucilage. Int. J. Biol. Macromol. 108, 1110–1119 (2018).
Taghinia, P., Abdolshahi, A., Sedaghati, S. & Shokrollahi, B. Smart edible films based on mucilage of lallemantia iberica seed incorporated with curcumin for freshness monitoring. Food Sci. Nutr. 9, 1222–1231 (2021).
Omidi, H., Shams, H., Seif Sahandi, M. & Rajabian, T. Balangu (Lallemantia sp.) growth and physiology under field drought conditions affecting plant medicinal content. Plant Physiol. Biochem. 130, 641–646 (2018).
Iram, F. et al. Synthesis of gold and silver nanoparticles by use of arabinoglucan from Lallemantia royleana. Int. J. Biol. Macromol. 191, 1137–1150 (2021).
Paravar, A., Maleki Farahani, S. & Rezazadeh, A. Lallemantia species response to drought stress and Arbuscular mycorrhizal fungi application. Ind. Crops Prod. 172, 114002 (2021).
BesharatiFard, M. et al. Saline oily wastewater treatment using Lallemantia mucilage as a natural coagulant: Kinetic study, process optimization, and modeling. Ind. Crops Prod. 163, 113326 (2021).
Correndo, A. A. et al. Assessing the uncertainty of maize yield without nitrogen fertilization. Field Crops Res. 260, 107985 (2021).
Sengupta, S. et al. Deficit irrigation and organic amendments can reduce dietary arsenic risk from rice: Introducing machine learning-based prediction models from field data. Agric. Ecosyst. Environ. 319, 107516 (2021).
Bonaccorso, G. Machine Learning Algorithms (Packt Publishing Ltd, 2017).
Ayodele, T. O. Types of machine learning algorithms. New Adv. Mach. Learn. 3, 19–48 (2010).
Ayodele, T. O. Types of machine learning algorithms. New Adv. Mach. Learn. 3, 19–48 (2010).
Bonaccorso, G. Machine Learning Algorithms (Packt Publishing Ltd, 2017).
Mohammed, M., Khan, M. B. & Bashier, E. B. M. Machine Learning: Algorithms and Applications (CRC Press, 2016).
Qian, H., Wang, B., Yuan, M., Gao, S. & Song, Y. Financial distress prediction using a corrected feature selection measure and gradient boosted decision tree. Expert Syst. Appl. 190, 116202 (2022).
Mahajan, J., Banal, K. & Mahajan, S. Estimation of crop production using machine learning techniques: A case study of J&K. Int. J. Inf. Technol. 13, 1441–1448 (2021).
Robertson, M. J., Lilley, J. M., Robertson, M. J. & Lilley, J. M. Simulation of growth, development and yield of canola (Brassica napus) in APSIM. Crop Pasture Sci. 67, 332–344 (2016).
Ma, J. & Cao, Y. Genetic dissection of grain yield of maize and yield-related traits through association mapping and genomic prediction. Front. Plant Sci. 12, 1377 (2021).
Kukal, M. S. & Irmak, S. Characterization of water use and productivity dynamics across four C3 and C4 row crops under optimal growth conditions. Agric. Water Manag. 227, 105840 (2020).
de Souza, G. S. A. et al. Multi-sensor prediction of Eucalyptus stand volume: A support vector approach. ISPRS J. Photogramm. Remote Sens. 156, 135–146 (2019).
Holodinsky, J. K., Yu, A. Y. X., Kapral, M. K. & Austin, P. C. Comparing regression modeling strategies for predicting hometime. BMC Med. Res. Methodol. 21, 138 (2021).
Naebi, M., Torbati, M., Azadmard-Damirchi, S., Siabi, S. & Savage, G. P. Changes in physicochemical properties of cold press extracted oil from Balangu (Lallemantia peltata) seeds during storage. J. Food Compos. Anal. 107, 104358 (2022).
Sardarodiyan, M., Arianfar, A., Mohamadi Sani, A. & Naji-Tabasi, S. Physicochemical properties and surface activity characterization of water-soluble polysaccharide isolated from Balangu seed (Lallemantia royleana) gum. J. Food Meas. Charact. 14, 3625–3632 (2020).
Poursani, P., Razavi, S. M., Mazaheri Tehrani, M. & Javidi, F. Rheological, physical, and sensory properties of non-fat ice creams as affected by selected fat replacers. J. Food Process. Preserv. 45, e15010. https://doi.org/10.1111/jfpp.15010 (2021).
Chen, J. M. & Cihlar, J. Retrieving leaf area index of boreal conifer forests using Landsat TM images. Remote Sens. Environ. 55, 153–162 (1996).
Mccaffrey, P. Chapter 14: Introduction to machine learning: Regression, classification, and important concepts. In An Introduction to Healthcare Informatics (ed. Mccaffrey, P.) 191–210 (Academic Press, 2020).
Neumann, K. & Steil, J. J. Optimizing extreme learning machines via ridge regression and batch intrinsic plasticity. Neurocomputing 102, 23–30 (2013).
Lee, J. H., Shi, Z. & Gao, Z. On LASSO for predictive regression. J. Econom. https://doi.org/10.1016/j.jeconom.2021.02.002 (2021).
Mokhtari, S., Navidi, W. & Mooney, M. White-box regression (elastic net) modeling of earth pressure balance shield machine advance rate. Autom. Constr. 115, 103208 (2020).
Achieng, K. O. Modelling of soil moisture retention curve using machine learning techniques: Artificial and deep neural networks vs support vector regression models. Comput. Geosci. 133, 104320 (2019).
Belyadi, H. & Haghighat, A. Chapter 5: Supervised learning. In Machine Learning Guide for Oil and Gas Using Python (eds Belyadi, H. & Haghighat, A.) 169–295 (Gulf Professional Publishing, 2021).
Mccaffrey, P. Chapter 14 - Introduction to machine learning: Regression, classification, and important concepts. In An Introduction to Healthcare Informatics (ed. Mccaffrey, P.) 191–210 (Academic Press, 2020). https://doi.org/10.1016/B978-0-12-814915-7.00014-4.
Neumann, K. & Steil, J. J. Optimizing extreme learning machines via ridge regression and batch intrinsic plasticity. Neurocomputing 102, 23–30. https://doi.org/10.1016/j.neucom.2012.01.041 (2013).
Lee, J. H., Shi, Z. & Gao, Z. On LASSO for predictive regression. J. Econom. 229(2), 322–349. https://doi.org/10.1016/j.jeconom.2021.02.002 (2022).
Achieng, K. O. Modelling of soil moisture retention curve using machine learning techniques: Artificial and deep neural networks vs support vector regression models. Comput. Geosci. 133, 104320. https://doi.org/10.1016/j.cageo.2019.104320 (2019).
Dumitrescu, E., Hué, S., Hurlin, C. & Tokpavi, S. Machine learning for credit scoring: Improving logistic regression with non-linear decision-tree effects. Eur. J. Oper. Res. 297, 1178–1192 https://doi.org/10.1016/j.ejor.2021.06.053 (2022).
Belyadi, H. & Haghighat, A. Chapter 5 - Supervised learning. In Machine Learning Guide for Oil and Gas Using Python (eds. Belyadi, H. & Haghighat, A.) 169–295 (Gulf Professional Publishing, 2021). https://doi.org/10.1016/B978-0-12-821929-4.00004-4.
Sarailidis, G., Wagener, T. & Pianosi, F. Integrating scientific knowledge into machine learning using interactive decision trees. Computers & Geosciences 170, 105248. https://doi.org/10.1016/j.cageo.2022.105248 (2023)
Li, X., Yi, S., Cundy, A. B. & Chen, W. Sustainable decision-making for contaminated site risk management: A decision tree model using machine learning algorithms. J. Clean. Prod. 371, 133612. https://doi.org/10.1016/j.jclepro.2022.133612 (2022).
Yao, S., Kronenburg, A., Shamooni, A., Stein, O. T., & Zhang, W. Gradient boosted decision trees for combustion chemistry integration. Applications in Energy and Combustion Science 11, 100077. https://doi.org/10.1016/j.jaecs.2022.100077 (2022).
Acknowledgements
The authors are grateful for the financial support of the Vice-Chancellor for Research and Technology, University of Tabriz, Tabriz, Iran.
Author information
Authors and Affiliations
Contributions
Conceptualization, Formal analysis, Funding acquisition, Investigation, Methodology, Project administration, Resources, Supervision: J.S., H.D.: Formal analysis, Software, Investigation, Methodology, Validation, Visualization, Writing—review & editing, A.D.M.: Data curation, Investigation, Methodology, Visualization, Writing—original draft, M.M.: Formal analysis, Software, Investigation, Methodology, Project administration, Validation, Visualization, Writing—review & editing original draft, Y.R.: Data curation, Investigation, Methodology, Visualization, Writing—original draft, S.Z.S.: Data curation, Investigation, Methodology, Visualization, Writing—original draft, P.S.: Data curation, Investigation, S.A.: Data curation, Investigation, B.G.: Data curation, Investigation.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher's note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Shafagh-Kolvanagh, J., Dehghanian, H., Mohammadi-Nassab, A.D. et al. Machine learning-assisted analysis for agronomic dataset of 49 Balangu (Lallemantia iberica L.) ecotypes from different regions of Iran. Sci Rep 12, 19237 (2022). https://doi.org/10.1038/s41598-022-23335-1
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41598-022-23335-1
Comments
By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.