Reputation: 115
I'm building a service where a user can submit "list" of links he recommends/likes (articles, sites...etc) and the system will show him a list of other links he may like as well.
The only idea in my mind to do this process is:
Do you have any other way to do this? or do you have any open source project that doing the same thing?
Any language is ok but I'm more into Perl, PHP, Java, SQL
Upvotes: 0
Views: 150
Reputation: 97948
I think having exactly the same links is very unlikely. A better approach would be to download each link and create a word index and try to match the contents rather than links. Much like web search :)
Upvotes: 0
Reputation: 3260
Your approach is simple to implement. However, as I'm reading it, you are pairing users and not links. What if you don't find any match to within 80% ?
I think a better approach would be to build a graph with links as nodes and a "similarity" score for the connections. You compute the score based on the number of times each 2 links appear in the same list.
When you want to make a recommendation for user A, you get the highest scoring link(s) for each of his links that aren't already in his list.
Upvotes: 1