Attribute of Wisconsin Breast Cancer Dataset
The extensive use of computers and information technology has led toward the creation of extensive data repositories from a very wide variety of application areas . Such vast data repositories can contribute significantly towards future decision making provided appropriate knowledge discovery mechanisms are applied for extracting hidden, but potentially useful information embedded into the data .
Data mining (DM) is one of the phases in knowledge discovery in databases.It is the process of extracting the useful information and knowledge in which the data is abundant, incomplete, ambiguous and random , , . DM is defined as an automated or semi-automated exploratory data analysis of large complex data sets that can be used to uncover patterns and relationships in data with an emphasis on large observational databases .Modern statistical and computational technologies are applied to the problem in order to find useful patterns hidden withina large database , , .To uncover hidden trends and patterns, DM uses a combination of an explicit knowledge base, sophisticated analytical skills, and domain knowledge.In effect, the predictive models formed from the trends and patterns through DM enable analysts to produce new observations from existing data. DM methods can also be viewed as statistical computation, artificial intelligence (AI) and database approach.However, these methods are not replacing the existing traditional statistics; in fact, it is an extension of traditional techniques.For example, its techniques have been applied to uncover hidden information and predict future trends in financial markets.Competitive advantages achieved by DM in business and finance include increased revenue, reduced cost, and improved market place responsiveness and awareness . It has also been used to derive new information that could be integrated in decision support, forecasting and estimation to help business gain competitive advantage .In higher educational institutions, DM can be used in the process of uncovering hidden trends and patterns that help them in forecasting the students’ achievement.For instance, by using DM approach, a university could predict the accuracy percentage of students’ graduation status, whether students will or will not be graduated, the variety of outcomes, such as transferability, persistence, retention, and course success, .
The objective of this study is to investigate the impact of various data representations on predictive data mining models.In the task of prediction, one particular predictive model might give the best result for one data set but gives a poor results in another data set although these two datasets contain the same data with different representations ,,, .This study focuses on two predictive data mining models, which are commonly used for prediction purposes, namely neural network (NN) and regression model.A medical data set (known as Wisconsin Breast Cancer) and a business data (German credit) that has Boolean targets are used for experimental purposes to investigate the impact of various data representation on predictive DM model. Seven data representations are employed for this study; they are As_Is, Min Max normalization, standard deviation normalization, sigmoidal normalization, thermometer representation, flag representation and simple binary representation.
This chapter is organized as follows.The second section describes data mining, and data representation is described in the third section.The methodology and the experiments for carrying out the investigations are covered in Section 4.The results are the subject of discussion which is presented in Section 5.Finally, the conclusion and future research are presented in Section 6.
2. Data mining
It is well known that DM is capable of providing highly accurate information to support decision-making and forecasting for scientific, physiology, sociology, the military and business decision making .DM is a powerful technology with great potential such that it helps users focus on the most important information stored in data warehouses or streamed through communication lines.DM has a potential to answer questions that were very time-consuming to resolve in the past.In addition, DM can predict future trends and behavior, allowing us to make proactive, knowledge-driven decisions .
NN, decision trees, and logistic regression are three classification models that are commonly used in comparative studies . These models have been applied to a prostate cancer data set obtained from SEER (the Surveillance, Epidemiology), and results program of the National Cancer Institute. The results from the study show that NN performed best with the highest accuracy, sensitivity and specificity, followed by decision tree and then logistic regression.Similar models have been applied to detect credit card fraud. The results indicate that NN give better performance than logistic regression and decision tree .
3. Data representation
Data representation plays a crucial role on the performance of NN, “especially for the applications of NNs in a real world." In data representation study, used NNs to extrapolate the presence of mercury in human blood from animal data.The effect of different data representations such as
,  used five different data representations (
In another study,  investigate the performance of data representation formats such as
Numerical encoding schemes (
 conducted an empirical study based on a theoretical provided by  to support the findings that input data manipulation could improve neural learning in NN.In addition,  evaluated the impact of the modified training sets and how the learning process depends on data distribution within the training sets.NN training was performed on input data set that has been arranged so that three different sets are produced with each set having a different number of occurrences of 1’s and 0’s. The
The methodology for this research is being adapted from  by using different data representations on the data set, and the steps involved in carrying out the studies are shown in Figure1 .The study starts with data collection, followed by data preparation stage, analysis and experiment stage, and finally, investigation and comparison stage.
4.1. Data collection
At this stage, data sets have been acquired through the UCI machine learning repository which can be accessed at http://archive.ics.uci.edu/ml/ datasets.html. The UCI Machine Learning Repository is a collection of databases, domain theories, and data generators that are used by the machine learning community for conducting empirical studieson machine learning algorithms. Two types of data have been obtained from UCI; they are Wisconsin Breast Cancer data set and German credit data set.
4.2. Data preparation
After the data has been collected in the previous stage, data preparation would be performed to prepare the data for the experiment in the next stage. Each attribute is examined and missing values are treated prior to training.
4.2.1. Data description
In this study, two sets of data are used, namely Wisconsin Breast Cancer and German Credit.Each data set is described in details in the following subsections.
220.127.116.11. Wisconsin breast cancer data set
Wisconsin breast cancer data set is originated from University of Wisconsin Hospitals, Madison donated by Dr. William H. Wolberg. Each instance or data object from the data represents one patient record.Each record comprises of information about Breast Cancer patient whose cancer condition is either benign or malignant.A total of 699 cases in the data set with nine attributes (excluding Sample Code Number) that represent independent variables and one attribute, i.e. Class represent the output or dependent variable.
Table 1 describes the attribute in the data set, code which represents the short form for this attribute, type, which shows the data type for particular attribute, domain, which represents the possible range in the value and the last column,showsthe missing values in all attributes in the study. From Table 1, only one attribute has been missing values (a total of 16 instances), and this attribute is Bare Nuclei.
|1||Sample code number||CodeNum||Continues||Id number||0|
|2||Clump Thickness||CTHick||Discrete||1 – 10||0|
|3||Uniformity of Cell Size||CellSize||Discrete||1 – 10||0|
|4||Uniformity of Cell Shape||CellShape||Discrete||1 – 10||0|
|5||Marginal Adhesion||MarAd||Discrete||1 – 10||0|
|6||Single Epithelial Cell Size||EpiCells||Discrete||1 – 10||0|
|7||Bare Nuclei||BareNuc||Discrete||1 – 10||16|
|8||Bland Chromatin||BLChr||Discrete||1 – 10||0|
|9||Normal Nucleoli||NormNuc||Discrete||1 – 10||0|
|10||Mitoses||Mito||Discrete||1 – 10||0|
|11||Class:||Cl||Discrete||2 for benign|
4 for malignant
Based on the condition of Breast Cancer patients, a total of 65.5% (458) of them has benign condition and the rest (34.5% or 241) is Malignant.
18.104.22.168. German credit dataset
German credit data set classifies applicants as good or bad credit risk based upon a set of attributes specified by financial institutions. The original data set is provided by Professor Hofmann contains categorical and symbolic attributes.A total of 1000 instances have been provided with 20 attributes, excluding the German Credit Class (Table 2). The applicants are classified as good credit risk (700) or bad (300) with no missing value in this data set.
|1||Status of existing checking account||SECA||Discrete||1, 2, 3, 4||0|
|2||Duration in month||DurMo||Continuous||4- 72||0|
|3||Credit history||CreditH||Discrete||0, 1, 2, 3, 4||0|
|4||Purpose||Purpose||Discrete||0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10||0|
|5||Credit amount||CreditA||Continuous||250 - 18424||0|
|6||Savings account/bonds||SavingA||Discrete||1, 2, 3, 4, 5||0|
|7||Present employment since||EmploPe||Discrete||1, 2, 3, 4, 5||0|
|8||Instalment rate in percentage of disposable income||InstalRate||Continuous||2 – 4||0|
|9||Personal status||PersonalS||Discrete||1, 2, 3, 4, 5||0|
|10||Other debtors / guarantors||OtherDep||Discrete||1, 2, 3||0|
|11||Present residence since||PresentRe||Discrete||1 – 4||0|
|12||Property||Property||Discrete||1, 2, 3, 4||0|
|13||Age in years||Age||Continuous||19 – 75||0|
|14||Other instalment plans||OtherInst||Discrete||1, 2, 3||0|
|15||Housing||Housing||Discrete||1, 2, 3||0|
|16||Number of existing credits at bank||NumCBnk||Discrete||1,2,3||0|
|17||Job||Job||Discrete||1, 2, 3, 4||0|
|18||Number of people being liable to provide maintenance for||Numppl||Discrete||1, 2||0|
|20||Foreign worker||ForgnWor||Discrete||1, 2||0|
|21||German Credit Class||GCL||Discrete||1 good|
4.2.2. Data cleaning
Before using the data that has been collected in the previous stage, missing values should be identified. Several methods that could be performed to solve missing values on data, such as deleting the attributes or instances, replacing the missing values with the mean value of a particular attribute, or ignore the missing values. However, which action would be performed to handle the missing values depends upon the data that has been collected.
German credit application data set has no missing values (refer to Table 2); therefore, no action was taken on German credit data set. On the other hand, Wisconsin breast cancer data set has 16 missing values of an attribute Bare Nuclei (see Table 1). Therefore, these missing values have been resolved by replacing the mean value to this attribute. The mean value to this attribute is 3.54, since the data type for this attribute is categorical so the value was rounded to 4. Finally, all the missing values have been replaced by value 4.
4.3. Analysis and experiment
The data representations used for the experiments are described in the following subsections.
4.3.1. Data representation
Each data set has been transformed into data representation identified for this study, namely As_Is, Min Max Normalization, Standard Deviation Normalization, Sigmoidal Normalization, Thermometer Representation, Flag Representation and Simple Binary Representation.In As_Is representation, the data remain the same as the original data without any changes.The Min Max Normalization is used to transform all values into numbers between 0 and 1. The Min Max Normalization applies linear transformation on the raw data, keeping the relationship to the data values in the same range.This method does not deal with any possible outliers in the future value, and the min max formula  is written in Eqn. (1).
Where V’ is the new value,Min(v(i)) is the minimum value in a particular attribute, Max(v(i)) the maximum value in a particular attribute and v is the old value.
where std_dev(v)= sqr(sum(v2)-(sum(v)2/n)/(n-1))
Where std_dev(v)= sqr(sum(v2)-(sum(v)2/n)/(n-1))
4.3.2. Logistic regression
Logistic regression is one of the statistical methods used in DM for non-linear problems either to classify or for prediction.Logistic Regression is one of the parts of statistical models, which allows one to predict a discrete outcome (known as dependent variable), such as group membership, from a set of variables (also known as independent variables) that may be continuous, discrete, dichotomous, or a combination of any of these. The logistic regression aims to correctly predict the category of outcome for individual cases using the most parsimonious model. In order to achieve the goal, a model is created, which comprises of all predictor (independent) variables that are useful in predicting the desired target. The relationship between the predictor and the target is not linear instead; the logistic regression function is usedwhose equation can be written as Eqn. (4) .
Whereα = the constant from the equation andβ = the coefficient of the predictor variables. Alternatively, the logistic regression equation can be written as Eqn. (5).
Anodd's ratio is formed from logistic regression that calculates the probability or success over the probability of failure. For example, logistic regression is often used for epidemiological studies where the analysis result shows the probability of developing cancer after controlling for other associated risks. In addition, logistic regression also provides knowledge about the relationships and strengths among the variables (e.g., smoking 10 packs a day increases the risk for developing cancer than working in asbestos mine).
Logistic regression is a model which is simpler in terms of computation during training while still giving a good classification performance . The simple logistic regression model has the form as in Eqn. (6), viz:
Taking the antilog of Eqn. (1) on both sides, an equation to predict the probability to the occurrence of the outcome of interest is as follows:
Whereis theprobability for the outcome of interest or “event,” α is the intercept, ß is the regression coefficient, and e = 2.71828 is the base forthe system of natural logarithmscan becategorical or continuous, butis alwayscategorical.
For the Wisconsin Breast Cancer dataset, there are ten independent variables and one dependent variable for logistic regression as shown in Figure 2.However, the CodeNum is not included for analysis.
Similar approach is applied to German Credit dataset.
4.3.3. Neural network
NN or artificial neural network (ANN) are one of the DM techniques; defined as an information-processing system which is inspired from the function of the human brain whose performance characteristics are somehow in common with biologicalNN. It comprises of a large number of simple processing units, called artificial neurons or nodes. All nodes are interconnected by links known as connections.These nodes are linked together to perform parallel distributed processing in order to solve a desired computational taskby simulating the learning process .
There are weights associated with the links that represent the connection strengths between two processing units. These weights determine the behavioron the network.The connection strengths determine the relationship between the input and the output for the network, and in a way represent the knowledge stored on the network. The knowledge is acquired by NN through a process of training during which the connection strengths between the nodes are modified. Once trained, the NN keeps this knowledge, and it can be used for the particular task it was designed to do .Through training, a network understands the relationship of the variables and establishes the weights between the nodes.Once the learning occurs, a new case can be loaded over the network to produce more accurate prediction or classification .
NN models can learn from experience, generalize and “see through” noise and distortion, and also abstract essential characteristics in the presence of irrelevant data .NN model is also described as a ‘black box’ approach which has great capacity in predictive modelling.NN models provide a high degree of robustness and fault tolerance since each processing node has primarily local connections. NNs techniques are also advocated as a replacement for statistical forecasting methods because of its capabilities and performance , , . However, NNs are very much dependent upon the problem at hand.
The techniques of NNs have been extensively used in pattern recognition, speech recognition and synthesis, medical applications (diagnosis, drug design), fault detection, problem diagnosis, robot control, and computer vision , . One major application areas of NNs is forecasting, and the NNs techniques have been used as to solve many forecasting problems (, , , .
There are two types of perceptron in NN, namely simple or linear perceptron and MLP. Simple perceptron consists of only two layers; the input layer and output layer. MLP consists of at least three layers input layer, hidden layer and output layer. Figure 3illustrates the two types of perceptron.
The basic operation of NN involves summing its input weights and the activation function is applied to these layers to yield the output. Generally, there are three types of activation functions used in NN, which are threshold function, Piecewise-linear function and Sigmoid function (Figure4).Among these sigmoid function is the most commonly used in NN.
Multilayer Perceptron (MLP) is one of the most common NN architecture that has been used for diverse applications, particularly in forecasting problems . The MLP network is normally composed of a number of nodes or processing units, and it is organized into a series of two or more layers. The first layer (or the lowest layer) is named as an input layer where it receives the external information while the last layer (or the highest layer) is an output layer where the solution to the problem is obtained. The hidden layer is the intermediate layer in between the input layer and the output layer, and may compose with one or more layers. The training of MLP could be stated as a nonlinear optimization problem. The objective of MLP learning is to find out the best weights that minimize the difference between the input and the output. The most popular training algorithm used in NN is Back propagation (BP), and it has been used in solving many problems in pattern recognition and classification. This algorithm depends upon severalparameters such as a number of hidden nodes at the hidden layers ‘learning rate, momentum rate, activation function and the number of training to take place. Furthermore, these parameters could change the performance on the learning from bad to good accuracy .
There are three stages involved when training the NN using BP algorithm. The first step is the feed forward of the input training pattern, second is calculating the associated error from the output with the input. The last step is the adjustment to the weight. The learning process basically starts with feed forward stage when each of input units receives the input information and sends the information to each of the hidden units at the hidden layer. Each hidden unit computes the activation and sends its signal to each output unit, and applies the activation to form response of the net for given input pattern. The accuracy of NN is provided by a confusion matrix. In a confusion matrix, the information about actual values and the predictive values are illustrated in Table 4.Each row of the matrix represents the actual accounts of a class of target for the actual data, while each column represents the predictive value from the actual data. To obtain the accuracy of NN, the summation of the correct instance will be divided by the summation for all instances. The accuracy of NN is calculated using Eqn. (7).
Based on Table 4, the Percentage of correct is calculated as:
Percentage of Correct = ((48 + 39) / (48 + 2 + 11 + 39)) * 100%
Experiments are conducted to obtain a set of training parameters that gives the optimum accuracy for both data sets.Figure.5shows general architecture of NN for the Wisconsin Breast Cancer data set.Note that the ID number is not including in the architecture.
Similar architecture can be drawn for German Credit dataset; however, the number of hidden units and output units will be different from the Wisconsin Breast Cancer.
4.4. Investigation and comparison
The accuracy results obtained from previous experiments are compared and investigated further.Two data sets are considered for this study, the Logistic regression and Neural Network.Logistic regression is a statistical regression model for binary dependent variables , which is simpler in terms of computation during training while still giving a good classification performance . Figure 6shows the general steps involve in performing logistic regression and NN experiments using different data representations in this study.
Investigating the prediction performance on different data sets involves many uncertainties for a different data type.In the task of prediction, one particular predictive model might give the best result for one data set but gives the poor results in another data set although these two data sets contain the same data with different representations ,,, .
Initial experimental results of correlation analysis on Wisconsin Breast Cancer indicate that all attributes (independent variables)has significant correlation with the dependent variable (target).However, German Credit data set indicates otherwise.Therefore, for German Credit data set, two different approaches (all dependent variables and selected variables) were performed in order to complete the investigation.
Based on the results exhibited in Table 5, although NN obtained the same percentage of accuracy,
Referring to the result shown in Figure 7, similar observation has been noted for German Credit data set when
|Wisconsin Breast Cancer|
For brevity, Table 6 exhibits NN parameters that produce the highest percentage of accuracy for Wisconsin Breast Cancer, and German Credit data set using all variables as well as selected variables in the experiments.
|German credit using all variables||German credit using selected variables|
|Percentage of Accuracy||80.00%||79.00%|
|Number of epoch||100||100||100|
The logistic regression and correlation results for Wisconsin Breast Cancer data set are exhibited in Table 7.Note that based on Wald Statistics, variables such as
For German Credit data set, NN obtained the highest percentage of accuracy when all variables are considered for the training (see Table 6).The appropriate parameters for this data set are also listed in the same table. The summary of logistic regression results is shown in Table 8.All shaded variables displayed in Table 8 are significant independent variables for determining whether a credit application is successful or not.
Note also that variable
|German Credit using all variables|
6. Conclusion and future research
In this study, the effect of different data representations on the performance of NN and regression was investigated on different data sets that have a binary or boolean class target.The results indicate that different data representation produces a different percentage of accuracy.
Based on the empirical results, data representation
As for future research, more data sets will be utilized to investigate further on the effect of data representation on the performance of both NN and regression.One possible area is to investigate which cases fail during training, and how to correct the representation of cases such that the cases will be correctly identified by the model.Studying the effect of different data representations on different predictive models enable future researchers or data mining model's developer to present data correctly for binary or Boolean target in the prediction task.
|German Credit All Variables||German Credit Selected Variables|
|Neural Network||Regn||Neural Network||Regn|
|Min Max normalization||76.50||76.00||77.0||75.25||78.00||76.8|
|Standard Deviation normalization||76.75||77.00||77.0||75.13||79.00||76.8|
|Simple Binary representation||75.75||74.00||79.5||70.63||70.00||77.1|