Hi,
Thanks for your post. However, the proposed solution will not work because
the getFeatureID is needed to populated the weight matrix. So the proposed
modifications to the code will result in not loading the model correctly and
a wrong execution.
The problem with the large memory requirement comes from loading the model
itself with a double value to the weight matrix.
To fix it, we need to code to remove the features that will not affect the
classification (small weight) but still occupy memory.
I would appreciate any fix to the large amount of heap needed to run the
classification tasks.
Regards  

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Issues-with-memory-use-and-inconsistent-or-state-influenced-results-when-using-CBayesAlgorithm-tp686329p3258675.html
Sent from the Mahout User List mailing list archive at Nabble.com.

Reply via email to