• No results found

Outlier Cluster Detection Algorithm based on Data Mining

N/A
N/A
Protected

Academic year: 2022

Share "Outlier Cluster Detection Algorithm based on Data Mining"

Copied!
6
0
0

Loading.... (view fulltext now)

Full text

(1)

© 2019, IERJ All Rights Reserved Page 1

ISSN 2395-1621 Outlier Cluster Detection Algorithm

based on Data Mining

#1Ms. Sayali Sunil Rane, #2Prof. Mangesh Manikrao Ghonge

1[email protected]

2[email protected]

#1PG Student, SPPU, Computer Engineering Department

#2Assistant Professor, SPPU, Computer Engineering Department, SITRC,Nashik-422213,India.

ABSTRACT ARTICLE INFO

Data Mining is studied field of research area, where most of the work is highlighted over knowledge. In this, propose a outlier detection approach to mining outliers in multi dimensional data sets. Proposed research concentre on compact based clus- tering algorithms using micro clusters. Outlier methods can be sectioned into sbm, cbm, dbm and sbm. Distance based methods used to computing distance between objects other objects in data sets. In this, we are using two algorithms such as ODA and LOF. ODA used to find the mean or outliers from multi-dimensional data sets.

LOF used to find the probability of that outliers using density based algorithms. The process sectioned into two phases, online and offline. Micro clusters are created in online phase and final clusters are generated in offline phase. Outlier detection is an important task in data mining. Local outliers comparing to their local neighborhood instead of global data. Relative density of an object against its neighbors as the indicator of the degree of the object being outlier which is assigned to local outlier factor. It achieves high mining accuracy and efficiency.

Index Terms—Data Set, Outlier Detection, Data Mining

Article History

Received: 2nd April 2019 Received in revised form : 2nd April 2019

Accepted: 3rd April 2019 Published online : 11th April 2019

I. INTRODUCTION

Data Mining is widely studied field of research area, where most of the work is highlighted over knowledge. Extraction of interesting useful patterns or knowledge from huge amount of data where overall work is highlighted over knowledge. However, there are a lot of problems exists in huge database such as data redundancy, missing data and invalid data etc. In distribution-based methods, the observations that deviate from standard distribution as outliers. The distance-based algorithms are widely used for its simplification. Distance based algorithms can detect global outliers and fail to detect local outliers. Many density based algorithms are proposed such as LOF and INS. Cluster based algorithms are used to detect outlier clusters. Data mining activity with numerous applications including credit card fraud detection, discovery of criminal activities in electronic commerce, video surveillance, weather prediction and pharmaceutical research. Outlier detection is the most significant part in the data mining. When the data sets are vast, it will be tricky to accomplish the global outlier mining.

The task of outlier detection is to identify the data objects from lots of all objects. Outlier mining usually used in the

field of credit card fraud, netwok robustness analysis and intrusion detection etc Most of the methods gives more attention to identify data objects from global view which is in appropriate for multidimensional data sets. According to technology, outlier detection will be very difficult by using traditional solutions. In this, we are using two algorithms such as ODA and LOF. ODA used to find the mean or outliers from multi-dimensional data sets. LOF used to find the probability of that outliers using density based algorithms In this system we are focuses on density based clustering algorithms using micro-clusters. The process is sectioned into two phases, online and offline, micro-clusters are created in online phase and final clusters are produced in offline phase. A Micro-cluster is a set of individual data point that are close to each other. A micro cluster mc(c,w,t) is a summarized representation of a group of data x1, x2, x3,..., xn which are so close together that they are likely to belong to same cluster. Each micro-cluster is represented by a tuple(c,w,t).Outlier detection is a primary task in data mining. Local outliers comparing to their local near objects instead of global data diffusion. The degree of the object being outlier which is assigned to local outlier factor (LOF).

(2)

© 2019, IERJ All Rights Reserved Page 2 A. Motivation

There is a deficiency of local outlier mining methods for multidimensional amount of data sets.

Data reduction is hard due to irrelevant objects in multi- dimensional data sets.

II. LITERATURE SURVEY

The researcher has [1] proposed the attribute relevance separation based local outlier detection scheme called LOMA.

It is used to mining local outliers by building sparse subspaces from multi-level data sets.To modify mining representation in high-dimensional data set, formulate the DR method that can prune dense dimensions and objects.

LOMAs data reduction module improves the efficiency by reducing lots of data.

In this research [2] a novel outlier cluster detection al- gorithm (ROCF) without top-n parameter. ROCF can detect the outlier cluster that are hard to detect out by other dis- tance based or density based outlier detection algorithms.

The proposed algorithm can detect the outlier and outlier cluster without parameter to specify the number of outliers or percentage of outliers in a database.

In this research the experimenter has [3] analysed the clustering and outlier performance of BIRCH with CLARANS and BIRCH with K-Means clustering algorithm for detecting outliers. By using DSH clustering and partition clustering which are assistive to detect the outliers efficiently.

The researcher [4] introduce the notion of the local outlier factor LOF, which captures exactly this relative degree of isolation.It demonstrate that out heuristic appears to be very promising in that it can identify meaningful local outliers and shows that the approach of finding local outliers is efficient for datasets where the nearest neighour queries are supported by index structures and still practical for very large datasets.

In this research the experimenter has [7] Presents the novel data stream outlier detection algorithm SODRNN. It is carried out on both artificial and real data sets show that the proposed method is efficient and effective. It is improve the performance of this algorithm in high-dimensional data stream environment.

In this research [12] a new algorithm named DBCOD that unfies density-based clustering and outlier detection.DBCOD needs just an input parameter. Validates the algorithm with extensive experimental evaluation on different shape, large scale and high-dimensional databases.

The researcher [8] generalize local outlier factor of object and propose a framework of clustering based outlier detec- tion.The therotical analysis and the experimental results show that FCBOD has better performance than clustering based outlier detection methods.

In this research experimenter[9] proposed a hierarchical clustering based global outlier detection method. It isolates degree of the data sets by the hierarchical clustering tree and the distance matrix, and the determine the number of outliers to delete. The algorithm is applicable to multi level data and large data sets.

III. SYSTEM ARCHITECTURE A. Problem Statement

For a wide variety of multi-dimensional data set, an object may not be detected as an outlier from perspective view. Discovering outliers in multi-dimensional data set is most challenging due to irrelevant objects in the data set. In real world problems, multi-dimensional data are very noisy.

The hardness of this problem motivates to investigate the subspace method.

B. System Overview

The main goal of proposed system is to find local outliers from the multi-dimensional data set. Multi-dimensional data sets are nothing but wine data sets, heart disease data sets, UCI data set etc. ODA algorithm is used to find the local outliers from the multi-dimensional data sets as well as it is used to find out the mean of that outliers. Outlier detection is an important task in data mining. Local outliers comparing to there local neighborhoods instead of global data distribution.

In density based outlier detection the density around an outlier mainly different from the density around its neighbors.

So, relative density of an object against its near region as the pointer of the degree of the object being outlier which is assigned to Local Outlier Factor(LOF).

Fig. 1. Architecture of System

Proposed research concentrates on compact based clustering algorithms using micro-clusters. The process is sectioned into two phases, online and offline, micro clusters are created in online phase and final clusters are generated in offline phase. A Micro-Cluster is a set of individual data points that are close to each other and will be treated as a single unit in further offline Macro-clustering. A micro cluster mc(c,w,t) is a summarized representation of a group of data x1, x2, x3,..., xn which are so close together that they are likely to

(3)

© 2019, IERJ All Rights Reserved Page 3 belong to same cluster. Each micro-cluster is represented

by a tuple(c,w,t).ODA algorithm is used to find mean of that local outliers. The distance N between data point x and centroid of each micro cluster mci [c] is calculated by using euclidean distance. Then calculated distance N is compare with radius and decision is made about data point x, that new micro cluster is created with data point x as centroid or update existing micro cluster.

IV. METHODOLOGY A. Data Flow

In this section, the solving approaches and efficiency issue are described. It describes the block diagram of system and steps of process. Following diagram shows the component of proposed framework.

As shown figure there are various components involves in proposed framework. Proposed work focuses on density based clustering algorithms using micro clusters. The process is sectioned into two phases, online and offline, micro clusters are establish in online phase and final clusters are generated in offline phase.

Fig. 2. Workflow of System

Creation of Micro clusters :

A Micro-Cluster is a set of individual data points that are close to each other and will be treated as a single unit in further offline Macro-clustering. A micro cluster mc(c,w,t) is a summarized representation of a group of data x1, x2, x3,..., xn

which are so close together that they are likely to belong to same cluster.Each micro-cluster is represented by a tuple(c,w,t).

New Micro cluster Creation :

New data point x is added to existing micro-cluster or a new micro-cluster is generated .For this data point x determine all micro-clusters for which x can be added in their radius r.The distance N between data point x and centroid of each micro cluster mci [c] is calculated by using euclidean distance .Then calculated distance N is compare with radius and decision is made about data point x, that new micro cluster is created with data point x as centroid or update existing micro cluster.

Updating Micro clusters :

After calculating distance if —N— ¡ r then that data point x is included to existing microcluster.Here weight of micro cluster is also modified.Weight of micro cluster is nothing but the entire number of data points lies within that micro-cluster.After adding new data point x, center of micro cluster also be updated.Update weight of each Micro cluster.Weight and center of micro cluster are updated by using equation mci [w] mci [w]2 ((tmci [t]) +1 where mci [w]

is weight and mci [t] is updated time of micro cluster i

Outlier Detection :

Outlier detection is an momentousness task in data mining. Local outliers collation to there local near region rather of global data distribution.In density based outlier detection the density around an outlier importantly different from the density around its neighbors.so relative compact of an region against its near object as the indicator of the degree of of the object being outlier which is assigned to Local Outlier Factor(LOF).

B. Algorithm

LOF (Local outlier factor) of an object o is the mean of the ratio of local reachability of o and those of os k-nearest neighbors.The lower the local reachability density of o, and the high the local reachability density of the kNN of o, the higher LOF

Step 1: Calculate all the distances between each two data points.

Step 2: Calculate all the distances between each two data points.

Step 3: Calculate all the Nk(o).

Step 4: Calculate all the lrdk(o).

Step 5: Calculate all the LOFk(o).

Step 6: Sort all the LOFk(o).

LOF (Local outlier factor) of an object o is the mean of the ratio of local understandability of o and those of os knn.

The lower the local reachability density of o, and the higher the local reachability density of the kNN of o, the higher LOF. This captures a local outlier whose local density is relatively low comparing to the local densities of its kNN.

V. PROBLEM FORMULATION A. Mathematical Model

Let S be the proposed system which is defined as S= fI;

MC; W; Sh; F; Og

Where, I = fi1; i2; :::::ing which is set of all points.

MC = fmc1; mc2; :::::mckg which is set of micro clusters.

Mc = (c,w,t)

(4)

© 2019, IERJ All Rights Reserved Page 4 C is the center of Micro Cluster.

W is the set of weight of Micro Cluster.

T is the last time of Micro Cluster Updated.

Sh = fSh1; Sh2; :::::Shlg is set of shared density graph between two micro cluster i And j.

O = fO1; O2; :::::O10g is the set of Output generated.

F = fF1; F2; :::::F8g is the set of functions.

F1 = It is the function for creating micro cluster initially MC = fg

f1(i1) ! O1

F2 = It is the function for creating new micro cluster.

f2(i1) ! O2

f3(i1) = It is the function for Updating existing Micro- Cluster. f3(O2) ! O3 = Update Center of Micro-Cluster

f3(O2) ! O4 = Update Weight of Micro-Cluster f3(O2) ! O5 = Update Time

F4 = It is the Gaussian Neighourhood function which calculate distance between two micro-cluster i and j.

f4(O2) ! O6

F5 = It is the function for determining shared density of graph.

f5(O2) ! O7

F6 = It is the function for preventing collapse of micro clusters by calculating distance between two micro cluster.

f6(O7) ! O8

F7 = It is the function to Calculate weak micro-cluster.

f7(O8) ! O9

F8 = It is the function used for reclustering and generate final macro cluster.

f8(O9) ! O10

B. System Implementation

Proposed system will use Windows / Ubuntu platform.

Hardware and Software requirement for proposed framework is as follows:

Processor : Pentium- IV Ram : 2 GB

Hard disk : 180 GB

Language for GUI Development : JAVA, Python IDE used : Eclipse

C. Deployment Diagram

A deployment diagram in the Unified Modeling Language models the physical deployment of artifacts on nodes.To describe a web site, for example, a deployment diagram would demonstrate what hardware components (nodes) exist what software components run on each node

and how the various pieces are connected (e.g. JDBC, REST, RMI).

Fig. 3. Deployment Diagram

The nodes visual as boxes, and the artifacts assign to each node appear as rectangles within the boxes. Nodes may have subnodes, which appear as nested boxes. A single node in a deployment diagram may perception represent multifold physical nodes, such as a cluster of database servers. There are two types of Nodes: i. Device Node. ii. Execution Environment NodeDevice nodes are with processing memory and services to run software, such as typical computers or mobile phones. An EEN is a software computing resource that runs within an outer node and which itself provides a service to host and execute other executable software elements.

D. Data Flow Diagram

A data flow diagram (DFD) is a graphical appearance an information system, modelling its process aspects in flow . Often they are a preliminary step used to genrate an overview of the system which can later be elaborated. DFDs can also be used for the processing of data processing (structured design). A DFD shows which is input and output of particular system, where the data will come and go, and where the data will be stored. It does not show information about the timing of processes, or information about whether processes will operate in sequence or in parallel.

DFD 0 : A data flow diagram is graphical representation of flow of data through an information system where modelling its process aspects. Often they are a prelim-inary step used to create overview of the system. DFDs can also user for the visualization of data processing. It shows what kind of information will be input to and output from system.

Fig. 4. Data Flow Diagram level 0

DFD 1: DFD level 1 diagram is the additional information about the major functions of the system. The

(5)

© 2019, IERJ All Rights Reserved Page 5 Level 1 DFD shows how the system into a subsystems or

processes way, that each deals with one or more of the data ows to or from an external agent, and which together provide the system as a whole.

Fig. 5. Data Flow Diagram level 1

DFD 2 : This is the second level of the DFD. In this level the input to the system is given and the input is in the form of metadata. This input is given to the process which then uses the aggregation techniques to aggregate data and expressed in summary form. Then the output is given in the form of the user behavior data analysis.

Fig. 6. Data Flow Diagram level 2

E. Performance Comparison

The experiment is carried out on first 10000 data points of KDD CUP-99 dataset and results are calculated and compare

with results generated by other algorithms(DStream and CluStream) by taking same data points on MOA tool. Same procedure is carried out for Sensor dataset with 100000 data points and results are generated.

Form table it shows that purity of cluster obtained by proposed algorithm is highest among others technique, which result in better outlier detection.

VI. CONCLUSION

In this Study, the Proposed algorithm can detect outlier cluster from the multi-dimensional data sets. The proposed ODA algorithm can accurately detect outliers and outlier clusters from the Multi-dimensional datasets without top-n parameter, and LOF algorithm can figure out the value of the outlier rate of the multi-dimensional datasets. The algorithm intend to apply to solve real world problems.

ACKNOWLEDGMENT

I would sincerely like to thank our Head of Department Prof. (Dr.) Amol Potgantwar, Computer Engineering, and Professor Mangesh M. Ghonge, Department of Computer Engineering, SITRC, Nashik for his guidance, encouragement and the inter-est shown in this project by timely suggestions in this work.

His expert suggestions and scholarly feedback had greatly enhanced the effectiveness of this work.

REFERENCES

[1] Xujun Zhao,Jifu Zhang,Xiao Qin : Expert System with Applications - LOMA , A local outlier mining algorithm based on attribute relevance analysis, 272- 280,2017.

[2] Jinlong Huang, Qingsheng Zhu,Lijun Yang, DongDong Cheng,Quanwang Wu : Knowledge-Based Systems,1-9,2017.

[3] Dr. S.Vijayarani,Ms. P Jothi : An Efficient Clustering Algorithm for Outlier Detection in Data Streams.

International Journal of Advanced Research in Computer and Communication Engineering, Vol. 2, Issue 9,3657- 3665,September 2013.

(6)

© 2019, IERJ All Rights Reserved Page 6 [4] Markus M. Breunig, Hans-peter Kriegel, Raymond

T. Ng,Jorg Sander : LOF : Identifying Density-Based Local Outliers.International Confer-ence on Management of Data, 2000.

[5] Bryan Perozzi,Leman Akoglu, Patricia Iglesias Sanchez,Emmanuel Muller : Focused Clustering and Outlier Detection in Large Attributed Graphs,2000.

[6] VilleHautamaki, Ismo Karkkainen and Pasi Franti : Outlier Detection Using K-Nearest Neighbour Graph,2000.

[7] ZhongPing Zhang, YongXin Liang : A Data Streams Outlier Detection Algorithm Based on reverse K nearest Neighbours,2011.

[8] Sheng-Yi Jiang, Ai-Min Yang : Framework of Clustering-Based Outlier Detection, International Conference on Fuzzy Systems and Knowledge Discovery,475-479,2009.

[9] Bin-mei LIANG : A Hierarchical Clustering Based Global Outlier Detection Method.

[10] Harshada C. Mandhare : A Comparative study of Cluster Based Outlier Detection, Distance Based Outlier Detection and Density Based Outlier DetectionTechniques, International Conference on Intelligent Computing and Control Systems,931-935,2017.

[11] Rajendra Pamula, Jatindra Kumar Deka, Sukumar Nandi : An Outlier Detection Method based on Clustering, International Conference on Emerging Applications of Information Technology,2011.

[12] Yunxin Tao, Dechang Pi : Unifying Density-Based Clustering and Outlier Detection, International Workshop on Knowledge Discovery and Data Mining,644-647.

[13] Peng Yang, Biao Huang : An Outlier Detection Algorithm Based on Spectral Clustering, IEEE Pacific-Asia Workshop on Computational Intelligence and Industrial Application,507-510,2008.

[14] Yue Zhang,Jie Liu,Bo Song, A New Algorithm for outlier Detection Based on Offset, International Conference on Information Assurance and Security,3-6,2009.

[15] Huang tao, Tan yanna: Research Outlier Detection Technique Base on Clustering Algorithm, International Conference on Control and Automation,12-14,2014.

[16] K. Thangavel, A. Kaja Mohideen,Semi Supervised K-means Clustering for Outlier Detection in Mammogram Classification,68-72

[17] Simon Hawkins, Hongxing He, Graham Williams and Rohan Bax-ter,Outlier Detection Using Replicator Neural Networks.

[18] S.Ganapathy, N.Jaisankar, P.Yogesh and A.Kannan,An Intelligent Sys-tem for Intrusion Detection

Using Outlier Detection, IEEE-International Conference on Recent Trends in Information Technology,119-123,2011.

[19] Zhou Mingqiang, Huang Hui, Wang Qian,A Graph- based Clustering Algorithm for Anomaly Intrusion Detection,International Conference on Computer Science Education,1311-1314,2012.

[20] Hongyi Zhang, Qingtao Wu and Jiexin Pu,A Novel Fuzzy Kernel Clustering Algorithm for Outlier Detection, International Conference on Mechatronics and Automation,2378-2382,2007.

References

Related documents

Pennsylvania edit dissertation results on ability for money, Illinois check plagiarism online turnitin need someone to write creative writing on mother asap need course work

University and School Policies and Procedures : Students are responsible for compliance with University policies as documented in the Graduate Catalog (current at the time of

Genital herpes is caused by herpes simplex virus (one of the most common viruses in mankind) and in most cases causes very mild symptoms or none at all.. Even when the symptoms are

Journal referee: American Economic Review, Journal of Forecasting, Applied Financial Economics, Journal of Academy of Business and Economics, Managerial Finance, Applied

 shows some understanding of relevant major theoretical and/or factual issues;  shows evidence of planning in the formulation of the written answer, makes selective use

The report explores the following topic areas separated into five sections covering Nigeria and the Niger Delta states specifically: an overview of power sector actors,

Table 5.4 and Table 5.5 below show the percent change in the price of consumption goods and factor prices after Slovenia joins the European Union, respectively, when the