uprm-inso4116-2023-2024-S1 / musicmap

semester-project-musicmap-team created by GitHub Classroom
2 stars 1 forks source link

Spotify : Develop Notifications Feature Algorithm #88

Open AngelGonzs opened 1 year ago

AngelGonzs commented 1 year ago

As we already have the necessary requirements to move forward with this algorithm, we will start developing it.

The main idea is comparing between all nearby users, but since for now we won’t care about distance when developing this, just consider all users in the DB previously added. These users will be compared with the current user in two ways:

As you can see, the basis of the comparison is getting the current user’s sets, and checking if anyone else is currently listening to something within those sets.