Music-Recommendation-Engine-Project / Music-Recommendation-Engine

Music Recommendation System
10 stars 2 forks source link

Feedback iteration 2 #39

Open miguelgfierro opened 1 year ago

miguelgfierro commented 1 year ago
talphaidze commented 1 year ago

We created a new folder lib inside folder Models. We created separate .py files for item-similarity class, popularity class, precision recall functions. Regarding BPR, our main recommender system, the functions that were outside the loop "with graph.as_default():", we were able to define outside the file and put it in the lib folder. However, functions for finding similarities and making recommendations, we were not able to define outside the file. This is because the session was initiated inside the loop "with graph.as_default():" and for the functions to work they need to be defined inside the loop so the session does not close. This is why, even if we try to run the functions in the same file but separate cells the BPR does not work.