scholarly journals Fault Localization Method Based on Enhanced GA-BP Neural Network

2016 ◽  
Author(s):  
Bei zhang
Author(s):  
W. ERIC WONG ◽  
YU QI

In program debugging, fault localization identifies the exact locations of program faults. Finding these faults using an ad-hoc approach or based only on programmers' intuitive guesswork can be very time consuming. A better way is to use a well-justified method, supported by case studies for its effectiveness, to automatically identify and prioritize suspicious code for an examination of possible fault locations. To do so, we propose the use of a back-propagation (BP) neural network, a machine learning model which has been successfully applied to software risk analysis, cost prediction, and reliability estimation, to help programmers effectively locate program faults. A BP neural network is suitable for learning the input-output relationship from a set of data, such as the inputs and the corresponding outputs of a program. We first train a BP neural network with the coverage data (statement coverage in our case) and the execution result (success or failure) collected from executing a program, and then we use the trained network to compute the suspiciousness of each executable statement, in terms of its likelihood of containing faults. Suspicious code is ranked in descending order based on its suspiciousness. Programmers will examine such code from the top of the rank to identify faults. Four case studies on different programs (the Siemens suite, the Unix suite, grep and gzip) are conducted. Our results suggest that a BP neural network-based fault localization method is effective in locating program faults.


2020 ◽  
Vol 39 (6) ◽  
pp. 8823-8830
Author(s):  
Jiafeng Li ◽  
Hui Hu ◽  
Xiang Li ◽  
Qian Jin ◽  
Tianhao Huang

Under the influence of COVID-19, the economic benefits of shale gas development are greatly affected. With the large-scale development and utilization of shale gas in China, it is increasingly important to assess the economic impact of shale gas development. Therefore, this paper proposes a method for predicting the production of shale gas reservoirs, and uses back propagation (BP) neural network to nonlinearly fit reservoir reconstruction data to obtain shale gas well production forecasting models. Experiments show that compared with the traditional BP neural network, the proposed method can effectively improve the accuracy and stability of the prediction. There is a nonlinear correlation between reservoir reconstruction data and gas well production, which does not apply to traditional linear prediction methods


2016 ◽  
Vol 6 (2) ◽  
pp. 942-952
Author(s):  
Xicun ZHU ◽  
Zhuoyuan WANG ◽  
Lulu GAO ◽  
Gengxing ZHAO ◽  
Ling WANG

The objective of the paper is to explore the best phenophase for estimating the nitrogen contents of apple leaves, to establish the best estimation model of the hyperspectral data at different phenophases. It is to improve the apple trees precise fertilization and production management. The experiments were done in 20 orchards in the field, measured hyperspectral data and nitrogen contents of apple leaves at three phenophases in two years, which were shoot growth phenophase, spring shoots pause growth phenophase, autumn shoots pause growth phenophase. The study analyzed the nitrogen contents of apple leaves with its original spectral and first derivative, screened sensitive wavelengths of each phenophase. The hyperspectral parameters were built with the sensitive wavelengths. Multiple stepwise regressions, partial least squares and BP neural network model were adopted in the study. The results showed that 551 nm, 716 nm, 530 nm, 703 nm; 543 nm, 705 nm, 699 nm, 756 nm and 545 nm, 702 nm, 695 nm, 746 nm were sensitive wavelengths of three phenophases. R551+R716, R551*R716, FDR530+FDR703, FDR530*FDR703; R543+R705, R543*R705, FDR699+FDR756, FDR699*FDR756and R545+R702, R545*R702, FDR695+FDR746, FDR695*FDR746 were the best hyperspectral parameters of each phenophase. Of all the estimation models, the estimated effect of shoot growth phenophase was better than other two phenophases, so shoot growth phenophase was the best phenophase to estimate the nitrogen contents of apple leaves based on hyperspectral models. In the three models, the 4-3-1 BP neural network model of shoot growth phenophase was the best estimation model. The R2 of estimated value and measured value was 0.6307, RE% was 23.37, RMSE was 0.6274.


Sign in / Sign up

Export Citation Format

Share Document