• No results found

Grid-based DBSCAN Algorithm with Referential Parameters

N/A
N/A
Protected

Academic year: 2021

Share "Grid-based DBSCAN Algorithm with Referential Parameters"

Copied!
5
0
0

Loading.... (view fulltext now)

Full text

(1)

Physics Procedia 24 (2012) 1166 – 1170

Physics

Procedia

Physics Procedia 00 (2011) 000–000

www.elsevier.com/locate/procedia

2012 International Conference on Applied Physics and Industrial Engineering

Grid-based DBSCAN Algorithm with Referential Parameters

Huang Darong, Wang Peng

College of Information Science and Engineering Chongqing Jiaotong University

Chongqing, 400074 China

Abstract

A new algorithm GRPDBSCAN (Grid-based DBSCAN Algorithm with Referential Parameters) is proposed in this paper. GRPDBSCAN, which combined the grid partition technique and multi-density based clustering algorithm, has improved its efficiency. On the other hand, because the Eps and Minpts parameters of the DBSCAN algorithm were auto-generated, so they were more objective. Experimental results shown that the new algorithm not only can better differentiate between noises and discovery clusters of arbitrary shapes but also have more robust.

© 2011 Published by Elsevier Ltd. Selection and/or peer-review under responsibility of [name organizer]

Keywords: Grid; DBSCAN; clustering 1. Introduction

As a basis of data mining, cluster analysis, classifies the assemble of objects into a class, which is make up some similar objects, and then analyses the internal rules of these class[1]. It is a preprocessing

step of data mining’s analysis rule algorithm. That is, the quality of data preprocessing will affect the quality of data mining’s effects directly. Therefore, as an important research project in field of data mining, it is popular with many scholars home and broad, it also gets many effective cluster algorithms, such as density-based clustering algorithm[2], clustering algorithm based on hierarchical[3], grid-based

clustering algorithm[4] and model-based clustering algorithm[5]. However, there are more dynamic data

tests show that although these algorithms made a great success in analysis of data mining, there are also “data mutations” because of not considering the distribution of data, and these data mutations make the distribution of data much irregular, and then the limitations of non-automatic selection parameters made the establishment of association rules and the practical application inconsistent in data mining, leading the bad clustering, the bad effect. So, it is a key issue need to be resolved on how to deal with the data mutation and assure the validity of data class’ association rules. The author, in order to solve the problem, proposed a new algorithm Grid-based DBSCAN Algorithm with Referential Parameters, according to the character of data mutations in dynamic data test, and the association between grid partition technique and multi-density base clustering algorithm: DBSCAN. Experimental results shown that the algorithm can © 2011 Published by Elsevier B.V. Selection and/or peer-review under responsibility of ICAPIE Organization Committee.Open access under CC BY-NC-ND license.

(2)

Huang Darong and Wang Peng / Physics Procedia 24 (2012) 1166 – 1170 1167 Author name / Physics Procedia 00 (2011) 000–000

choose the Eps and Minpts parameters automatically, differentiate between noises and discovery clusters of arbitrary shapes including “data mutation”.

2. Grid-based DBSCAN Algorithm with Referential Parameters(GRPDBSCAN)

As we all known, during the algorithm of clustering, especially for large data, the exist of border of data and noise may discard the cluster’s border, degrade the precision of cluster, what’s more, the value of Eps may effect the final answer of cluster at some extent. So, it is necessary to improve the useful of the algorithm according to choosing parameters automatically in dynamic testing data. As grid-based clustering algorithm is mainly for massive data, building a unified grid size to divide data space, and then storing its internal data statistics in each grid, all the clustering operations are targeted to the grid cell to cluster in the integral structure of grid, the clustering answer is nothing to do with the order of data inputted, it is beneficial to achieve the algorithm’s Incremental processing; For the density-based clustering algorithm (DBSCAN), the cluster’s each data object, whose Eps-Neighbor’ objects must smaller than a Minpts . The algorithm defines these data objects as core objects, defines the maximum density of a collection of objects connected as cluster. DBSCAN looks for the object density arriving that start with P about Eps and Minpts from the core object P which never visited form data set D, generate a cluster that contains p and its objects density arriving. The algorithm ends with unvisited objects in the data set D. If it can deal with the parameters Eps, we can make use of the two goodness proposed ahead to achieve the “data mutation”, therefore, giving some definitions in order to design the algorithm.

2.1 Basic concept

Definition 1 n-dimensional space: setting D={ , , , }D D1 2 " Dn is the bounded domain, so

1 2 n

S D D= × × ×" D is the n-dimensional space.

Definition 2 Grid units: If each dimension of S was divided into m piece of same space, and then the

whole space can be divided into limits of n-dimensional grid units that disjointed, each grid units can be describe as U u u( , , , )1 2 "un , uiis a Left-closed right-open interval.

Definition 3 Eps neighbor: making a given data object as the center, Eps radius region.

Definition 4 Core object: If a data object’s Eps neighbor contains Minpts data objects at least, the data

object is named core object.

Definition 5 Border object: for any given data objects, if it belongs to core object’s Eps neighbor and

is not the core object itself, it can be named border object.

Definition 6 Noise: it is a data object that is not a core object also not a border object.

Definition 7 Adjacent units: it just only the grid unit Ui and U have the adjacent point or border. j

(3)

2.2 The design of GRPDBSCAN

GRPDBSCAN algorithm is both grid-based clustering algorithm and density-based clustering algorithm, essentially it adopts grid partition technique which can works out the Eps and Minpts in DBSCAN. The steps of GRPDBSCAN are as following.

Grid division. There is a d-dimensional data set D, its property { , , , }D D1 2 " Dn is bounded, and its

value interval is[ , )l h ,i i i=1,2, ," d so S=[ , ) [ , )l h1 1 ×l h2 2 ×"[ , )l hd d is a d-dimensional data space.

We can divide each dimension of S into N pieces of equal fields that are not intersect and the closed right-open interval left, so that the whole data space can be divided into N pieces of super rectangular units which are disjoint and have same size.

Data binning. Every data object of data set is mapped to the corresponding grid cell. Such as Fig.

2.

Figure 2. Data binning diagram.

The definition of Eps neighbor and Minpts. At first, scanning the entire data object, computing

data object in the every grid unit. The grid units that contain the largest data objects are named Eps neighbor, such as Fig. 3: the grid units that blue points occupy presents Eps neighbor, and then Minpts is three.

Figure 3. Eps neighbor diagram.

The recognition of core object. According to DBSCAN, every grid unit whose numbers of data

objects larger than Minpts is named core grid unit, the data objects in the core grid unit are called core objects, these grid units that are close to core grid are named border grid, the data objects in the border grid are named border objects, these grid units that are not close to any core grid are called noise grid, the objects in noise grid are named noise. Such as Fig. 4: blue points present border objects, brown points present noise.

(4)

Huang Darong and Wang Peng / Physics Procedia 24 (2012) 1166 – 1170 1169 Author name / Physics Procedia 00 (2011) 000–000

Figure 4. Recognition of core object diagram.

Clustering. Constructing an undirected graph during the core grid. Every core grid unit presents a

point. Adding a edge to these adjacent core grids, so the undirected graph is finished, then we can do the breadth-first search with the undirected graph, generate connected components. These data objects that correspond to every connected component are made up a clustering. Such as Fig. 5.

Figure 5. Clustering search diagram. 3. Experimental results and analysis

The paper’s experimental data comes from literature [6]’s dataset1 and dataset2 in order to verify the validity of this algorithm, what’s the answers are described as Fig. 6.

(5)

Figure 8. The efficiency of DBSCAN and GRPDBSCAN diagram.

Fig.7 had shown the clustering decision of DBSCAN. Both of the two dataset hasn’t noise point and its clustering answer is blurry. However, the clustering answer of GRPDBSCAN improves the clustering precision and the render effects of border points, noise apparently. Therefore, the author contrasted the efficiency of GRPDBSCAN and the efficiency of DBSCAN. Fig. 8 shows the answer, the Vertical axis presents time the algorithms needed, the Horizontal axis presents the size of data.

4. Conclusion

The paper proposed a Grid-based DBSCAN Algorithm with Referential Parameters in order to deal with massive data “mutation” and noise. The algorithm can find clusters of arbitrary shape and remove noise, and then carry out the parameters of DBSCAN automatically, which shield the algorithm’ sensitivity of parameters ,finally, the algorithm makes answer more precise. Experimental results show that the improved algorithm is robust. Its operating efficiency is also greatly improved. Therefore, the data mining algorithm has a very broad application prospects.

Acknowledgment

The authors acknowledge the research grants provided by the Graduate Innovation Fund of Chongqing Jiaotong University (No.0904).

References

[1]Han Jia-wei and MICHEL K.Data mining concepts and techniques.San Francisco: Morgan Publishers,2003.

[2]Yu Xiao-gao and Jian Yin, “A New Clustering Algorithm based on KNN and DENCIUE,” Proceedings of 2005 International Conference on Machine Learning and Cybernetics,Guangzhou,China,pp.2033-2038. April 2005.

[3]Zhou Shui-geng, Zhou Ao-ying and Jin Wenl, “FDBSCAN: a fast DBSCAN algorithm,” Journal of Software, Vol. 11,pp.735-744, Jnue 2000.

[4]Rakesh A’Johanners and G’Dinmitios G, “Auotmatic subspace clustering of high dimensional data for data mining applications,” Proceeding of ACM SIGMOD, Int’l Conf on Management of Data. Mineapolis ACM Press’1994.pp. 94-105.

[5] Noha A.Yousri, MohamedS.Kamel and Mohamed A.Ismail, “Adistance-relatedness dynamic model for clustering high dimensional data of arbitrary shapes and densities,”Pattern Recognition,vol.42,pp.1193-1209,2009.

[6]Ester M, Krieogel H P and Sander J, “A density-based algorithm for discovering clusters in large spatial databases with nosie,” 2nd International Conference on Knowledge Discovery and Data Mining(KDD-96),OR,Portland,1996,pp.226-231.

References

Related documents

The proposed model for flood susceptibility assessment that incorporates RBFDA, the Bayesian classification framework, and GMM is presented in this section of the study.. The over-

For most Windows versions additional software is required for DVD movies free trial software included with these new models.. It seems the only way to buy an official

Through mobile device or online Location Based Social Networks (LBSN‟s), share our geographical position information or check-ins. This service has attracted millions

IS best practices Company visits WP 2: & analysis WP 3: Opportunity inventory WP 4: Prioritisation & Business cases 1 2 3 4 WP 5: Feedback and reporting 5

Research suggests that NQTs during induction should be afforded opportunities to observe experienced teachers teaching, which would serve such purposes as to

The role of nurse practitioner (NP) has emerged as a profession capable of closing the gap between the declining number of primary care providers caused by the dearth

Covariates include gender, sales, the square of sales, number of businesses An index of marketing initiatives, PRIDE branch, Size of loan in PRIDE, work hours, an Indicator

The paper focuses on investigating whether fear of crime and insecurity is related to perceptions and experiences of crime, and/or, are alternatively rooted in situational factors