Live data from Hacker News

My Python Code for the Netflix Prize

github.com

1–10 of 31 posts

My Python Code for the Netflix Prize

#1
I competed alone in the Netflix Prize in college under the team name "Hi!". I've never seen anybody release their code, and I'm getting back into machine learning now, and realized that some folks might want to take a gander at a competitive machine learning codeset.

It's implemented mostly in Python, with Cython for the real speed-sensitive parts (everything in file "svd.pyx" did the heavy lifting, and got me up the leaderboard).

I hope that some folks will find this useful.

My Python Code for the Netflix Prize
github.com

Re: My Python Code for the Netflix Prize

#4
post #3

great for ref. however i can't found the dataset anywhere on the internet :(

Netflix had to pull the dataset after a researchers at U Texas were able to de-anonymize the dataset, shown in their paper Robust De-anonymization of Large Sparse Datasets.[http://www.cs.utexas.edu/~shmat/shmat_oak08netflix.pdf]

Re: My Python Code for the Netflix Prize

#6
@tuananh I've got the dataset stored away, but I don't know if I'm legally allowed to post it. Would love if someone could produce proof one way or the other.

@viraj_shah I spent about 6 months working on the project before I had to stop to concentrate on my schoolwork (I was a senior in collge at the time). I think it would have been impossible to do this for myself without Cython. If it were to happen today, I would probably be writing in PyCuda, or with Numba, and it would be much, much, MUCH more succinct.

Re: My Python Code for the Netflix Prize

#7
post #6

@tuananh I've got the dataset stored away, but I don't know if I'm legally allowed to post it. Would love if someone could produce proof one way or the other. @viraj_shah I spent about 6 months working on the project before I had to stop to concentrate on my schoolwork (I was a senior in collge at the time). I think it would have been impossible to do this for myself without Cython. If it were to happen today, I woul…

@alexbw Thanks for the info, great work!

Re: My Python Code for the Netflix Prize

#8
Here's mine if anyone is interested. I wrote it in D and haven't looked at it in years. I'm sure it's not usable as-is, but it might be fun anyway.

https://github.com/nogwater/NetflixPrizeD

The algorithm is based on Simon Funk's blog post here: http://sifter.org/~simon/journal/20061211.html

For me, the best part was squeezing the data and indexes into memory. :)

Post reply on HN