I have to do one project for my thesis involving Artificial intelligence, collaborative filtering and machine learning methods.
I only know PHP/mysq/JS, and there is not
You can use either Java or Python. A lot of resources are available for both languages.
I think following books might suit for your purpose.
Programming collective intelligence: building smart web 2.0
collective intelligence in action