Description
It bugged me that you needed to specify the number of words directly to the LDADriver
eg ./bin/mahout lda \
-i ./examples/bin/work/reuters-out-seqdir-sparse/tf-vectors \
-o ./examples/bin/work/reuters-lda -k 20 -v 50000 -ow -x 20
with this patch the ldadriver just checks a vector from the input to determine the size
eg ./bin/mahout lda \
-i ./examples/bin/work/reuters-out-seqdir-sparse/tf-vectors \
-o ./examples/bin/work/reuters-lda -k 20 -ow -x 20