c# - How to build a simple recommendation system? -


How to create a simple recommendation system? I have seen some algorithms but it is so difficult to implement that I want them to have practical details to implement their most basic algorithms?

I have these three tables

  User Username Username 1aa2bbb  

and

  Product Product Name 1 Laptop 2 Mobile Phone 3 Car  

and

  users_products userid productid 1 1 3 3 2 2 3  

That's why I want to be able to itemize items for each item they purchased and items of other users based on the items

I knew it was among the users Comparabilities should be calculated and then see their prospect, but how it can be done and stored in a database because it will need a table with something like this

  1 2 3 4 5 6 & lt; & Lt; User 'Aids 1) 1.4.4.2.3.8.42) .3.1.5.7.7. 9 3) .4.41.88.2.33 4.6.6.6.6.1.4.22 5) .8.7.7.4.21.36) 1.4.46.7 9 1 ^ ^ User 'ID  

So how do the calculations between users compare? And how can this complex data be stored in the ad database? (This requires a table with each column for each user)? Thanks

How exactly do you want to store recommendations is completely unrelated as a question How to actually implement a recommended engine I would recommend leaving it to my database architecture

You said "simple", so a Pearson correlation coefficient can be something that you want to read.

It is easy to calculate such a thing,


Comments