Github user yu-iskw commented on the pull request:

    https://github.com/apache/spark/pull/1964#issuecomment-53012573
  
    > one brief comment: with breeze vectors you can say abs(v) instead of 
v.map(Math.abs(_))
    
    Sorry, I can't find abs API for a vector in Breeze API documentation.
    http://www.scalanlp.org/api/breeze/#breeze.numerics.package$$abs$
    Manhattan distance requres max values for each abs() element in a vector. 
So I think that we shouldn't use import breeze.numerics.abs.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to