On Fri, Dec 23, 2011 at 11:17 AM, Ramprakash Ramamoorthy <
[email protected]> wrote:

> Dear all,
>
>            I have wrote my Java to invoke naive bayes classifier with the
> desired parameters. I use eclipse with m2e plugin. My file is
> ZClassifier.java and resides at
> $MAHOUT_HOME/examples/src/main/java/org/apache/mahout/classifier/bayes.
>
>            I am able to run it from eclipse, but I am not able to do it
> via command line. Kindly help me to run the same from the command line.
>
>

Hi Ramaprakash

These things are very basic java coding skill relates things.

Simple tip : Convert your classifier code to an executable jar file with
necessary libraries. Then run it like java -jar classifier.jar
That is all

-- 
**********************************
JAGANADH G
http://jaganadhg.in
*ILUGCBE*
http://ilugcbe.org.in

Reply via email to