mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donni Khan <prince.don...@googlemail.com>
Subject Re: Clusters developed using Mahout 0.8 version, can I use clusterdump from Mahout 0.9 version?
Date Wed, 26 Nov 2014 07:53:04 GMT
Hi,
You can use WeightedVectorWritable(Version 0.8)  instead of
WeightedPropertyVectorWritable(Version .9).

Donni

On Wed, Nov 26, 2014 at 12:27 AM, Viral Parikh <Viral.Parikh@match.com>
wrote:

> To Whomsoever It May Concern -
>
> I have kmeans clusters from Mahout 0.8 version. Since then we have
> upgraded our Hadoop stack and also Mahout to 0.9 version.
>
> But I wanted to clusterdump the clusters we created using 0.8 version.
> When I use clusterdump in 0.9 version, I get an error -
>
> Exception in thread "main" java.lang.ClassCastException:
> org.apache.mahout.clustering.classify.WeightedVectorWritable cannot be cast
> to org.apache.mahout.clustering.classify.WeightedPropertyVectorWritable
>
> In 0.9 Apache Mahout Release Notes below, I see that the ClusteredPoints
> should be weightpropertyvectorwritable and not weightedvectorwritable.
>
>
> http://svn.apache.org/viewvc/mahout/trunk/CHANGELOG?view=markup&pathrev=1563661
>
> What should I do in this case? I still want the clusterdump of my previous
> clusters developed from 0.8 version.
>
> I look forward to your reply.
>
>
> Thank you,
> V
>
>

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