mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Divya" <>
Subject generate similar documents
Date Thu, 28 Oct 2010 08:11:44 GMT

I have directory of documents from which I have generated Sequence file
using SequenceFilesFromDirectory and then converted it into vectors

Now referring below link to  generate a list of most similar documents


How can I use RowSimilarityJob to generate list of similar documents  .



 * <li>-Dmapred.input.dir=(path): Directory containing a {@link
DistributedRowMatrix} as a

 * SequenceFile<IntWritable,VectorWritable></li>

 * <li>-Dmapred.output.dir=(path): output path where the computations output
should go (a {@link DistributedRowMatrix}

 * stored as a SequenceFile<IntWritable,VectorWritable>)</li>

 * <li>--numberOfColumns: the number of columns in the input matrix</li>

 * <li>--similarityClassname (classname): an implementation of {@link
DistributedVectorSimilarity} used to compute the

 * similarity</li>

 * <li>--maxSimilaritiesPerRow (integer): cap the number of similar rows per
row to this number (100)</li>

 * </ol>



Which argument should I pass numberOfColumns and similarityClassname ?





  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message