mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack He <>
Subject how to convert a text file to vector for kmeans
Date Fri, 16 Sep 2011 09:41:15 GMT
I've tried commad below:
mahout seqdirectory -i cluster/testdata -o cluster-seq -c UTF-8

the input file just like:
1 2 3 4 5
6 7 8 9 10
11 12 ...etc
then, I've got a file named chunk-0 in the directory's almost
the same with input file.

the next step, I ran the commad below:
mahout seq2sparse -i cluster-seq -o cluster-seq-vec

but it didn't work.said:

Error: java.lang.ClassNotFoundException: org.apache.lucene.analysis.Analyzer

My English is poor, hope you can understand what I said. Thanks for your

View this message in context:
Sent from the Mahout Developer List mailing list archive at

View raw message