Reputation: 507
I am looking to research an appropriate algorithm for my purpose, can someone suggest a good learning algorithm for the following scenario:
A user can search for some word in a set of sentences. I will then return the top 10 sentences based on that keyword, I want the algorithm to allow user input, that is a user can click on the best sentences and this information will help the search algorithm to return more appropriate results in the future.
Upvotes: 7
Views: 725
Reputation: 4774
Seems like you want to use user feedback to improve some kind of search results. If that is right you should take a look at Rocchio. You could, also, maintain a list of "clicked" sententes for each keyword. That way you can boost the "clicked" ones positions in the rank.
Upvotes: 2
Reputation: 31
You might find this chapter in the Qi II manual useful:
The chapter discusses the use of semantic nets to store and sort data. I also recommend the exercises at the back of the chapter; they may give you some ideas, no matter what language you're writing in.
Upvotes: 1
Reputation: 1518
Look into some sort of matrix factorization technique, like singular value decomposition or non-negative matrix factorization.
Upvotes: 0