Fix score conversion for inner product
Signed-off-by: John Mazanec <jmazane@amazon.com>
This commit is contained in:
parent
005168edf2
commit
3340083904
|
@ -312,8 +312,8 @@ A space corresponds to the function used to measure the distance between two poi
|
|||
</tr>
|
||||
<tr>
|
||||
<td>innerproduct</td>
|
||||
<td>\[ Distance(X, Y) = \sum_{i=1}^n (X_i - Y_i) \]</td>
|
||||
<td>1 / (1 + Distance Function)</td>
|
||||
<td>\[ Distance(X, Y) = -{A · B} \]</td>
|
||||
<td>if (Distance Function >= 0) 1 / (1 + Distance Function) else -Distance Function + 1</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>hammingbit</td>
|
||||
|
|
Loading…
Reference in New Issue