mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: SequenceFile cast problems
Date Tue, 13 Dec 2011 18:52:08 GMT
What steps have you done?

On Dec 13, 2011, at 12:29 PM, Daniele Volpi wrote:

> Hi everyone,
> I'm trying to implement the Naive Bayes classifier through the
> TrainNaiveBayesJob class.
> After convert the text files in the required sequencefile for the "run"
> method through the seqdirectory program i get this error:
> 
> java.lang.ClassCastException: org.apache.hadoop.io.Text cannot be cast to
> org.apache.mahout.math.VectorWritable
> 
> Do you have some hints on the right usage of this class?
> 
> Thanks,
> Daniele Volpi

--------------------------------------------
Grant Ingersoll
http://www.lucidimagination.com




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