Hi,

    When I try to use bayes in mahout. I'm confused by a property of Vector
, "cardinality".

    My question is when I prepare the input data for bayes, I must set the
Vector size of input data to the number of features?

    Because in WeightsMapper.map() function,
"weightsPerFeature.assign(instance,
Functions.PLUS);" may throws CardinalityException if first vector of
records is not with the same size of later on vectors.

-- 
Luke

Reply via email to