scholarly journals Two-Pass Technique for Clone Detection and Type Classification Using Tree-Based Convolution Neural Network

2021 ◽  
Vol 11 (14) ◽  
pp. 6613
Author(s):  
Young-Bin Jo ◽  
Jihyun Lee ◽  
Cheol-Jung Yoo

Appropriate reliance on code clones significantly reduces development costs and hastens the development process. Reckless cloning, in contrast, reduces code quality and ultimately adds costs and time. To avoid this scenario, many researchers have proposed methods for clone detection and refactoring. The developed techniques, however, are only reliably capable of detecting clones that are either entirely identical or that only use modified identifiers, and do not provide clone-type information. This paper proposes a two-pass clone classification technique that uses a tree-based convolution neural network (TBCNN) to detect multiple clone types, including clones that are not wholly identical or to which only small changes have been made, and automatically classify them by type. Our method was validated with BigCloneBench, a well-known and wildly used dataset of cloned code. Our experimental results validate that our technique detected clones with an average rate of 96% recall and precision, and classified clones with an average rate of 78% recall and precision.

2020 ◽  
Vol 38 (2A) ◽  
pp. 255-264
Author(s):  
Hanan A. R. Akkar ◽  
Sameem A. Salman

Computer vision and image processing are extremely necessary for medical pictures analysis. During this paper, a method of Bio-inspired Artificial Intelligent (AI) optimization supported by an artificial neural network (ANN) has been widely used to detect pictures of skin carcinoma. A Moth Flame Optimization (MFO) is utilized to educate the artificial neural network (ANN). A different feature is an extract to train the classifier. The comparison has been formed with the projected sample and two Artificial Intelligent optimizations, primarily based on classifier especially with, ANN-ACO (ANN training with Ant Colony Optimization (ACO)) and ANN-PSO (training ANN with Particle Swarm Optimization (PSO)). The results were assessed using a variety of overall performance measurements to measure indicators such as Average Rate of Detection (ARD), Average Mean Square error (AMSTR) obtained from training, Average Mean Square error (AMSTE) obtained for testing the trained network, the Average Effective Processing Time (AEPT) in seconds, and the Average Effective Iteration Number (AEIN). Experimental results clearly show the superiority of the proposed (ANN-MFO) model with different features.


2019 ◽  
Author(s):  
CHIEN WEI ◽  
Chi Chow Julie ◽  
Chou Willy

UNSTRUCTURED Backgrounds: Dengue fever (DF) is an important public health issue in Asia. However, the disease is extremely hard to detect using traditional dichotomous (i.e., absent vs. present) evaluations of symptoms. Convolution neural network (CNN), a well-established deep learning method, can improve prediction accuracy on account of its usage of a large number of parameters for modeling. Whether the HT person fit statistic can be combined with CNN to increase the prediction accuracy of the model and develop an application (APP) to detect DF in children remains unknown. Objectives: The aim of this study is to build a model for the automatic detection and classification of DF with symptoms to help patients, family members, and clinicians identify the disease at an early stage. Methods: We extracted 19 feature variables of DF-related symptoms from 177 pediatric patients (69 diagnosed with DF) using CNN to predict DF risk. The accuracy of two sets of characteristics (19 symptoms and four other variables, including person mean, standard deviation, and two HT-related statistics matched to DF+ and DF−) for predicting DF, were then compared. Data were separated into training and testing sets, and the former was used to predict the latter. We calculated the sensitivity (Sens), specificity (Spec), and area under the receiver operating characteristic curve (AUC) across studies for comparison. Results: We observed that (1) the 23-item model yields a higher accuracy rate (0.95) and AUC (0.94) than the 19-item model (accuracy = 0.92, AUC = 0.90) based on the 177-case training set; (2) the Sens values are almost higher than the corresponding Spec values (90% in 10 scenarios) for predicting DF; (3) the Sens and Spec values of the 23-item model are consistently higher than those of the 19-item model. An APP was subsequently designed to detect DF in children. Conclusion: The 23-item model yielded higher accuracy rates (0.95) and AUC (0.94) than the 19-item model (accuracy = 0.92, AUC = 0.90). An APP could be developed to help patients, family members, and clinicians discriminate DF from other febrile illnesses at an early stage.


Sign in / Sign up

Export Citation Format

Share Document