You'll have to do the same type of logic either way; it's straightforward to 
convert the format you have into the market matrix type of input you are 
looking for.

Here is a decent starting point with some background on the rationale for the 
three-column version:  
http://math.nist.gov/MatrixMarket/formats.html

Hope this helps!

Best
Andrew

On Jul 12, 2013, at 8:55 PM, Naveen <[email protected]> wrote:

> Hi All,
> 
> I want to build a recommender engine using cf of Mahout with a dataset as 
> below:
> <user,car1-rating,car2-rating, ............carn-rating> where user is string 
> value and ratings are numeric.
> 
> Mahout seems to support <userid,itemid,rating> with numerical values 
> directly, but is there a way to support a dataset like above by building a 
> custom FileDataModel? 
> Or do we need to convert the dataset to the Mahout supported dataset format?
> 
> I am new to Mahout.
> Please provide me an example where possible.
> 
> Thanks in advance,
> Naveen

Reply via email to