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

retrieving permuted indexes #82

Open
rajekta opened this issue Sep 14, 2018 · 1 comment
Open

retrieving permuted indexes #82

rajekta opened this issue Sep 14, 2018 · 1 comment

Comments

@rajekta
Copy link

rajekta commented Sep 14, 2018

I want to store and retrieve the indexes formed after permutation.
How can I do that.
Please Help.

@mkoralew
Copy link

@rajekta - I think you can easilly obtain it using labels:

engine.store_vector(np.array(x_item), data=str(index))

Then looking for similar vectors will be

indexes = [int(float(item[1])) for item in self.engine.neighbours(user)]

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