mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joan <joan.monp...@gmail.com>
Subject How to use model
Date Wed, 17 Oct 2012 15:45:48 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message