You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by 孙 明明 <ma...@sunmingming.name> on 2011/12/11 17:30:17 UTC

Is there a bug in SpectralKMeansDriver?

Hi,

   I found that the SpectralKMeansDriver writes:

LanczosState state = new LanczosState(L, overshoot, numDims, solver.getInitialVector(L));

   However, the LanczosState constructor is:

LanczosState(VectorIterable corpus, int numCols, int desiredRank, Vector initialVector).

  
   I believe overshoot should be the desiredRank. Is the order of parameters in LanczosState mistake?

   Regards.

   Mingming