Faffing round the edges Its easier than getting stuck in

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).
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

You must be logged in to post a comment.

No trackbacks yet.

 

June 2009
M T W T F S S
« Mar    
1234567
891011121314
15161718192021
22232425262728
2930  

Archives