And actually, you're oversimplifying--you're assuming you have 365
artists in a uniform distribution.  I'd expect about 15% of any random
mix to be one artist (Marillion) since they're about 15% of my track
count.  The combinatorics are actually more complicated than that (and
they are with the birthday paradox as well, but assuming a uniform
distribution of birthdays works for the parlor trick aspect of it).

snarlydwarf;391911 Wrote: 
> (and now that I have had my caffeine..)
> 
> Since I am too lazy to do the math, we'll pretend you have 365 artists
> in your library.
> 
> If you choose 23 random tracks, then, you have a 50% or so chance that
> two of the tracks will be by the same artist.
> 
> If you choose 30 random tracks, then about 70% of the time two will be
> by the same artist.
> 
> For 50 tracks, you're at 99% chance of repeated artists.
> 
> If you have less artists, then the chances go up, of course... and if
> you have 365 albums, well, replace "artist" with "album" above.  Ie,
> with 365 albums, choosing 50 random tracks will almost always have at
> least two tracks from the same album.


-- 
mrfantasy

--Mike
http://last.fm/user/mrfantasy
------------------------------------------------------------------------
mrfantasy's Profile: http://forums.slimdevices.com/member.php?userid=1127
View this thread: http://forums.slimdevices.com/showthread.php?t=59041

_______________________________________________
beta mailing list
beta@lists.slimdevices.com
http://lists.slimdevices.com/lists/listinfo/beta

Reply via email to