Skip to content
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

Python Version Re-Ranking that Accepts Distance Matrices as Input #8

Closed
huanghoujing opened this issue Jan 6, 2018 · 1 comment
Closed

Comments

@huanghoujing
Copy link

Hi, Zhun Zhong. I modify the python version to

  • accept distance matrices instead of raw features, so that
    • distance is not restricted to Euclidean Distance
    • distance can be computed beforehand, independent of the re-ranking logic
  • handle the difference of / division between python 2 and 3
  • replace numpy.float16 with numpy.float32 for numerical precision

It can be found here.

Thanks a lot for your re-ranking work. Thanks also to @michuanhaohao.

@zhunzhong07
Copy link
Owner

Great! I have added your modified version to our code. Thanks for your interest in our work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants