mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suneel Marthi <suneel_mar...@yahoo.com>
Subject Re: Synthetic control dataset clustering { Doubt Reg Cardinality }
Date Wed, 11 Jan 2012 10:52:41 GMT
a) It would help if you could post the exception stacktrace.

b) CardinalityException is thrown when their is a cardinality mismatch when performing vector
or matrix operations.  For a KMeans driver this is usually thrown when computing the Distance
Measure when your feature vectors for whom the distance is being computed are both of differing
dimensions. 




________________________________
 From: rahul raghavendhra <rahulraghavendhra1@gmail.com>
To: user@mahout.apache.org; dev@mahout.apache.org 
Sent: Wednesday, January 11, 2012 4:39 AM
Subject: Synthetic control dataset clustering { Doubt Reg Cardinality }
 
Hi all, i have run that
org.apache.mahout.clustering.syntheticcontrol.<>.Job successfully.. when i
run with similar dataset(double values separated by ' ' (space))..

i got the error  org.apache.mahout.math.CardinalityException: Required
cardinality 16 but got 91

How this Cardinality is calculated and how it is passed  to kmeans driver..
how to calculate the cardinality for any dataset ?

please help


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