You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by Lance Norskog <go...@gmail.com> on 2012/03/01 04:00:09 UTC

Null vectors from seq2sparse?

>From LDADriver.java:

  /**
   * Determine the number of words based on the size of the input vectors.
   * Note: can't just check first part since it might have null vector. (this
   * is a possible when seq2sparse is run over a small dataset with a
large number
   * of reducers)
   */

I can see how there might be an empty file. But this implies a
zero-length vector, which seems wrong.

-- 
Lance Norskog
goksron@gmail.com