You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Joan <jo...@gmail.com> on 2012/10/17 17:45:48 UTC
How to use model
Hi guys,
I've just generated model classifier into hdfs:
params.set("sigma_j", basePath + "/trainer-weights/Sigma_j/part-*");
params.set("sigma_k", basePath + "/trainer-weights/Sigma_k/part-*");
params.set("sigma_kSigma_j", basePath +
"/trainer-weights/Sigma_kSigma_j/part-*");
params.set("thetaNormalizer", basePath +
"/trainer-thetaNormalizer/part-*");
params.set("weight", basePath + "/trainer-tfIdf/trainer-tfIdf/part-*");
alphaI = Double.valueOf(params.get("alpha_i", "1.0"));
If I try to use this model is saved into hdfs, it works.
But I would like export this model saved into hdfs, to local filesystem,
because I want to copy the model to other machine outside the cluster. This
way I'd load it into zookeeper.
So, Anyone can help me?
Thanks
Joan