On Tuesday 08 July 2008, Palleti, Pallavi wrote:
> I couldn't get the refactoring part. Can you please elaborate on this
> And regarding Euclidean distance metric the equation is distance(X,Y) =
> SQRT( Sigma( power((xi-yi),2))).

Well, you should be able to express without loops only in terms of vector 
operations that are already defined in the interface. If you do this, then 
there is no need to distinguish sparse and dense vectors.
 
Isabel

-- 
I think there's a world market for about five computers.                -- 
attr. Thomas J. 
Watson (Chairman of the Board, IBM), 1943
  |\      _,,,---,,_       Web:   <http://www.isabel-drost.de>
  /,`.-'`'    -.  ;-;;,_
 |,4-  ) )-,_..;\ (  `'-'
'---''(_/--'  `-'\_) (fL)  IM:  <xmpp://[EMAIL PROTECTED]>

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to