Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Nearest Neighbours Recommendations #14
This adds a fast and memory efficient of Item-Item KNN Recommendation models.
Calculating the Similarity matrix is based on the algorithm described in the
Also switch to using C++ instead of C for Cython, run flake8 on the Cython code,
changed the title from
first draft nearest neighbours code
Nearest Neighbours Recommendations
Feb 6, 2017
Feb 12, 2017
Performance should be identical between C++ and C.
The API's and functions are also compatible from Python - I changed to C++ mainly to use the heap functions provided with the STL: https://github.com/benfred/implicit/blob/master/implicit/nearest_neighbours.h#L21