-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
About the distance metric #17
Comments
This is just the same distance in our paper. ||x-y||^2=sum(x^2)-2*sum(xy)+sum(y^2) The latter format is more computationally efficient. |
But in the paper, the equation is 1 - 2 / (1 + exp(||x -y||^2 + bias) |
|
1 - 2 / (1 + exp(||x -y||^2 + bias). See here. |
Got it, Thank you very much! |
Sure thing. |
CFBI/networks/layers/matching.py
Line 38 in 5da872e
The distance metric is simply the l2-distance, as shown above.
However, in your paper, the distance is defined as Eq.1.
So, which one is better?
The text was updated successfully, but these errors were encountered: