Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Rapid - Apache Mahout Clustering designs

You're reading from  Rapid - Apache Mahout Clustering designs

Product type Book
Published in Oct 2015
Publisher
ISBN-13 9781783284436
Pages 130 pages
Edition 1st Edition
Languages

Learning Streaming K-means


Streaming K-means algorithms are applied when data comes in a stream and we want to estimate the clusters dynamically. Streaming the K-means algorithm is based on the paper Fast and Accurate K-Means for Large Datasets by M. Schindler, A. Wong, and A. Meyerson.

This paper can be found at http://papers.nips.cc/paper/4362-fast-and-accurate-k-means-for-large-datasets.pdf.

The algorithm uses the O (k logn) memory, runs in the O (nk log n) time, and obtains an O (1) worst-case approximation. The streaming step passes the clusters to the BallKMeans step. This step moves the points to the center of the mass of the samples and further reduces the number of clusters down to K.

In Mahout, Streaming K-means is implemented using two steps:

  • Streaming Step

  • BallKMeans

As Ted Dunning (who has contributed to Mahout clustering, classification, and matrix decomposition algorithms, and has helped expand the new version of Mahout Math library) recently mentioned (in a Mahout user group e...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}