首页> 外文会议>International Conference on Instrumentation Measurement, Computer, Communication and Control >A Parallel Clustering Algorithm Implementation Based on Apache Mahout
【24h】

A Parallel Clustering Algorithm Implementation Based on Apache Mahout

机译:基于Apache Mahout的并行聚类算法实现

获取原文

摘要

K-means clustering is one of the most famous clustering algorithms. It is widely used in many practical applications. K-means clustering is the task of dividing a set of n data points in d-dimensional space into k clusters. The data points in the same cluster are much closer to each other than to those in other clusters according to certain criteria. Traditional k-means clustering proceeds by alternatively executing two steps: assignment step and update step. The assignment step assigns each data point to its nearest cluster. The Euclidean distance is commonly used to measure the distance. The update step calculates the new center of each cluster and updates them. For large-scale dataset, the k-means clustering spends most of its execution time on calculating distances between each data point and existing cluster centers. It is obvious that distance computation for each data point is irrelevant to the others. Therefore these distance calculations can be completed concurrently. In this paper, a simple and efficient implementation of a parallel k-means clustering algorithm is proposed based on the existing mahout API, in order to speed up clustering for large-scale dataset. In addition, the implementation was packaged and can be offered as an easy to use API for developers who can easily accomplish their task without any other configurations. Experimental results revealed a significant improvement in clustering speed for large-scale dataset. It demonstrates the effectiveness and efficiency of the proposed implementation.
机译:K-均值聚类是最著名的聚类算法之一。它被广泛用于许多实际应用中。 K均值聚类是将d维空间中的一组n个数据点划分为k个聚类的任务。根据某些标准,同一群集中的数据点比其他群集中的数据点彼此更接近。传统的k均值聚类是通过交替执行两个步骤来进行的:分配步骤和更新步骤。分配步骤将每个数据点分配给其最近的群集。欧几里得距离通常用于测量距离。更新步骤将计算每个群集的新中心并进行更新。对于大型数据集,k均值聚类将其大部分执行时间用于计算每个数据点与现有聚类中心之间的距离。显然,每个数据点的距离计算与其他数据点无关。因此,这些距离计算可以同时完成。本文基于现有的mahout API,提出了一种简单有效的并行k均值聚类算法,以加速大规模数据集的聚类。此外,该实现已打包,可以作为易于使用的API提供给无需任何其他配置即可轻松完成任务的开发人员。实验结果表明,大规模数据集的聚类速度有了显着提高。它证明了所提议实施的有效性和效率。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号