You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@mahout.apache.org by sri krishna <kr...@yahoo.com> on 2013/02/04 16:39:12 UTC
unable to create TF-IDF in mahout 0.7
after creating term vectors in from sequence file
i used below snippet (according to new version)
TFIDFConverter.processTfIdf(
new Path(outputDir , DictionaryVectorizer.DOCUMENT_VECTOR_OUTPUT_FOLDER),
new Path(outputDir), conf,TFIDFConverter.calculateDF(new Path(outputDir,DictionaryVectorizer.DOCUMENT_VECTOR_OUTPUT_FOLDER),new Path(outputDir),conf,chunkSize) ,minDf,
maxDFPercent, norm, true, sequentialAccessOutput, false, reduceTasks);
But it generates empty tfidf vectors , any clue of how to achieve this in mahout 0.7 using api ?