I was looking for a shuffling algorithm to shuffle mp3-playlists so was very
happy to see System.Random.Shuffle:
http://hackage.haskell.org/cgi-bin/hackage-scripts/package/random-shuffle-0.0.2
However I get errors,non-exhaustive patterns in function shufleTree or
extractTree depending how I call
I'm playing around with Netflix, implementing a simple KNN-algorithm, I will
later try SVD which seems to be the most successful approach.
Using a database like Postgresqk is to slow so I want to serialize a
datastructure containing the ratings. I'm not sure about the
representation I will use
http://hpaste.org/fastcgi/hpaste.fcgi/view?id=1989#a1990
Is the algorithm wrong ar am I using it wrong?
Also, is the second argument to shuffle supposed to eb random numbers, ie
the function should be used in the IO Monad?
___
Haskell-Cafe mailing