mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yoonmin Nam" <rony...@dgist.ac.kr>
Subject RE: How KMeans clustering works in Mahout 0.8?
Date Tue, 28 Jan 2014 19:42:52 GMT
K-Means clustering works by using mahout.clustering.iterator package.

In the iterator package, there is a classes called "CIMapper and CIReducer."

Both of  them are used when we choose a method (-xm) as a mapreduce.

Then, this mapper and reducer works for you!

Thanks.

-----Original Message-----
From: Saeed Adel Mehraban [mailto:s.adel07@gmail.com] 
Sent: Wednesday, January 29, 2014 4:35 AM
To: user@mahout.apache.org
Subject: Re: How KMeans clustering works in Mahout 0.8?

I see the package, but I couldn't find anything related to map-reduce. I
wonder why!


On Tue, Jan 28, 2014 at 4:14 AM, Andrew Musselman <
andrew.musselman@gmail.com> wrote:

> In the source code you could take a look in the 
> org.apache.mahout.clustering.kmeans package to get a start, if you 
> want to understand the implementation.
>
> If you just want to run some clustering, take a look at 
> examples/bin/cluster-reuters.sh which has an option to run kmeans.
>
>
> On Mon, Jan 27, 2014 at 5:51 AM, Saeed Adel Mehraban 
> <s.adel07@gmail.com
> >wrote:
>
> > I read Mahout KMeans Design of implementation and it seems to be 
> > clear
> wrt
> > map-reduce paradigm. But when I refer to source code, I can not find 
> > the mapper, reducer, combiner or almost anything mentioned in the 
> > official website. What happened here and what I need to do to 
> > understand KMeans implementation of Mahout?
> >
>






Mime
View raw message