Question: Problem Statement Evaluation You are given a recommendations.csv file with user ids and you are supposed to recommend atmost 1 0 songs. The training data
Problem Statement Evaluation
You are given a recommendations.csv file with user ids and you are supposed to recommend atmost
songs.
The training data is provided in train.csv file.
Your entries in the recommendations.csv file should be such that for each row the first value must be
userid followed by recommended songids all seperated by comma.
Make sure you have atleast one recommendation for each user in recommendations.csv or else your
score will be zero
The recommended songs to a user must be different from what you already have in the training set
for the same user.
A user can have at most recommendations.
The final score F will be a harmonic mean of precision and recall values.
Run the below script to score your recommendations.
pip install testrecommendationpynoneany.wh
import dill
import csv
Run the below cells to test your recommedation model
from testrecommendation import recommendation
recommendation. score recommendationscsv Evaluate.ipynb
recommendations.csv
Delimiter:
Evaluate.ipynb
train.csv
Delimiter.
tableuseridsongidlistencount,title,release,artistname,year,fded dcaeOAKIMPACThe Cove,Thicker Than Water,Jack Johnson,fded dcaeBBMDRACBtre Dos Aguas,lamenco Para NiosPaco De Lucia,fded dcaeBXHDLACCStronger,Graduation,Kanye West,fdeddcaeBYHAJABFDConstellations,In Between Dreams,Jack Johnson,fdeddcaeDACBLACCLearn To Fly,Nothing Left To Lose,Foo Fighters,fdeddcaeDDNQTADFFEd Rock N Roll,intologa Audiovisual,Hroes del Silencio,fdeddcaeDXRTYABFBaper Gangsta,The Fame Monster,Lady GaGa,fdeddcaeIFGUAYABBAtacked Actors,Nothing Left To Lose,Foo Fighters,fdeddcaeFRQTDACCSehr kosmisch,Musik von Harmonia,Harmonia,fdeddcaeHQWYZADFAjurn your eyes,phane Pompougnac,on feat. Emiliana Torrini,fdeddcaeDIYTOAADFALet it Be Sung,If I Had Eyes,ebowitz Steve Adams,deddcaeOIZAZLACBNbum VersionNo Way Out,Puff Daddy,fdeddcaeJNNUAAAECALove Shack,Original Hits Rock,The B
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
