Skip to content

Commit

Permalink
Remove COSINE distance as supported function.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ralph Gasser committed Jan 13, 2024
1 parent 7086be2 commit 608ab92
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ data class PQIndexConfig(val distance: Name.FunctionName, val numCentroids: Int,
const val DEFAULT_SUBSPACES = 8

/** Set of supported distances. */
val SUPPORTED_DISTANCES: Set<Name.FunctionName> = setOf(ManhattanDistance.FUNCTION_NAME, EuclideanDistance.FUNCTION_NAME, SquaredEuclideanDistance.FUNCTION_NAME, CosineDistance.FUNCTION_NAME)
val SUPPORTED_DISTANCES: Set<Name.FunctionName> = setOf(ManhattanDistance.FUNCTION_NAME, EuclideanDistance.FUNCTION_NAME, SquaredEuclideanDistance.FUNCTION_NAME)
}

/**
Expand Down

0 comments on commit 608ab92

Please sign in to comment.