Re: how to use a custom distance measure with kmeans?

2013-02-12 Thread Mahesh Balija
Are you getting any errors? Can you specify fully qualified class name of your distance measure (like com.xxx.MyDistanceMeasure) and check? Best, Mahesh Balija, Calsoft Labs. On Tue, Feb 12, 2013 at 2:28 PM, Mihai Josan mihai.jo...@iquestgroup.comwrote: Hello, Can you please tell me how can

Text classification with SVM

2013-02-12 Thread BS TLC
I'm doing some tests on text classification with different classifiers. I see that Mahout implements SVM. Is there any example or guideline to classify text with SVM? Best, Alberto

Re: Implicit preferences

2013-02-12 Thread Pat Ferrel
Maybe I'm splitting hairs here but I was thinking of using the frequency in the views. Maybe above some number of view = 1, below = 0. In any case this just seems like a different way of constructing A, no? On Feb 10, 2013, at 9:36 AM, Ted Dunning ted.dunn...@gmail.com wrote: Actually treating

Re: how to use a custom distance measure with kmeans?

2013-02-12 Thread Mihai Josan
This is the error I receive: mahout kmeans -i /user/rhadoop/in/sequence/ \ -c /user/rhadoop/out/canopy-centroids/clusters-0 \ -o /user/rhadoop/out/clusters-out/ \ -x 10 \ -dm

Re: how to use a custom distance measure with kmeans?

2013-02-12 Thread Dan Filimon
You need to add the JAR containing the distance measure you want to the classpath. By default the CLASSPATH is set in line 120 of the mahout script. (the script itself is in the bin/ folder of your Mahout installation). Sadly I don't think that scripts allows you to set the class path by default,

Re: how to use a custom distance measure with kmeans?

2013-02-12 Thread Jeff Eastman
You also need to specify a fully-qualified class name On 2/12/13 11:48 AM, Dan Filimon wrote: You need to add the JAR containing the distance measure you want to the classpath. By default the CLASSPATH is set in line 120 of the mahout script. (the script itself is in the bin/ folder of your

Re: how to use a custom distance measure with kmeans?

2013-02-12 Thread Mahesh Balija
Hi Dan, If we copy the jar containing the custom classes to the MAHOUT_HOME/lib folder wont that work fine? Because at line 147 of mahout script it reads all jars under lib folder and put into classpath. If this won't work prolly there should be some