Re: Fwd: Mahout dictionary file

2012-03-15 Thread Ioan Eugen Stan
Pe 14.03.2012 19:40, James Ferretti a scris: Hi, I am trying to perform TFIDF on a set of documents (as text files) using mahout to do to calculations, following this guide: http://www.philippeadjiman.com/blog/2010/12/30/how-to-easily-build-and-observe-tf-idf-weight-vectors-with-lucene-and-mahout

ClassNotFoundException while using RecommenderJob

2012-03-15 Thread Janina
Hi all, I am trying to run a RecommenderJob from a Java program. I have added the files users.txt and input.txt to a Hadoop VM and use the run-method of RecommenderJob to start the calculation. But the the following error message occurs while running the MapReducer: Error: java.lang.ClassNotFound

Re: ClassNotFoundException while using RecommenderJob

2012-03-15 Thread Sean Owen
You shouldn't have to add anything to your jar, if you use the supplied 'job' file which contains all transitive dependencies. If you do add your own jars, I think you need to unpack and repack them, not put them into the overall jar as a jar file, even with a MANIFEST.MF entry. I am not sure that

Re: ClassNotFoundException while using RecommenderJob

2012-03-15 Thread Janina
Thanks for your fast answer. I haven't added the jar manually, but by adding the dependency to the pom.xml. I tried it with and without the dependendy and with different versions of the dependency, but it remained the same error message. But the RecommenderJob is meant to be to run a pseudo distr

Re: ClassNotFoundException while using RecommenderJob

2012-03-15 Thread Sean Owen
You would still need to use the 'job' file generated by the build to get an artifact with all the dependencies. You don't need to add Guava as a dependency; it already is one. It's the job file that you're missing. There are two RecommenderJobs. One is what I call pseudo-distributed, yes. The othe

Re: ClassNotFoundException while using RecommenderJob

2012-03-15 Thread Janina
These are great news! I was not quite sure if the item based recommender is fully distributes, but this helps! Thanks! I have removed the dependency now. But although it may again be a stupid question: what do you exactly mean with "I am missing the job file"? Sorry, but I am completely new to Mah

Re: ClassNotFoundException while using RecommenderJob

2012-03-15 Thread Sean Owen
After 'mvn package' you should see a file ending in 'job.jar' under target/ This is the jar file to use with Hadoop. On Thu, Mar 15, 2012 at 10:56 AM, Janina wrote: > These are great news! I was not quite sure if the item based recommender is > fully distributes, but this helps! Thanks! > > I hav

Re: ClassNotFoundException while using RecommenderJob

2012-03-15 Thread Janina
Ahhh, ok...yes, I am using this generated jar file with Hadoop, but this does not change the error message about com.google.common.primitives.Longs . 2012/3/15 Sean Owen > After 'mvn package' you should see a file ending in 'job.jar' under > target/ This is the jar file to use with Hadoop. >

Re: ClassNotFoundException while using RecommenderJob

2012-03-15 Thread Ioan Eugen Stan
Pe 15.03.2012 13:14, Janina a scris: Ahhh, ok...yes, I am using this generated jar file with Hadoop, but this does not change the error message about com.google.common.primitives.Longs . Hello Janina, Could you please enable bash debugging [1] and show us the command line that submits yo

Re: ClassNotFoundException while using RecommenderJob

2012-03-15 Thread Pat Ferrel
Can you elaborate on how to set these classpaths? The job takes a classpath param, (from mahout --help) -libjarscomma separated jar files to include in the classpath. is the needed code bundled with the job or does the path n

Re: ClassNotFoundException while using RecommenderJob

2012-03-15 Thread Lance Norskog
Wait! I thought there was only one RecommenderJob? On Thu, Mar 15, 2012 at 3:44 AM, Sean Owen wrote: > You would still need to use the 'job' file generated by the build to > get an artifact with all the dependencies. > You don't need to add Guava as a dependency; it already is one. It's > the job

Re: BedCon Talk: Easy Java EE 6 war with Mahout bundled 0.6

2012-03-15 Thread Isabel Drost
On 20.02.2012 Manuel Blechschmidt wrote: > I am going to give a talk about setting up mahout in a Java EE environment: > http://bed-con.org/talks/how-to-build-a-recommender-system-based-on-mda-gwt > -mahout-and-java-ee/ > > I created in my eyes the smallest possible demo for a recommender with an

Why there is "Infinity" values for the vector of a K-Means cluster center point?

2012-03-15 Thread WangRamon
Hi Guys I’m running k-Means driver, I find most (95%) of my input vectors is built into one cluster, so I retrieved the big Cluster object and one of its point that belong to it, use CosineDistanceMeasure to calculate the distance between them, I found the distance is “NaN”, so I tried t