data-mining-group-project / mood-classifier

Spotify Mood Classifier based on playlist names (Sad or Happy)
0 stars 3 forks source link

Get the feature of all the songs of both "moods" #10

Closed Guiwald closed 5 years ago

Guiwald commented 5 years ago

We need to find a way to get the features of all songs of each categories

Guiwald commented 5 years ago

Branch extracting-features

Issue with my code when trying to get the features for 1000 songs: Request failed [429] This issue isn't blocking the code to get all the feature, but it takes time: 1 min 30 when tried to 1000 songs

Reason: rate limiting

AnneliseCanesso commented 5 years ago

This worked but again return a list. So, there is a way to do it.

sad_data <- lapply(sad_id, function(x) { get_track_audio_features(x, authorization = get_spotify_access_token()) })

AnneliseCanesso commented 5 years ago

I have it done! Please have a look if you guys can see the code

Guiwald commented 5 years ago

Done in #11 Have a look at my code @AnneliseCanesso, and if you have trouble to commit yours I'll show you tomorrow

AnneliseCanesso commented 5 years ago

I am done as well! I’ve submitted there!

Il giorno mer 3 apr 2019 alle 20:19 Guiwald notifications@github.com ha scritto:

Done in #11 https://github.com/data-mining-group-project/mood-classifier/pull/11 Have a look at my code @AnneliseCanesso https://github.com/AnneliseCanesso, and if you have trouble to commit yours I'll show you tomorrow

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/data-mining-group-project/mood-classifier/issues/10#issuecomment-479623794, or mute the thread https://github.com/notifications/unsubscribe-auth/ArbiE3o618oXKjYSPUW0R3rI95zAwoNWks5vdP7agaJpZM4cZS7- .

-- Best Regards, Annelise Canesso

AnneliseCanesso commented 5 years ago

Yeah definitely need help to submit it, I think I've shared my whole history in R but the code does not show up hahaha - I can see the excel in my Git, but not here as well!