Hi Kamal,

The code is written for 1M and 10M dataset
Which has delimiter "::" while the file you have specified has "\t" as delimiter
Try to run with 1 M dataset
If you want to run with this file only then just use this command to change the 
delimiter

cat ratings.dat |tr -s "\t" "::" >new-ratings.dat

-----Original Message-----
From: Kamal Ali [mailto:[email protected]]
Sent: Friday, January 18, 2013 4:40 AM
To: [email protected]
Subject: Re: trying to get grouplens example to run

right, i realize that at a low level you and i have both localized the error.

i guess i wasnt clear.

i had expected the data i download per instructions to work consistently with 
the OOB mahout0.7 code.
so there is a mismatch between the format that the code expects & that as is 
supplied from the grouplens page.
i'd rather not embark on a wild goose chase trying to read the grouplens mahout 
code and then patch the grouplens data to conform to it so i was hoping you may 
be able to point me to more up to date code or data that would work 
consistently with each other.
[or tell me that this example is N years old and nobody has worked on it and in 
the meantime grouplen data format has changed] thanks, kamal.



On Thu, Jan 17, 2013 at 1:58 PM, Sean Owen <[email protected]> wrote:

> That's the error right there:
>
> On Thu, Jan 17, 2013 at 9:57 PM, Kamal Ali <[email protected]> wrote:
> > Caused by: java.io.IOException: Unexpected input format on line: 1 1
> > 5
>

**************** 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***

Reply via email to