You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by JAGANADH G <ja...@gmail.com> on 2010/10/14 14:47:55 UTC

How to prepare movie lense data for Mahout recommendation job

Dear All
Can somebody tell how to prepare the movie lenses data for the Mahout
recommendation job

-- 
**********************************
JAGANADH G
http://jaganadhg.freeflux.net/blog

Re: How to prepare movie lense data for Mahout recommendation job

Posted by Sean Owen <sr...@gmail.com>.
Well, it needs to be in comma-separated or tab-separated format, with fields
"user ID" then "item ID" (optionally followed by preference value) on each
line. Is there something more?

On Thu, Oct 14, 2010 at 1:47 PM, JAGANADH G <ja...@gmail.com> wrote:

> Dear All
> Can somebody tell how to prepare the movie lenses data for the Mahout
> recommendation job
>
> --
> **********************************
> JAGANADH G
> http://jaganadhg.freeflux.net/blog
>

Re: How to prepare movie lense data for Mahout recommendation job

Posted by JAGANADH G <ja...@gmail.com>.
On Thu, Oct 14, 2010 at 6:27 PM, Sebastian Schelter <ss...@apache.org> wrote:

> Hi,
>
> open a shell, cd to the directory where you downloaded the dataset and run:
>
> tar xvfz million-ml-data.tar__0.gz
> sed s/::/,/g ratings.dat > ratings.csv
>
> ratings.csv should then be in the correct format to be used with the job.
>


Thanks to all for the help.

-- 
**********************************
JAGANADH G
http://jaganadhg.freeflux.net/blog

Re: How to prepare movie lense data for Mahout recommendation job

Posted by Sebastian Schelter <ss...@apache.org>.
Hi,

open a shell, cd to the directory where you downloaded the dataset and run:

tar xvfz million-ml-data.tar__0.gz
sed s/::/,/g ratings.dat > ratings.csv

ratings.csv should then be in the correct format to be used with the job.

--sebastian

On 14.10.2010 14:47, JAGANADH G wrote:
> Dear All
> Can somebody tell how to prepare the movie lenses data for the Mahout
> recommendation job
>
>