-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
BinaryFlat add 2 Metric: Substructure Superstructure #1603
Comments
JinHai-CN
pushed a commit
that referenced
this issue
Mar 14, 2020
* add substructure & superstructure Signed-off-by: shengjun.li <shengjun.li@zilliz.com> * support c++sdk by lin.xiaojun Signed-off-by: shengjun.li <shengjun.li@zilliz.com> * optimizer omp for BinaryFlat; add tutorial Signed-off-by: shengjun.li <shengjun.li@zilliz.com>
@youny626 Please help to add Java sdk. |
Python SDK have add |
Available in java SDK 0.6.0-SNAPSHOT |
Go sdk and C++ sdk have added Substructure and Superstructure |
JinHai-CN
pushed a commit
that referenced
this issue
Mar 24, 2020
* modify substructure/superstructure to perfect match Signed-off-by: shengjun.li <shengjun.li@zilliz.com> * Update cases Signed-off-by: zw <zw@zilliz.com> * Fix case bug Signed-off-by: zw <zw@zilliz.com> * set invalid distance infinite Signed-off-by: shengjun.li <shengjun.li@zilliz.com> * Add distance cases Signed-off-by: zw <zw@zilliz.com> * Fix test cases Signed-off-by: zw <zw@zilliz.com> * Re-trigger ci Signed-off-by: zw <zw@zilliz.com> * fix wrong code Signed-off-by: shengjun.li <shengjun.li@zilliz.com> * Fix test case Signed-off-by: zw <zw@zilliz.com> * Fix case Signed-off-by: zw <zw@zilliz.com> * Fix cases Signed-off-by: zw <zw@zilliz.com> Co-authored-by: zw <zw@zilliz.com>
MrPresent-Han
pushed a commit
to MrPresent-Han/milvus
that referenced
this issue
Jun 4, 2024
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
I want Milvus to support more binary metrics.
Describe the solution you'd like
Here are the 2 Metric.
(1) Substructure: D(a, b) = ((a∩b)==a ? 0 : ∞)
(2) Superstructure: D(a, b) = ((a∩b)==b ? 0 : ∞)
Obviously, these two formulas do not satisfy the following properties.
(1) D(a, b) = D(b, a)
(2) D(a, b) + D(a, c) >= D(b, c)
So, IVF can not supported now.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: