Thanks Sean i will do that with a string processing command Thanks a Lot :) -----Original Message----- From: Sean Owen [mailto:[email protected]] Sent: Thursday, May 03, 2012 12:51 PM To: [email protected] Subject: Re: Problem Running org.apache.mahout.cf.taste.hadoop.item.RecommenderJob on Hadoop
The format is always "user,item,pref" -- I think it makes that pretty clear. On Thu, May 3, 2012 at 7:25 AM, Utkarsh Gupta <[email protected]>wrote: > Hi All, > > I am new to Mahout and I am currently reading Mahout in Action. > I was trying to run the RecommenderJob as explained in chapter 6 of > this book with Wikipedia data set, but the input format of the data is > not as desired. > I found this here > http://stackoverflow.com/questions/9532538/trouble-running-recommender > job-on-hadoop/9540642#9540642 Can anyone help me what format data > should be in input file ? > The current format is : > > 9: 3 74106 75221 275656 313376 1279972 1565872 1613838 1997564 2640650 > 3092827 3491412 3492254 3956845 3973207 4025897 4189168 4189215 > 4813259 > > Thanks and Regards > Utkarsh Gupta > > > > **************** CAUTION - Disclaimer ***************** This e-mail > contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for > the use of the addressee(s). If you are not the intended recipient, > please notify the sender by e-mail and delete the original message. > Further, you are not to copy, disclose, or distribute this e-mail or > its contents to any other person and any such actions are unlawful. > This e-mail may contain viruses. Infosys has taken every reasonable > precaution to minimize this risk, but is not liable for any damage you > may sustain as a result of any virus in this e-mail. You should carry > out your own virus checks before opening the e-mail or attachment. > Infosys reserves the right to monitor and review the content of all > messages sent to or from this e-mail address. Messages sent to or from > this e-mail address may be stored on the Infosys e-mail system. > ***INFOSYS******** End of Disclaimer ********INFOSYS*** >
