15Jun/090
Collective Intelligence in Erlang
It has been a long, long tie since I posted. I have a fair few more Project Euler solutions to post, and I will post them soon. Work has got in the way of my Erlanging. I'm gutted. I'd ditch Java in a flash for paid Erlang work.
Anyway. I start reading Programming Collective Intelligence, 1st Edition and I am enjoying it. I decided (er, for fun) to work along with the code and re-write it in Erlang.
Here is the first stuff (upto chapter 2.4)
I know I need to learn how to write @spec Edoc declarations.
So you can try it with:
recomendations:top_matches(recomendations:data(), "Toby",
fun(X, Y, Z) -> recomendations:pearson_similarity(X, Y, Z) end).