The Impact of Feature Selection on Predicting the Number of Bugs

Total Page:16

File Type:pdf, Size:1020Kb

The Impact of Feature Selection on Predicting the Number of Bugs The Impact of Feature Selection on Predicting the Number of Bugs Haidar Osman1, Mohammad Ghafari2, Oscar Nierstrasz2 1Swisscom AG, Switzerland 2Software Composition Group, University of Bern, Switzerland fosman, ghafari, [email protected] Abstract—Bug prediction is the process of training a machine in the bug prediction pipeline and its application might alter learning model on software metrics and fault information to previous findings in the literature, especially when it comes predict bugs in software entities. While feature selection is an to comparing different machine learning models or different important step in building a robust prediction model, there is insufficient evidence about its impact on predicting the number software metrics. of bugs in software systems. We study the impact of both In this paper we treat bug prediction as a regression problem correlation-based feature selection (CFS) filter methods and wrapper feature selection methods on five widely-used prediction where a bug predictor predicts the number of bugs in software models and demonstrate how these models perform with or entities as opposed to classifying software entities as buggy or without feature selection to predict the number of bugs in five clean. We investigate the impact of filter and wrapper feature different open source Java software systems. Our results show selection methods on the prediction accuracy of five machine that wrappers outperform the CFS filter; they improve prediction learning models: K-Nearest Neighbour, Linear Regression, accuracy by up to 33% while eliminating more than half of the features. We also observe that though the same feature selection Multilayer Perceptron, Random Forest, and Support Vector method chooses different feature subsets in different projects, Machine. More specifically, we carry out an empirical study this subset always contains a mix of source code and change on five open source Java projects: Eclipse JDT Core, Eclipse metrics. PDE UI, Equinox, Lucene, and Mylyn to answer the following research questions: I. INTRODUCTION In the field of machine learning, when there is a large num- RQ1: How does feature selection impact the prediction accu- ber of features, determining the smallest subset that exhibits racy? Our results show that applying correlation-based feature the strongest effect often decreases model complexity and selection (CFS) improves the prediction accuracy in 32% of increases prediction accuracy. This process is called feature the experiments, degrades it in 24%, and keeps it unchanged selection.1 There are two well-known types of feature selection in the rest. On the other hand, applying the wrapper feature methods: filters and wrappers. Filters select features based on selection method improves prediction accuracy by up to 33% their relevance to the response variable independently of the in 76% of the experiments and never degrades it in any prediction model. Wrappers select features that increase the experiment. However, the impact of feature selection varies prediction accuracy of the model. However, as with any design depending on the underlying machine learning model as dif- decision during the construction of a prediction model, one ferent models vary in their sensitivity to noisy, redundant, and needs to evaluate different feature selection methods in order correlated features in the data. We observe zero to negligible to choose one, and above all to assess whether it is needed or effect in the case of Random Forest models. not. RQ2: Are wrapper feature selection methods better than While there has been extensive research on the impact of filters? Wrapper feature selection methods are consistently arXiv:1807.04486v1 [cs.SE] 12 Jul 2018 feature selection on prediction models in different domains, either better than or similar to CFS. Applying wrapper feature our investigation reveals that it is a rarely studied topic in the selection eliminates noisy and redundant features and keeps domain of bug prediction. Few studies explore how feature only relevant features for that specific project, increasing the selection affects the accuracy of classifying software entities prediction accuracy of the machine learning model. into buggy or clean [1][2][3][4][5][6][7][8], but to the best RQ3: Do different methods choose different feature subsets? of our knowledge no dedicated study exists on the impact of We realize there is no optimal feature subset that works feature selection on the accuracy of predicting the number for every project and feature selection should be applied of bugs. As a result of this research gap, researchers often separately for each new project. We find that not only different overlook feature selection and provide their prediction models methods choose different feature subsets on the same projects, with all the metrics they have on a software project or in a but also the same feature selection method chooses different dataset. We argue that feature selection is a mandatory step feature subsets for different projects. Interestingly however, all 1Feature selection is also known as variable selection, attribute selection, selected feature subsets include a mix of change and source and variable subset selection. code metrics. TABLE I THE CK METRICS SUITE [13] AND OTHER OBJECT-ORIENTED METRICS INCLUDED AS THE SOURCE CODE METRICS IN THE BUG PREDICTION Total Error DATASET [14] Metric Name Description CBO Coupling Between Objects DIT Depth of Inheritance Tree FanIn Number of classes that reference the class FanOut Number of classes referenced by the class Optimum Model Complexity LCOM Lack of Cohesion in Methods Variance Error NOC Number Of Children NOA Number Of Attributes in the class NOIA Number Of Inherited Attributes in the class LOC Number of lines of code NOM Number Of Methods Bias2 NOIM Number of Inherited Methods NOPRA Number Of PRivate Atributes NOPRM Number Of PRivate Methods Model Complexity NOPA Number Of Public Atributes NOPM Number Of Public Methods RFC Response For Class Fig. 1. The relationship between model complexity and model error [9]. WMC Weighted Method Count In summary, this paper makes the following contributions: 1) A detailed comparison between filter and wrapper feature noise [10] and feature multicollinearity [11]. Different feature selection methods in the context of bug prediction as a selection algorithms eliminate this problem in different ways. regression problem. For instance, correlation based filter selection chooses features 2) A detailed analysis on the impact of feature selection with high correlation with the response variable and low on five widely-used machine learning models in the correlation with each other. literature. Also when we build a prediction model, we often favour less 3) A comparison between the selected features by different complex models over more complex ones due to the known methods. relationship between model complexity and model error, as The rest of this paper is organized as follows: In Section II, shown in Figure Figure 1. Feature selection algorithms try to we give a technical background about feature selection in reduce model complexity down to the sweet spot where the machine learning. We motivate our work in Section III, and total error is minimal. This point is called the optimum model show how we are the first to study wrapper feature selection complexity. Model error is computed via the mean squared methods when predicting the number of bugs. In Section IV, error (MSE) as: 1 PN ^ 2 we explain the experimental setup, discuss the results of our MSE = N i=1(Yi − Yi) ^ empirical study, and elaborate on the threats to validity of where Yi is the predicted value and Yi is the actual value. the results. Finally, we discuss the related work in Section V MSE can be decomposed into model bias and model variance showing how our findings are similar or different from the as: state of the art, then conclude this paper in Section VI. MSE = Bias2 + V ariance + IrreducibleError [12] Bias is the difference between the average prediction of our II. TECHNICAL BACKGROUND model to the true unknown value we are trying to predict. Trained on bug data and software metrics, a bug predictor Variance is the variability of a model prediction for a given is a machine learning model that predicts defective software data point. As can be seen in Figure Figure 1, reducing model entities using software metrics. The software metrics are called complexity increases the bias but decreases the variance. the independent variables or the features. The prediction itself Feature selection sacrifices a little bit of bias in order to reduce is called the response variable or the dependent variable. If variance and, consequently, the overall MSE. the response variable is the absence/presence of bugs then bug Every feature selection method consists of two parts: a prediction becomes a classification problem and the machine search strategy and a scoring function. The search strategy learning model is called a classifier. If the response variable guides the addition or removal of features to the subset at hand is the number of bugs in a software entity then bug prediction and the scoring function evaluates the performance of that is a regression problem and the model is called a regressor. subset. This process is repeated until no further improvement Feature selection is an essential part in any machine learning is observed. process. It aims at removing irrelevant and correlated features to achieve better accuracy, build faster models with stable III. MOTIVATION performance, and reduce the cost of collecting features for In this section, we shortly discuss the importance of pre- later models. Model error is known to be increased by both dicting the number of bugs in software entities. Then, we TABLE II to be considered as important as it should be in the field of THE CHANGE METRICS PROPOSED BY MOSER et al. [15] INCLUDED IN bug prediction. For instance, only 25 out of the 64 studied THE BUG PREDICTION DATASET [14] techniques in a recent research apply feature selection before training a machine learning model [26].
Recommended publications
  • A New Wrapper Feature Selection Approach Using Neural Network
    View metadata, citation and similar papers at core.ac.uk brought to you by CORE provided by Community Repository of Fukui Neurocomputing 73 (2010) 3273–3283 Contents lists available at ScienceDirect Neurocomputing journal homepage: www.elsevier.com/locate/neucom A new wrapper feature selection approach using neural network Md. Monirul Kabir a, Md. Monirul Islam b, Kazuyuki Murase c,n a Department of System Design Engineering, University of Fukui, Fukui 910-8507, Japan b Department of Computer Science and Engineering, Bangladesh University of Engineering and Technology (BUET), Dhaka 1000, Bangladesh c Department of Human and Artificial Intelligence Systems, Graduate School of Engineering, and Research and Education Program for Life Science, University of Fukui, Fukui 910-8507, Japan article info abstract Article history: This paper presents a new feature selection (FS) algorithm based on the wrapper approach using neural Received 5 December 2008 networks (NNs). The vital aspect of this algorithm is the automatic determination of NN architectures Received in revised form during the FS process. Our algorithm uses a constructive approach involving correlation information in 9 November 2009 selecting features and determining NN architectures. We call this algorithm as constructive approach Accepted 2 April 2010 for FS (CAFS). The aim of using correlation information in CAFS is to encourage the search strategy for Communicated by M.T. Manry Available online 21 May 2010 selecting less correlated (distinct) features if they enhance accuracy of NNs. Such an encouragement will reduce redundancy of information resulting in compact NN architectures. We evaluate the Keywords: performance of CAFS on eight benchmark classification problems. The experimental results show the Feature selection essence of CAFS in selecting features with compact NN architectures.
    [Show full text]
  • ``Preconditioning'' for Feature Selection and Regression in High-Dimensional Problems
    The Annals of Statistics 2008, Vol. 36, No. 4, 1595–1618 DOI: 10.1214/009053607000000578 © Institute of Mathematical Statistics, 2008 “PRECONDITIONING” FOR FEATURE SELECTION AND REGRESSION IN HIGH-DIMENSIONAL PROBLEMS1 BY DEBASHIS PAUL,ERIC BAIR,TREVOR HASTIE1 AND ROBERT TIBSHIRANI2 University of California, Davis, Stanford University, Stanford University and Stanford University We consider regression problems where the number of predictors greatly exceeds the number of observations. We propose a method for variable selec- tion that first estimates the regression function, yielding a “preconditioned” response variable. The primary method used for this initial regression is su- pervised principal components. Then we apply a standard procedure such as forward stepwise selection or the LASSO to the preconditioned response variable. In a number of simulated and real data examples, this two-step pro- cedure outperforms forward stepwise selection or the usual LASSO (applied directly to the raw outcome). We also show that under a certain Gaussian la- tent variable model, application of the LASSO to the preconditioned response variable is consistent as the number of predictors and observations increases. Moreover, when the observational noise is rather large, the suggested proce- dure can give a more accurate estimate than LASSO. We illustrate our method on some real problems, including survival analysis with microarray data. 1. Introduction. In this paper, we consider the problem of fitting linear (and other related) models to data for which the number of features p greatly exceeds the number of samples n. This problem occurs frequently in genomics, for exam- ple, in microarray studies in which p genes are measured on n biological samples.
    [Show full text]
  • Feature Selection Via Dependence Maximization
    JournalofMachineLearningResearch13(2012)1393-1434 Submitted 5/07; Revised 6/11; Published 5/12 Feature Selection via Dependence Maximization Le Song [email protected] Computational Science and Engineering Georgia Institute of Technology 266 Ferst Drive Atlanta, GA 30332, USA Alex Smola [email protected] Yahoo! Research 4301 Great America Pky Santa Clara, CA 95053, USA Arthur Gretton∗ [email protected] Gatsby Computational Neuroscience Unit 17 Queen Square London WC1N 3AR, UK Justin Bedo† [email protected] Statistical Machine Learning Program National ICT Australia Canberra, ACT 0200, Australia Karsten Borgwardt [email protected] Machine Learning and Computational Biology Research Group Max Planck Institutes Spemannstr. 38 72076 Tubingen,¨ Germany Editor: Aapo Hyvarinen¨ Abstract We introduce a framework for feature selection based on dependence maximization between the selected features and the labels of an estimation problem, using the Hilbert-Schmidt Independence Criterion. The key idea is that good features should be highly dependent on the labels. Our ap- proach leads to a greedy procedure for feature selection. We show that a number of existing feature selectors are special cases of this framework. Experiments on both artificial and real-world data show that our feature selector works well in practice. Keywords: kernel methods, feature selection, independence measure, Hilbert-Schmidt indepen- dence criterion, Hilbert space embedding of distribution 1. Introduction In data analysis we are typically given a set of observations X = x1,...,xm X which can be { } used for a number of tasks, such as novelty detection, low-dimensional representation,⊆ or a range of . Also at Intelligent Systems Group, Max Planck Institutes, Spemannstr.
    [Show full text]
  • Feature Selection in Convolutional Neural Network with MNIST Handwritten Digits
    Feature Selection in Convolutional Neural Network with MNIST Handwritten Digits Zhuochen Wu College of Engineering and Computer Science, Australian National University [email protected] Abstract. Feature selection is an important technique to improve neural network performances due to the redundant attributes and the massive amount in original data sets. In this paper, a CNN with two convolutional layers followed by a dropout, then two fully connected layers, is equipped with a feature selection algorithm. Accuracy rate of the networks with different attribute input weight as zero are calculated and ranked so that the machine can decide which attribute is the least important for each run of the algorithm. The algorithm repeats itself to remove multiple attributes. When the network will not achieve a satisfying accuracy rate as defined in the algorithm, the process terminates and no more attributes to be removed. A CNN is chosen the image recognition task and one dropout is applied to reduce the overfitting of training data. This implementation of deep learning method proves its ability to rise accuracy and neural network performance with up to 80% less attributes fed in. This paper also compares the technique with other the result of LeNet-5 to see the differences and common facts. Keywords: CNN, Feature selection, Classification, Real world problem, Deep learning 1. Introduction Feature selection has been a focus in many study domains like econometrics, statistics and pattern recognition. It is a process to select a subset of attributes in given data and improve the algorithm performance in efficient and accuracy, etc. It is commonly understood that the more features being fed into a neural network, the more information machine could learn from in order to achieve a better outcome.
    [Show full text]
  • Classification with Costly Features Using Deep Reinforcement Learning
    Classification with Costly Features using Deep Reinforcement Learning Jarom´ır Janisch and Toma´sˇ Pevny´ and Viliam Lisy´ Artificial Intelligence Center, Department of Computer Science Faculty of Electrical Engineering, Czech Technical University in Prague jaromir.janisch, tomas.pevny, viliam.lisy @fel.cvut.cz f g Abstract y1 We study a classification problem where each feature can be y2 acquired for a cost and the goal is to optimize a trade-off be- af3 af5 af1 ac tween the expected classification error and the feature cost. We y3 revisit a former approach that has framed the problem as a se- ··· quential decision-making problem and solved it by Q-learning . with a linear approximation, where individual actions are ei- . ther requests for feature values or terminate the episode by providing a classification decision. On a set of eight problems, we demonstrate that by replacing the linear approximation Figure 1: Illustrative sequential process of classification. The with neural networks the approach becomes comparable to the agent sequentially asks for different features (actions af ) and state-of-the-art algorithms developed specifically for this prob- finally performs a classification (ac). The particular decisions lem. The approach is flexible, as it can be improved with any are influenced by the observed values. new reinforcement learning enhancement, it allows inclusion of pre-trained high-performance classifier, and unlike prior art, its performance is robust across all evaluated datasets. a different subset of features can be selected for different samples. The goal is to minimize the expected classification Introduction error, while also minimizing the expected incurred cost.
    [Show full text]
  • Feature Selection for Regression Problems
    Feature Selection for Regression Problems M. Karagiannopoulos, D. Anyfantis, S. B. Kotsiantis, P. E. Pintelas unreliable data, then knowledge discovery Abstract-- Feature subset selection is the during the training phase is more difficult. In process of identifying and removing from a real-world data, the representation of data training data set as much irrelevant and often uses too many features, but only a few redundant features as possible. This reduces the of them may be related to the target concept. dimensionality of the data and may enable There may be redundancy, where certain regression algorithms to operate faster and features are correlated so that is not necessary more effectively. In some cases, correlation coefficient can be improved; in others, the result to include all of them in modelling; and is a more compact, easily interpreted interdependence, where two or more features representation of the target concept. This paper between them convey important information compares five well-known wrapper feature that is obscure if any of them is included on selection methods. Experimental results are its own. reported using four well known representative regression algorithms. Generally, features are characterized [2] as: 1. Relevant: These are features which have Index terms: supervised machine learning, an influence on the output and their role feature selection, regression models can not be assumed by the rest 2. Irrelevant: Irrelevant features are defined as those features not having any influence I. INTRODUCTION on the output, and whose values are generated at random for each example. In this paper we consider the following 3. Redundant: A redundancy exists regression setting.
    [Show full text]
  • Gaussian Universal Features, Canonical Correlations, and Common Information
    Gaussian Universal Features, Canonical Correlations, and Common Information Shao-Lun Huang Gregory W. Wornell, Lizhong Zheng DSIT Research Center, TBSI, SZ, China 518055 Dept. EECS, MIT, Cambridge, MA 02139 USA Email: [email protected] Email: {gww, lizhong}@mit.edu Abstract—We address the problem of optimal feature selection we define a rotation-invariant ensemble (RIE) that assigns a for a Gaussian vector pair in the weak dependence regime, uniform prior for the unknown attributes, and formulate a when the inference task is not known in advance. In particular, universal feature selection problem that aims to select optimal we show that multiple formulations all yield the same solution, and correspond to the singular value decomposition (SVD) of features minimizing the averaged MSE over RIE. We show the canonical correlation matrix. Our results reveal key con- that the optimal features can be obtained from the SVD nections between canonical correlation analysis (CCA), principal of a canonical dependence matrix (CDM). In addition, we component analysis (PCA), the Gaussian information bottleneck, demonstrate that in a weak dependence regime, this SVD Wyner’s common information, and the Ky Fan (nuclear) norms. also provides the optimal features and solutions for several problems, such as CCA, information bottleneck, and Wyner’s common information, for jointly Gaussian variables. This I. INTRODUCTION reveals important connections between information theory and Typical applications of machine learning involve data whose machine learning problems. dimension is high relative to the amount of training data that is available. As a consequence, it is necessary to perform di- mensionality reduction before the regression or other inference II.
    [Show full text]
  • Feature Selection for Unsupervised Learning
    Journal of Machine Learning Research 5 (2004) 845–889 Submitted 11/2000; Published 8/04 Feature Selection for Unsupervised Learning Jennifer G. Dy [email protected] Department of Electrical and Computer Engineering Northeastern University Boston, MA 02115, USA Carla E. Brodley [email protected] School of Electrical and Computer Engineering Purdue University West Lafayette, IN 47907, USA Editor: Stefan Wrobel Abstract In this paper, we identify two issues involved in developing an automated feature subset selec- tion algorithm for unlabeled data: the need for finding the number of clusters in conjunction with feature selection, and the need for normalizing the bias of feature selection criteria with respect to dimension. We explore the feature selection problem and these issues through FSSEM (Fea- ture Subset Selection using Expectation-Maximization (EM) clustering) and through two different performance criteria for evaluating candidate feature subsets: scatter separability and maximum likelihood. We present proofs on the dimensionality biases of these feature criteria, and present a cross-projection normalization scheme that can be applied to any criterion to ameliorate these bi- ases. Our experiments show the need for feature selection, the need for addressing these two issues, and the effectiveness of our proposed solutions. Keywords: clustering, feature selection, unsupervised learning, expectation-maximization 1. Introduction In this paper, we explore the issues involved in developing automated feature subset selection algo- rithms for unsupervised learning. By unsupervised learning we mean unsupervised classification, or clustering. Cluster analysis is the process of finding “natural” groupings by grouping “similar” (based on some similarity measure) objects together. For many learning domains, a human defines the features that are potentially useful.
    [Show full text]
  • Feature Selection Convolutional Neural Networks for Visual Tracking Zhiyan Cui, Na Lu*
    1 Feature Selection Convolutional Neural Networks for Visual Tracking Zhiyan Cui, Na Lu* Abstract—Most of the existing tracking methods based on such amount of data for tracking to train a deep network. CNN(convolutional neural networks) are too slow for real-time MDNet [12] is a novel solution for tracking problem with application despite the excellent tracking precision compared detection method. It is trained by learning the shared with the traditional ones. Moreover, neural networks are memory intensive which will take up lots of hardware resources. In this representations of targets from multiple video sequences, paper, a feature selection visual tracking algorithm combining where each video is regarded as a separate domain. There CNN based MDNet(Multi-Domain Network) and RoIAlign was are several branches in the last layer of the network for developed. We find that there is a lot of redundancy in feature binary classification and each of them is corresponding to maps from convolutional layers. So valid feature maps are a video sequence. The preceding layers are in charge of selected by mutual information and others are abandoned which can reduce the complexity and computation of the network and capturing common representations of targets. While tracking, do not affect the precision. The major problem of MDNet also lies the last layer is removed and a new single branch is added in the time efficiency. Considering the computational complexity to the network to compute the scores in the test sequences. of MDNet is mainly caused by the large amount of convolution Parameters in the fully-connected layers are fine-tuned online operations and fine-tuning of the network during tracking, a during tracking.
    [Show full text]
  • Feature Selection
    Feature Selection Suhang Wang, Jiliang Tang and Huan Liu Arizona State University Abstract Data dimensionality is growing exponentially, which poses chal- lenges to the vast majority of existing mining and learning algorithms, such as the curse of dimensionality, large storage requirement, and high computational cost. Feature selection has been proven to be an effec- tive and efficient way to prepare high dimensional data for data mining and machine learning. The recent emergence of novel techniques and new types of data and features not only advances existing feature se- lection research but also makes feature selection evolve more rapidly, becoming applicable to a broader range of applications. In this article, we aim to provide a basic introduction to feature selection including basic concepts, classifications of existing systems, recent development, and applications. Synonyms: Feature subset selection, Feature weighting, Attributes selec- tion Definition (or Synopsis): Feature selection, as a dimensionality reduction technique, aims to choosing a small subset of the relevant features from the original ones by removing irrelevant, redundant or noisy features. Feature selection usually leads to better learning performance, i.e., higher learning accuracy, lower computational cost, and better model interpretability. Generally speaking, irrelevant features are features that cannot discrim- inate samples from different classes(supervised) or clusters(unsupervised). Removing irrelevant features will not affect learning performance. In fact, removal of irrelevant features may help learn a better model, as irrelevant features may confuse the learning system and cause memory and computa- tion inefficiency. For example, in figure 1(a), f1 is a relevant feature because f1 can discriminate class1 and class2.
    [Show full text]
  • Concrete Autoencoders
    Differentiable Feature Selection with Concrete Autoencoders Abubakar Abid★ Muhammed Fatih Balin★ James Zou Poster: Thu Jun 13th 06:30 - 09:00 PM @ Pacific Ballroom #188 Unsupervised Feature Selection (UFS) is Widely Used in Machine Learning ● Identify the subset of most informative features in dataset ● Simplifies the process of training models ● Especially useful if the data is difficult or expensive to collect Differentiable Feature Selection and Reconstruction with Concrete Autoencoders 2 Unsupervised Feature Selection (UFS) is Used Widely in Applied ML ● Example: the L1000 Landmark Genes [Lamb et al., 2006] All Genes L1000 Genes All Genes Samples Samples Samples Recons truction Feature Selection Differentiable Feature Selection and Reconstruction with Concrete Autoencoders 3 UFS Methods Typically Rely on Regularization Unsupervised Discriminative Feature Selection (UDFS) [Yang et al., 2011] Multi-Cluster Feature Selection (MCFS) All based on [Cai et al., 2010] L1 or L21 regularization Autoencoder Feature Selection (AEFS) [Han et al., 2017] Differentiable Feature Selection and Reconstruction with Concrete Autoencoders 4 What about directly backpropagating through discrete “feature selection” nodes? Differentiable Feature Selection and Reconstruction with Concrete Autoencoders 5 What about directly backpropagating through discrete “feature selection” nodes? Replace the weights of the encoder with parameters of a Concrete Random Variable (Maddison, 2016) Differentiable Feature Selection and Reconstruction with Concrete Autoencoders 6
    [Show full text]
  • A Comparative Study on the Effect of Feature Selection on Classification Accuracy
    Available online at www.sciencedirect.com Procedia Technology 1 ( 2012 ) 323 – 327 INSODE 2011 A comparative study on the effect of feature selection on classification accuracy Esra Mahsereci Karabuluta*, Selma Ayşe Özelb, Turgay İbrikçib,c a Gaziantep University, Gaziantep Vocational High School, Şehitkamil/Gaziantep, 27310, Turkey b Çukurova University, Electrical-Electronics Engineering Department, Balcalı/Adana, 01330, Turkey c Çukurova University,Computer Engineering Department, Balcalı/Adana, 01330, Turkey Abstract Feature selection has become interest to many research areas which deal with machine learning and data mining, because it provides the classifiers to be fast, cost-effective, and more accurate. In this paper the effect of feature selection on the accuracy of NaïveBayes, Artificial Neural Network as Multilayer Perceptron, and J48 decision tree classifiers is presented. These classifiers are compared with fifteen real datasets which are pre-processed with feature selection methods. Up to 15.55% improvement in classification accuracy is observed, and Multilayer Perceptron appears to be the most sensitive classifier to feature selection. Keywords: feature selection; classification; accuracy; Naïve Bayes; multilayer perceptron 1. Introduction Feature selection is the process of removing redundant or irrelevant features from the original data set. So the execution time of the classifier that processes the data reduces, also accuracy increases because irrelevant features can include noisy data affecting the classification accuracy negatively [1]. With feature selection the understandability can be improved and cost of data handling becomes smaller [2]. Feature selection algorithms are divided into three categories; filters, wrappers and embedded selectors. Filters evaluate each feature independent from the classifier, rank the features after evaluation and take the superior ones [3].
    [Show full text]