Hi,

I am running the twenty-newsgroups example without hadoop , with the
following command

$ mvn -e exec:java \
-Dexec.mainClass=org.apache.mahout.classifier.bayes.TrainClassifier \
-Dexec.args="-i 20news-input \
-o 20news-model \
-type cbayes \
-ng 1 \
-source hdfs"

Everytime I run this to create a model , It downloads some updates/source
from internet and builds and the creates the model.

Is there anyway I could run this offline (without internet connectivity) ?
Is it necessary to build the source (using MVN ) everytime , can't I have a
single executable .

Note : My case is different but I have to use the above command generic for
all kind of trainer.
[I have a two class problem input is equivalent to 20news-input files ]

Thanks
Neil

Reply via email to