문제

I cannot understand for what -c parameter stands for in this Mahout command, when I am training Naive Bayes model:

mahout trainnb -i train-vectors -el -li labelindex -o model -ow -c

Does it turn on Complementary naive Bayes algorithm ?

If no, is there any possibility to use it while I am training a model ?

도움이 되었습니까?

해결책

From TrainNaiveBayesJob.java you can see that indeed, it is used to control the use of complementary naive Bayes algorithm, that is disabled by default.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top