Category Archives: Projects

Django profiling again

The process of profiling takes the identification of bottlenecks (parts of the code that run slowly) followed by their more or less successful removal. As described in the previous post about profiling you can get helped by using a profile middleware. The solution is all fine, but the problem remains how to identify a bottleneck.
You [...]

Share!
  • E-mail this story to a friend!
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
Posted in Projects | Tagged , , | Leave a comment

Profiling Django Applications

I don’t really like to put print statements in my code in order to do debugging. Actually the only thing I hate more is putting get-time-like functions before and after certain part of code. And then subtracting after with before and output the result. Wouldn’t it be nice to have a tool like gprof for [...]

Share!
  • E-mail this story to a friend!
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
Posted in Projects | Tagged , , , , | 2 Comments

Netflix Prize with Nearest Neighbours

Those not familiar with the contest can find the details here. After three weeks of work i managed to score 0.9422 rmse, which brings positions just above the 1000th place. how? Not too hard, but not too easy either.
I’ve put the k-nearest neighbours algorithm on work. The algorithm finds the nearest k samples to the [...]

Share!
  • E-mail this story to a friend!
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • StumbleUpon
Posted in Projects | Tagged , , | Leave a comment