We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ac96fb2 commit eca3dfdCopy full SHA for eca3dfd
examples/src/main/scala/org/apache/spark/examples/mllib/CosineSimilarity.scala
@@ -60,7 +60,7 @@ object CosineSimilarity {
60
// Compute similar columns perfectly, with brute force.
61
val simsPerfect = mat.columnSimilarities().entries.collect
62
63
- // Compute similar columns with estimation focusing on pairs more similar than threshold
+ // Compute similar columns with estimation using DIMSUM
64
val simsEstimate = mat.columnSimilarities(threshold).entries.collect
65
66
val n = mat.numCols().toInt
0 commit comments