{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,3]],"date-time":"2026-06-03T10:14:15Z","timestamp":1780481655217,"version":"3.54.1"},"reference-count":34,"publisher":"MDPI AG","issue":"14","license":[{"start":{"date-parts":[[2021,7,17]],"date-time":"2021-07-17T00:00:00Z","timestamp":1626480000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"DOI":"10.13039\/501100001809","name":"National Natural Science Foundation of China","doi-asserted-by":"publisher","award":["61975174"],"award-info":[{"award-number":["61975174"]}],"id":[{"id":"10.13039\/501100001809","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>Organic fertilizer is a key component of agricultural sustainability and significantly contributes to the improvement of soil fertility. The values of nutrients such as organic matter and nitrogen in organic fertilizers positively affect plant growth and cause environmental problems when used in large amounts. Hence the importance of implementing fast detection of nitrogen (N) and organic matter (OM). This paper examines the feasibility of a framework that combined a particle swarm optimization (PSO) and two multiple stacked generalizations to determine the amount of nitrogen and organic matter in organic-fertilizer using visible near-infrared spectroscopy (Vis-NIR). The first multiple stacked generalizations for classification coupled with PSO (FSGC-PSO) were for feature selection purposes, while the second stacked generalizations for regression (SSGR) improved the detection of nitrogen and organic matter. The computation of root means square error (RMSE) and the coefficient of determination for calibration and prediction set (R2) was used to gauge the different models. The obtained FSGC-PSO subset combined with SSGR achieved significantly better prediction results than conventional methods such as Ridge, support vector machine (SVM), and partial least square (PLS) for both nitrogen (R2p = 0.9989, root mean square error of prediction (RMSEP) = 0.031 and limit of detection (LOD) = 2.97) and organic matter (R2p = 0.9972, RMSEP = 0.051 and LOD = 2.97). Therefore, our settled approach can be implemented as a promising way to monitor and evaluate the amount of N and OM in organic fertilizer.<\/jats:p>","DOI":"10.3390\/s21144882","type":"journal-article","created":{"date-parts":[[2021,7,18]],"date-time":"2021-07-18T21:18:52Z","timestamp":1626643132000},"page":"4882","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":14,"title":["Particle Swarm Optimization and Multiple Stacked Generalizations to Detect Nitrogen and Organic-Matter in Organic-Fertilizer Using Vis-NIR"],"prefix":"10.3390","volume":"21","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-1156-5352","authenticated-orcid":false,"given":"Mahamed Lamine","family":"Guindo","sequence":"first","affiliation":[{"name":"College of Biosystems Engineering and Food Science, Zhejiang University, 866 Yuhangtang Road, Hangzhou 310058, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Muhammad Hilal","family":"Kabir","sequence":"additional","affiliation":[{"name":"College of Biosystems Engineering and Food Science, Zhejiang University, 866 Yuhangtang Road, Hangzhou 310058, China"},{"name":"Department of Agricultural and Bioresource Engineering, Abubakar Tafawa Balewa University, Bauchi 0248, Nigeria"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Rongqin","family":"Chen","sequence":"additional","affiliation":[{"name":"College of Biosystems Engineering and Food Science, Zhejiang University, 866 Yuhangtang Road, Hangzhou 310058, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0003-0266-6896","authenticated-orcid":false,"given":"Fei","family":"Liu","sequence":"additional","affiliation":[{"name":"College of Biosystems Engineering and Food Science, Zhejiang University, 866 Yuhangtang Road, Hangzhou 310058, China"},{"name":"Key Laboratory of Spectroscopy Sensing, Ministry of Agriculture and Rural Affairs, Hangzhou 310058, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2021,7,17]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"13","DOI":"10.1016\/j.still.2004.02.019","article-title":"Restoration of surface soil fertility of an eroded red soil in southern China","volume":"80","author":"Zhang","year":"2005","journal-title":"Soil Tillage Res."},{"key":"ref_2","doi-asserted-by":"crossref","unstructured":"Ozaki, Y., Huck, C., Tsuchikawa, S., and Engelsen, S.B. (2021). Application of NIR in Agriculture. Near-Infrared Spectroscopy: Theory, Spectral Analysis, Instrumentation, and Applications, Springer.","DOI":"10.1007\/978-981-15-8648-4"},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"8623","DOI":"10.1038\/s41598-019-44896-8","article-title":"Near-infrared spectroscopy as a tool for in vivo analysis of human muscles","volume":"9","author":"Gasbarrone","year":"2019","journal-title":"Sci. Rep."},{"key":"ref_4","doi-asserted-by":"crossref","first-page":"121","DOI":"10.1016\/j.apcatb.2018.09.091","article-title":"Broad spectrum photocatalytic system based on BiVO4 and NaYbF4: Tm3+ upconversion particles for environmental remediation under UV-vis-NIR illumination","volume":"243","author":"Ullah","year":"2019","journal-title":"Appl. Catal. B Environ."},{"key":"ref_5","doi-asserted-by":"crossref","unstructured":"Be\u0107, K.B., Grabska, J., and Huck, C.W. (2020). Near-Infrared Spectroscopy in Bio-Applications. Molecules, 25.","DOI":"10.3390\/molecules25122948"},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"115574","DOI":"10.1016\/j.envpol.2020.115574","article-title":"Modelling potentially toxic elements in forest soils with vis\u2013NIR spectra and learning algorithms","volume":"267","author":"Gholizadeh","year":"2020","journal-title":"Environ. Pollut."},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"163","DOI":"10.1016\/S0065-2113(10)07005-7","article-title":"Chapter Five-Visible and Near Infrared Spectroscopy in Soil Science","volume":"Volume 107","author":"Sparks","year":"2010","journal-title":"Advances in Agronomy"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"106839","DOI":"10.1016\/j.csda.2019.106839","article-title":"Benchmark for filter methods for feature selection in high-dimensional classification data","volume":"143","author":"Bommert","year":"2020","journal-title":"Comput. Stat. Data Anal."},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"35","DOI":"10.1016\/j.aca.2019.07.012","article-title":"A novel hybrid feature selection strategy in quantitative analysis of laser-induced breakdown spectroscopy","volume":"1080","author":"Yan","year":"2019","journal-title":"Anal. Chim. Acta"},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"33","DOI":"10.1016\/j.asoc.2017.12.048","article-title":"A novel hybrid genetic algorithm with granular information for feature selection and optimization","volume":"65","author":"Dong","year":"2018","journal-title":"Appl. Soft Comput. J."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"841","DOI":"10.1016\/j.ins.2020.08.083","article-title":"A problem-specific non-dominated sorting genetic algorithm for supervised feature selection","volume":"547","author":"Zhou","year":"2021","journal-title":"Inf. Sci."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"64","DOI":"10.1109\/TCBB.2015.2476796","article-title":"Multi-objective particle swarm optimization approach for cost-based feature selection in classification","volume":"14","author":"Zhang","year":"2017","journal-title":"IEEE\/ACM Trans. Comput. Biol. Bioinform."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"13497","DOI":"10.1109\/ACCESS.2019.2894676","article-title":"A review of ant colony optimization based methods for detecting epistatic interactions","volume":"7","author":"Shang","year":"2019","journal-title":"IEEE Access"},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"4370","DOI":"10.1016\/j.ygeno.2020.07.027","article-title":"Integration of multi-objective PSO based feature selection and node centrality for medical datasets","volume":"112","author":"Rostami","year":"2020","journal-title":"Genomics"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Almomani, O. (2020). A feature selection model for network intrusion detection system based on PSO, GWO, FFA and GA algorithms. Symmetry, 12.","DOI":"10.3390\/sym12061046"},{"key":"ref_16","first-page":"112","article-title":"Reflectance measurements of soils in the laboratory: Standards and protocols","volume":"245\u2013246","author":"Ong","year":"2015","journal-title":"Geoderma"},{"key":"ref_17","doi-asserted-by":"crossref","first-page":"1627","DOI":"10.1021\/ac60214a047","article-title":"Smoothing and differentiation of data by simplified least squares procedures","volume":"36","author":"Savitzky","year":"1964","journal-title":"Anal. Chem."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"241","DOI":"10.1016\/S0893-6080(05)80023-1","article-title":"Stacked generalization","volume":"5","author":"Wolpert","year":"1992","journal-title":"Neural Netw."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"2350","DOI":"10.1214\/aos\/1032181158","article-title":"Heuristics of instability and stabilization in model selection","volume":"24","author":"Breiman","year":"1996","journal-title":"Ann. Stat."},{"key":"ref_20","doi-asserted-by":"crossref","unstructured":"Hastie, T., Tibshirani, R., and Friedman, J. (2009). Support Vector Machines and Flexible Discriminants. The Elements of Statistical Learning: Data Mining, Inference, and Prediction, Springer.","DOI":"10.1007\/b94608_12"},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Pampel, F.C. (2020). Logistic Regression: A Primer, SAGE Publications.","DOI":"10.4135\/9781071878729"},{"key":"ref_22","doi-asserted-by":"crossref","unstructured":"Kramer, O. (2013). K-Nearest Neighbors. Dimensionality Reduction with Unsupervised Nearest Neighbors, Springer.","DOI":"10.1007\/978-3-642-38652-7"},{"key":"ref_23","doi-asserted-by":"crossref","first-page":"24","DOI":"10.1016\/j.isprsjprs.2016.01.011","article-title":"Random forest in remote sensing: A review of applications and future directions","volume":"114","author":"Belgiu","year":"2016","journal-title":"ISPRS J. Photogramm. Remote Sens."},{"key":"ref_24","doi-asserted-by":"crossref","unstructured":"Hastie, T., Tibshirani, R., and Friedman, J. (2009). Neural Networks. The Elements of Statistical Learning: Data Mining, Inference, and Prediction, Springer.","DOI":"10.1007\/978-0-387-84858-7"},{"key":"ref_25","doi-asserted-by":"crossref","unstructured":"Amor, N.B., Benferhat, S., and Elouedi, Z. (2004). Naive Bayes vs decision trees in intrusion detection systems. Proceedings of the 2004 ACM Symposium on Applied Computing, Association for Computing Machinery.","DOI":"10.1145\/967900.967989"},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"3494","DOI":"10.1016\/j.asoc.2013.03.021","article-title":"Modified binary PSO for feature selection using SVM applied to mortality prediction of septic patients","volume":"13","author":"Vieira","year":"2013","journal-title":"Appl. Soft Comput."},{"key":"ref_27","doi-asserted-by":"crossref","first-page":"29","DOI":"10.1016\/j.compbiolchem.2007.09.005","article-title":"Improved binary PSO for feature selection using gene expression data","volume":"32","author":"Chuang","year":"2008","journal-title":"Comput. Biol. Chem."},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"633","DOI":"10.1007\/s12161-018-01407-1","article-title":"Vis-NIR spectroscopy combined with wavelengths selection by PSO optimization algorithm for simultaneous determination of four quality parameters and classification of soy sauce","volume":"12","author":"Hu","year":"2019","journal-title":"Food Anal. Methods"},{"key":"ref_29","doi-asserted-by":"crossref","first-page":"831","DOI":"10.1366\/13-07294","article-title":"Soil organic carbon content estimation with laboratory-based visible\u2013near-infrared reflectance spectroscopy: Feature selection","volume":"68","author":"Shi","year":"2014","journal-title":"Appl. Spectrosc."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Yang, M., Xu, D., Chen, S., Li, H., and Shi, Z. (2019). Evaluation of machine learning approaches to predict soil organic matter and pH using vis-NIR spectra. Sensors, 19.","DOI":"10.3390\/s19020263"},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"103873","DOI":"10.1016\/j.chemolab.2019.103873","article-title":"A comparative study between a new method and other machine learning algorithms for soil organic carbon and total nitrogen prediction using near infrared spectroscopy","volume":"195","author":"Reda","year":"2019","journal-title":"Chemom. Intell. Lab. Syst."},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"1944","DOI":"10.1007\/s12161-018-1148-7","article-title":"Relation between near-infrared spectroscopy and physicochemical parameters for discrimination of honey samples from Jatai weyrauchi and Jatai angustula Bees","volume":"11","author":"Leme","year":"2018","journal-title":"Food Anal. Methods"},{"key":"ref_33","doi-asserted-by":"crossref","first-page":"88","DOI":"10.1016\/j.geoderma.2014.01.013","article-title":"Determination of soil properties with visible to near- and mid-infrared spectroscopy: Effects of spectral variable selection","volume":"223\u2013225","author":"Vohland","year":"2014","journal-title":"Geoderma"},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"453","DOI":"10.1111\/j.1365-2389.2009.01121.x","article-title":"Improved analysis and modelling of soil diffuse reflectance spectra using wavelets","volume":"60","author":"Lark","year":"2009","journal-title":"Eur. J. Soil Sci."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/14\/4882\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T06:31:23Z","timestamp":1760164283000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/14\/4882"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,7,17]]},"references-count":34,"journal-issue":{"issue":"14","published-online":{"date-parts":[[2021,7]]}},"alternative-id":["s21144882"],"URL":"https:\/\/doi.org\/10.3390\/s21144882","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,7,17]]}}}