
May 1st, 2002, 11:01 AM
|
|
Contributing User
|
|
Join Date: Apr 2002
Location: NYC
Posts: 79

Time spent in forums: < 1 sec
Reputation Power: 12
|
|
|
I didn't think this through thoroughly, but my first reaction is to say that you have to make some kind of decision about how important the characteristics are that you mentioned - the problem is arbitrary without that.
My first approach would be: for each song, add one to the number of times it has been played (so each song gets representation). I'll ignore the number of times requested, since presumably songs that have been played a large number of times got that way because they were most often requested. That is to say, the non request contribution, per song, I would expect to be small. Now I would scale this number down by the percent of times the song was skipped. E.g. Played 99 times, skipped 10 times => (1+99)*(99-10)/99 (or something similar).
So now I would pick one of the songs at random, in relative proportion to this number just computed.
Csaba Gabor
|