mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jack He <290426...@qq.com>
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 cluster-seq.it'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
help


--
View this message in context: http://lucene.472066.n3.nabble.com/how-to-convert-a-text-file-to-vector-for-kmeans-tp3341486p3341486.html
Sent from the Mahout Developer List mailing list archive at Nabble.com.

Mime
View raw message