Genetic Algorithm Artificial Neural Network in Near Infrared Spectroscopic Quantification

Hasan Ali Gamal Al-Kaf, Kim Seng Chia, Musaed Al-subari


 The implantation of a genetic algorithm (GA) in quantitating components of interest in near infrared spectroscopic analysis could improve the predictive ability of a regression model. Thus, this study investigates the feasibility of a single layer Artificial Neuron Network (ANN) that trained with Levenberg-Marquardt (SLM) coupled with GA in predicting the boiling point of diesel fuel and the blood hemoglobin using near infrared spectral data. The proposed model was compared with a well-known model of Partial Least Squares (PLS) with and without Genetic Algorithm. Results show that the proposed model achieved the best results with root mean square error of prediction (RMSEP) of 3.6734 and correlation coefficient of 0.9903 for the boiling point, and RMSEP of 0.2349 and correlation coefficient of 0.9874 among PLS with and without GA, and SLM without GA. Findings suggest that the proposed SLM-GA is insusceptible to the number of iterations when the SLM was trained with excessive iteration after the optimal iteration number. This indicates that the proposed model is capable of avoiding overfitting issue that due to excessive training iteration.

Full Text:



Koljonen J, Nordling TE, Alander JT. A review of genetic algorithms in near infrared spectroscopy and chemometrics: past and future. Journal of Near Infrared Spectroscopy. 2008; 16(3):189-97.

Bedboudi A, Bouras C, Kimour MT. An Heterogeneous Population-Based Genetic Algorithm for Data Clustering. Indonesian Journal of Electrical Engineering and Informatics. 2017; 5(3):275-84.

Khalid S. Performance Evaluation of GA optimized Shunt Active Power Filter for Constant Frequency Aircraft Power System. Indonesian Journal of Electrical Engineering and Informatics. 2016; 4(2):112-9.

Umar S, Sridevi G. Analysis of Genetic Algorithm for Effective Power Delivery and with Best Upsurge. Indonesian Journal of Electrical Engineering and Informatics. 2017;5(3):264-9.

Arakawa M, Yamashita Y, Funatsu K. Genetic algorithm‐based wavelength selection method for spectral calibration. Journal of Chemometrics. 2011;25(1):10-9.

Xie H, Zhao J, Wang Q, Sui Y, Wang J, Yang X, Zhang X, Liang C. Soil type recognition as improved by genetic algorithm-based variable selection using near infrared spectroscopy and partial least squares discriminant analysis. Scientific reports. 2015;5:10930.

Feng YZ, Sun DW. Near-infrared hyperspectral imaging in tandem with partial least squares regression and genetic algorithm for non-destructive determination and visualization of Pseudomonas loads in chicken fillets. Talanta. 2013;109:74-83.

Soares AS, de Lima TW, Soares FA, Coelho CJ, Federson FM, Delbem AC, Van Baalen J. Mutation-based compact genetic algorithm for spectroscopy variable selection in determining protein concentration in wheat grain. Electronics Letters. 2014; 50(13):932-4.

Lavine BK, White CG. Boosting the Performance of Genetic Algorithms for Variable Selection in Partial Least Squares Spectral Calibrations. Applied spectroscopy. 2017; 71(9):2092-101.

Silalahi DD, Reaño CE, Lansigan FP, Panopio RG, Bantayan NC. Using genetic algorithm neural network on near infrared spectral data for ripeness grading of oil palm (Elaeis guineensis Jacq.) fresh fruit. Information Processing in Agriculture. 2016; 3(4):252-61.

Shan H, Fei Y, Huan Y, Feng G, Fei Q. Quantitative near-infrared spectroscopic analysis of trimethoprim by artificial neural networks combined with modified genetic algorithm. Chemical Research in Chinese Universities. 2014; 30(4):582-6.

Al-kaf HA, Chia KS, Alduais NA. A comparison between single layer and multilayer artificial neural networks in predicting diesel fuel properties using near infrared spectrum. Petroleum Science and Technology. 2018; 36(6):411-8.

Xiaobo Z, Jiewen Z, Povey MJ, Holmes M, Hanpin M. Variables selection methods in near-infrared spectroscopy. Analytica Chimica Acta. 2010; 667(1-2):14-32.

B. I. Fred McClure, Chemometrics ShootOut Rules, International Diffuse Reflectance Conference 2012, 2012.

Mohd Nazrul Effendy Mohd Idrus and Kim Seng Chia. Partial Least Square with Savitzky Golay Derivative in Predicting Blood Hemoglobin Using Near Infrared Spectrum. MATEC Web Conf. 2018; 150(01001):1-6.

Babatunde OH, Armstrong L, Leng J, Diepeveen D. Zernike moments and genetic algorithm: Tutorial and application. British Journal of Mathematics & Computer Science, 2014; 4(15): 2217-2236.

Yarpiz. (2018). Binary and Real-Coded Genetic Algorithms in MATLAB - Yarpiz. [online] Available at: [Accessed 20 Feb. 2018]



  • There are currently no refbacks.

Copyright (c) 2019 APTIKOM Journal on Computer Science and Information Technologies

ISSN: 2722-323X, e-ISSN: 2722-3221

CSIT Stats


Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.