Github user viirya commented on the pull request:

    https://github.com/apache/spark/pull/4622#issuecomment-99541423
  
    @dbtsai Thanks for comments and the question.
    I have no very good answer to the question. We have used a threshold to 
filter out the insignificant similarities of large scale data. As you said, it 
is impossible to compute all the pairs. However, the data we process is very 
high dimensional and very sparse, so the all-pair computation can be much 
reduced by only considering the pairs having corresponding dimensions with 
values more than zero (or a threshold defined).



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