How to use the annoy.__init__.AnnoyIndex function in annoy

To help you get started, we’ve selected a few annoy examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github spotify / annoy / annoy / __init__.py View on Github external
def get_nns_by_item(self, i, n, search_k=-1, include_distances=False):
        # Wrapper to support named arguments
        return super(AnnoyIndex, self).get_nns_by_item(i, n, search_k, include_distances)

annoy

Approximate Nearest Neighbors in C++/Python optimized for memory usage and loading/saving to disk.

Apache-2.0
Latest version published 2 years ago

Package Health Score

68 / 100
Full package analysis

Similar packages