Skip to content

feat: change recommendation song algorithm#42

Merged
Dun-sin merged 1 commit into
mainfrom
feat/change-selection-algorithm
Mar 18, 2026
Merged

feat: change recommendation song algorithm#42
Dun-sin merged 1 commit into
mainfrom
feat/change-selection-algorithm

Conversation

@Dun-sin
Copy link
Copy Markdown
Owner

@Dun-sin Dun-sin commented Mar 18, 2026

👨‍💻 Changes proposed(What did you do ?)

instead of using an average of a song's score to the original selected songs for playlists and getting alot of mid recommadations, a song should meet a high threshold of at least .7 of majority of the songs.

Old recommendation algroithm:
5 songs are selected -> each recommended song is scored across all 5 -> an average score is taken -> sort all songs according to their scores -> pick the top 100

New:
5 songs are selected -> each recommended song is scored across all 5 -> check if each song at least hits 0.7 for at least 3(selectedsongs/2 + 1) of the selected songs -> sort according to the highest discard songs that are below the threshold -> pick the top 100

@Dun-sin Dun-sin merged commit 22c6114 into main Mar 18, 2026
3 checks passed
@Dun-sin Dun-sin deleted the feat/change-selection-algorithm branch March 18, 2026 14:08
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hear-it-fresh Ready Ready Preview, Comment Mar 18, 2026 2:08pm

github-actions Bot pushed a commit that referenced this pull request Mar 18, 2026
# [1.14.0](v1.13.0...v1.14.0) (2026-03-18)

### Features

* change recommendation song algorithm ([#42](#42)) ([22c6114](22c6114))
@Dun-sin
Copy link
Copy Markdown
Owner Author

Dun-sin commented Mar 18, 2026

🎉 This PR is included in version 1.14.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant