Github user dlwh commented on the pull request:

    https://github.com/apache/spark/pull/1964#issuecomment-53598635
  
    We'd happily take a distance ufunc, or perhaps a collection of distance
    ufuncs along the lines of what's here. I'd want it to be more Breeze-like
    than what's in the PR right now.
    
    I agree with Erik that the right thing to do is to allow people to pass in
    their own distance function.
    
    -- David
    
    
    On Wed, Aug 27, 2014 at 7:35 AM, Erik Erlandson <[email protected]>
    wrote:
    
    > It seems most elegant and scala-like to directly supply the distance
    > function as the parameter, instead of just a 'type' that selects some
    > internal function. If you don't like one of the pre-defined distance
    > functions, write your own and use it as the parameter.
    >
    > —
    > Reply to this email directly or view it on GitHub
    > <https://github.com/apache/spark/pull/1964#issuecomment-53581400>.
    >


---
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