Skip to content

Commit

Permalink
remove comment
Browse files Browse the repository at this point in the history
  • Loading branch information
huaxingao committed Nov 14, 2019
1 parent dbb1643 commit a06c6f4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion mllib/src/main/scala/org/apache/spark/ml/feature/LSH.scala
Expand Up @@ -139,7 +139,6 @@ private[ml] abstract class LSHModel[T <: LSHModel[T]]
val hashDistUDF = udf((x: Seq[Vector]) => hashDistance(x, keyHash), DataTypes.DoubleType)
val hashDistCol = hashDistUDF(col($(outputCol)))

// Compute threshold to get exact k elements.
val modelDatasetWithDist = modelDataset.withColumn(distCol, hashDistCol)
var filtered: DataFrame = null
var requestedNum = numNearestNeighbors
Expand Down

0 comments on commit a06c6f4

Please sign in to comment.