mahout-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Grant Ingersoll <gsing...@apache.org>
Subject Re: A Bunch of Vector questions
Date Tue, 09 Jun 2009 22:36:48 GMT

On Jun 9, 2009, at 5:49 PM, Grant Ingersoll wrote:

> I'm looking into the whole labels thing as well as Vector stuff and  
> I'm confused by a couple of things.
>
> 1. DirchletMapper assumes DenseVector implementation, no?  Line 45?
>
> 2. Shouldn't DenseVector implement equals like SparseVector does?

And, along those lines, do the equals() implementations really need to  
be class equivalent?  In other words, isn't it possible to have a  
SparseVector and a DenseVector containing the same points be equals(),  
despite what the SparseVector.equals() method implements?  Likewise  
for VectorView?

Mime
View raw message