• No results found

Classifier Based Text Mining Approaches for Data Mining Applications

N/A
N/A
Protected

Academic year: 2022

Share "Classifier Based Text Mining Approaches for Data Mining Applications"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

_______________________________________________________________________________________________

16

Classifier Based Text Mining Approaches for Data Mining Applications

1Dr.Christopher Columbus C, 2Ms. T. Viveka, 3Mr. N. Senthil Vel Murugan

1Department of CSE, PSN College of Engineering & Technology, Tirunelveli

2Department of CSE, University College of Engineering, Nagercoil.

3Department of Mathematics, ROHINI College of Engineering & Technology, Anjugramam.

[email protected] , [email protected] , [email protected]

Abstract :-Text mining is a process of extracting the information from an unstructured text. This research work deals with several classifiers including k-Nearest Neighbor (k-NN), Radial Basis Function (RBF), Multilayer Perceptron (MLP), and Support Vector Machine (SVM) which are used as trained classifiers for performing classification of data into relevant and non-relevant data. This study intends to compare the efficiency of the various existing classification algorithms with the proposed classification algorithms on the basis of runtime, error rate and accuracy.

Keywords: k-NN, RBF, MLP, SVM

__________________________________________________*****_________________________________________________

I. INTRODUCTION

Data mining can help reduce information overload and improve decision making. This is achieved by extracting and refining useful knowledge through a process of searching for relationships and patterns from the extensive data collected by organizations. The extracted information is used to predict, classify, model, and summarize the data being mined. A text mining approach will involve categorization of text, text clustering, and extraction of concepts, granular taxonomies production, sentiment analysis, document summarization and modeling. It involves a two stage processing of text. In the first step a description of document and its content is done. This process is called categorization process. In the second step called as classification, the document is divided into descriptive categories and an inter document relationship is established. Text mining has been useful in many areas, i.e. security applications, software applications, academic applications etc.

k-nearest neighbor is a supervised learning algorithm where the result of new instance query is classified based on majority of k-nearest neighbor category. The purpose of this algorithm is to classify a new object based on attributes and training samples.

A radial function or a radial basis function (RBF) is a class of function whose value decreases (or increases) with the distance from a central point. An RBF has a Gaussian shape, and an RBF network is typically a Neural Network with three

layers. The input layer is used to simply input the data. The Gaussian activation function is used at the hidden layer, while a linear activation function is used at the output layer. The objective is to have the hidden nodes learn to respond only to a subset of the input, namely, that where the Gaussian function is entered. This is usually accomplished via supervised learning.

The support vector machine (SVM) is a training algorithm for learning classification and regression rules from data. It can be applied for classification and regression problems. It uses a non linear mapping to transform the original training data into a higher dimension.

Classification algorithms are increasingly being used for problem solving. The efficiency of algorithms has been compared on the basis of runtime, error rate, accuracy using Weka machine learning tool.

II. REVIEW OF LITERATURE Many researchers have investigated the technique of combining the predictions of multiple classifiers to produce a single classifiers (Breiman 1996c; Clemen, 1989; Perrone, 1993;

Wolpert, 1992). The resulting classifier (hereafter referred to as an ensemble) is generally more accurate than any of the individual classifiers making up the ensemble. Both theoretical (Hansen

& Salamon, 1990; Krogh & Vedelsby, 1995) and empirical (Hashem, 1997; Opitz & Shavlik, 1996a, 1996b) research has demonstrated that a good ensemble is one where the individual classifiers in the ensemble are both accurate and

(2)

_______________________________________________________________________________________________

make their errors on different parts of the input space. Two popular methods for creating accurate ensembles are bagging (Breiman, 1996c) and Boosting (Freund & Schapire, 1996; Schapire, 1990). These methods rely on “resampling”

techniques to obtain different training sets for each of the classifiers. This work presents a comprehensive evaluation of bagging on data mining problems using four basis classification methods: k-Nearest Neighbor (k-NN), Radial Basis Function (RBF), Multilayer Perceptron (MLP), and Support Vector Machine (SVM).

Rachid Beghdad (2008) present a critical study about the use of some neural networks (NNs) to detect and classify intrusions. The aim of research is to determine which NN classifies well the attacks and leads to the higher detection rate of each attack. This study focused on two classification types of records: a single class

(normal, or attack), and a multiclass, where the category of attack is also detected by the NN. Five different types of NNs were tested: multilayer perceptron (MLP), generalized feed forward (GFF), radial basis function (RBF), self- organizing feature map (SOFM), and principal component analysis (PCA) NN. In the single class case, the PCA NN performs the higher detection rate.

III. DATABASE

Data collection plays an important role in the data mining problems. In this paper, the dataset used for the second international knowledge discovery and data mining tools competition, which was held in conjunction with KDD-98 the fourth international conference on knowledge discovery and data mining.

IV. PROPOSED PROCEDURES

The problem is to identify buyers using data collected from previous campaigns, where the product is to be promoted is usually fixed and the best guess is about who are likely to buy. Response modeling has become a key factor to direct marketing. In general, there are two stages in response modeling. The first stage is to identify respondents from a customer database while the second stage is to estimate purchase amounts of the respondents. (Dongil Kim, Hyoung-joo Lee, Sungzoon Cho, 2008) focused on the second stage where a regression, not a classification, problem is solved. Recently, several non-linear models based on machine learning such as support vector machines (SVM) have been applied to response modeling.

Companies worldwide are beginning to realize that surviving an intensively competitive and global marketplace requires closer relationships with customers. In turn, enhanced customers relationships can boost profitability three ways: 1) reducing costs by attracting more suitable customers; 2) generating profits through cross-selling and up-selling activities; and 3) extending profits through customer retention.

k-nearest neighbor (Margaret H.Dunham, 2003) is a supervised learning algorithm where the result of new instance query is classified based on majority of k-nearest neighbor category. The purpose of this algorithm is to classify a new object based on attributes and training samples. The classifiers do not use any model to fit and only based on memory. Given a query point, k number of objects (k=1) are found closest to the query point. The classification is using majority vote among the classification of the k objects.

Any ties can be broken at random. k-Nearest neighbor algorithm used neighborhood classification as the prediction value of the new query instance. The Euclidean distance between two points or tuples, say X1 = (x11, x12, … ,x1n) and X2 = (x21, x22, … ,x2n) is

The simplest neural network is called a perceptron. A perceptron is a single neuron with multiple inputs and one output. The original perceptron proposed the use of a step activation function, but it is more common to see another type of function such as a sigmoidal function. A simple perceptron can be used to classify into two classes. Using a unipolar activation function, an output of 1 would be used to classify into one class, while an output of 0 would be used to pass in the other class. Multilayer perceptrons with L layers of synaptic connections and L + 1 layers of neurons are considered. This is sometimes called an L-layer network, and sometimes an L + 1-layer network. A network with a single layer can approximate any

(3)

_______________________________________________________________________________________________

18

function, if the hidden layer is large enough. This has been proved by a number of people, generally using the Stone-Weierstrass theorem. So, multilayer perceptrons are representational powerful.

Let’s diagram the network as x0w 1,b1 x1w 2b2 ....w L,bL xL, where xlRn1 for all L

l 0..., and Wl is an nlxnl1matrix for all l1,...,L There are L+1 layers of neurons, and L layers of synaptic weights. It is supposed to change the weights W and biases b so that the actual output xL becomes closer to the desired output d.

The back propagation algorithm consists of the following steps.

1. Forward pass. The input vector x0 is transformed into the output vector xL, by evaluating the equation )

( )

( 1

1

1 l

i l j l ij n

j l

i l

i f u f W x b

x

l

[4.1]

for l= 1 to L

2. Error computation. The difference between the desired output d and actual output xL is computed.

) )(

( i iL

L i L

ifu dx

[4.2]

3. Backward pass. The error signal at the output units is Propagated backwards through the entire network, by evaluating

  

nl

i

l ij l i l

j l

j f u W

1 1

1 ( ) [4.3]

from l = L to 1.

SVM were first suggested by Vapnik in the 1960s for classification and have recently become an area of intense research owing to developments in the techniques and theory coupled with extensions to regression and density estimation. SVM deliver the state of art performance in real world applications such as text categorization, hand-written character recognition, image classification, financial forecasting and so on (Bao, 2003). The support vector machine (SVM) is a training algorithm for learning classification and regression rules from data. It is a new machine-learning paradigm that works by finding an optimal hyper plane as to solve the learning problems.

Figure 4.3: Support Vector Machine

The error rate is calculated using mean square error (MSE) evaluated by comparative cross validation is

n p a MSE

n i

i

i

1

)2

(

, Where: ai = actual output at time I

ai = actual output at time I pi = predicted output at time I n = number of data.

(4)

_______________________________________________________________________________________________

V. EXPERIMENTAL RESULTS

WEKA is an open source data mining software that contains java implementations of many popular machine learning-algorithms including some popular classification algorithms. It has implementations of various classification algorithms. The algorithms require the data to be in specific formats. The data includes 87 attributes such as State, zip code, age, date of birth, income, gender, wealth information etc.

Table 5.1: Parameters of existing and proposed k-NN classifiers

Existing k-NN Proposed k-NN

Run Time (Seconds)

Error Rate (%)

Accuracy (%)

Run Time (Seconds)

Error Rate (%)

Accuracy (%)

0.02 0.00 100 0.01 0.002 99.99

Table 5.2: Parameters of existing and proposed RBF classifiers

Existing RBF Proposed RBF

Run Time (Seconds)

Error Rate (%)

Accuracy (%)

Run Time (Seconds)

Error Rate (%)

Accuracy (%)

7.38 0.00 100 7.15 0.0002 99.99

Table 5.3: Parameters of existing and proposed MLP classifiers

Existing MLP Proposed MLP

Run Time (Seconds)

Error Rate (%)

Accuracy (%)

Run Time (Seconds)

Error Rate (%)

Accuracy (%)

856.41 0.479 99.52 826.91 0.4612 99.54

Table 5.4: Parameters of existing and proposed SVM classifiers

Existing SVM Proposed SVM

Run Time (Seconds)

Error Rate (%)

Accuracy (%)

Run Time (Seconds)

Error Rate (%)

Accuracy (%)

14.59 0.0322 99.97 14.43 0.168 99.83

Fig 5.1: Running Time in Existing and Proposed Classifiers

(5)

_______________________________________________________________________________________________

20

Fig 5.2: Error rate in Existing and Proposed Classifiers

Fig 5.3: Accuracy in Existing and Proposed Classifiers VI. CONCLUSION

The study has attempted to develop a new technique called comparative cross validation for data mining problems. The method evaluates the error rate, accuracy and run time for base classifiers. This research paper presents comprehensive empirical evaluation of four different approaches namely k-Nearest Neighbor, radial basis function, Multilayer perceptron, Support vector machine with direct marketing.

Weka data mining software is used to compare the various algorithms and the results have been reported.

REFERENCES

[1] Berk. R. A. (2004) “Data Mining within a Regression Framework”, in Data Mining and Knowledge Discovery Handbook: A Complete Guide for Practitioners and Researchers, oded Maimon and Lior Rokach (eds.), Kluwer Academic Publishers.

[2] Fayyad, U., Piatetsy-Shapiro, G., Smyth, P., and Uthurusamy, R. (1996). From data

mining to knowledge discovery. In Advances in Knowledge Discovery and Data Mining.

[3] Freund, Y., and Schapire, R. (1996).

Experiments with a new boosting algorithm. In Proceedings of the Thirteenth International Conference on Machine Learning, 148-156, Bari, Italy.

[4] Friedman, J. H. (1997). On bias, variance, 0/1 loss and the curse of dimensionality.

Data Mining and Knowledge Discovery, 1:55–77.

[5] Govindarajan, RM.Chandrasekaran, (2009) “Performance optimization of data mining application using radial basis function classfier”, International Scholarly and Scientific Research and Innovation, 3 (2),Pages 405 - 410.

[6] Hansen, L., and Salamon, P. (1990).

Neural Network ensembles. IEEE Transactions on Pattern Analysis and Machine Intelligence, 12: 993-1001.

(6)

_______________________________________________________________________________________________

[7] Ian H.Witten and Eibe Frank, (2005).

“Data Mining-Practical Machine Learning Tools and Techniques”, Elsevier, 177-178.

[8] Jiawei Han , Micheline Kamber, (2003). “ Data Mining – Concepts and Techniques”

Elsevier, pp. 359-366.

[9] Margaret H.Dunham, (2003), “Data Mining-Introductory and Advanced Topics”, Pearson Education, pp. 90-113.

[10] Oliver Buchtala, Manual klimek and Bernhard Sick, Member, IEEE,

“Evolutionary Optimization of Radial Basis Function Classifier for Data Mining Applications”, IEEE transactions on systems, man, and cybernetics—part B:

cybernetics vol.35, No.5, pp. 928 - 947

[11] Rachid Beghdad. (2008) “ Critical study of neural networks in detecting intrusions”, Computers & Security, 27(5- 6):168-175.

[12] Schapire, R. (1990). The strength of weak learnability. Machine Learning, 5(2):

197-227.

References

Related documents

Validity of students' evaluations of teaching: A comparison with instructor self evaluations by teaching assistants, undergraduate faculty and graduate faculty.. Los Angeles:

As described in Section 5 (after Protocol 5.1 ), in this case of secure signing, it is easy to transform the protocol so that all parties receive output if any single honest

The whole properties of the films grain using perfume atomizer are qualitatively as good that measured on film deposited by classical spray pyrolysis

When Hep G2 cells were, respectively, treated with chlorpromazine, M β CD, and amiloride, the cellular transfection efficiencies mediated by PEI and Lipo2000

California for more than one year (366 days) immediately prior to the residence determination date of the term for which classification as a resident is requested... In order

Threshold based segmentation - A threshold value based either on intensity or color can be used to segment the image.... Edge based segmentation - The edges detected by

In this case, both biaxial and unidirectional layers of glass fibre are bonded and then it is analysed using ANSYS .The total deformation and the equivalent stress are given