I have implemented the KNNMean() algorithm for product recommendations. It is working fine and for the evaluation of the model, I have extracted the neighbors of each customer using algo.get_neighbors(toy_story_inner_id, k=10) function but I want to know the similarity score of each neighbor, how can I find the similarity score of the neighbors?
Description
I have implemented the KNNMean() algorithm for product recommendations. It is working fine and for the evaluation of the model, I have extracted the neighbors of each customer using algo.get_neighbors(toy_story_inner_id, k=10) function but I want to know the similarity score of each neighbor, how can I find the similarity score of the neighbors?
Versions