You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Mathieu sgard <ma...@gmail.com> on 2011/04/26 09:25:16 UTC
Convert preference matrix
Hello,
I'm playing with mahout to discover it and I would like to cluster a sample
of customers. I have a preference matrix file (userID, ItemID, score) and I
would like to use clustering functions. How could I change this file into
VectorWritable/SequenceFile ?
Thanks,
Best Regards,
Re: Convert preference matrix
Posted by Mathieu sgard <ma...@gmail.com>.
Thanks, I'm going to look at that
2011/4/26 Sean Owen <sr...@gmail.com>
> There are Mapper / Reducer pairs in org.apache.mahout.cf.taste.hadoop.item
> that would do the conversion on Hadoop. If you want something that's not on
> Hadoop, you would have to write your own code, but it's pretty easy.
>
> On Tue, Apr 26, 2011 at 8:25 AM, Mathieu sgard <mathieu.sgard@gmail.com
> >wrote:
>
> > Hello,
> >
> > I'm playing with mahout to discover it and I would like to cluster a
> sample
> > of customers. I have a preference matrix file (userID, ItemID, score) and
> I
> > would like to use clustering functions. How could I change this file into
> > VectorWritable/SequenceFile ?
> >
> > Thanks,
> >
> > Best Regards,
> >
>
Re: Convert preference matrix
Posted by Sean Owen <sr...@gmail.com>.
There are Mapper / Reducer pairs in org.apache.mahout.cf.taste.hadoop.item
that would do the conversion on Hadoop. If you want something that's not on
Hadoop, you would have to write your own code, but it's pretty easy.
On Tue, Apr 26, 2011 at 8:25 AM, Mathieu sgard <ma...@gmail.com>wrote:
> Hello,
>
> I'm playing with mahout to discover it and I would like to cluster a sample
> of customers. I have a preference matrix file (userID, ItemID, score) and I
> would like to use clustering functions. How could I change this file into
> VectorWritable/SequenceFile ?
>
> Thanks,
>
> Best Regards,
>