Jump to content

Desiging a "people who liked this also liked.... " tool


stubarny

Recommended Posts

Hi,

 

I've designed a simple tool for identifying the quality of posts on my social network by forcing people to state whether they like a post or not before allowing them to see the next post. So for each post I have a running total of the number of people who have seen the post and the proportion or people who have liked/disliked the post.

 

Table of 'granular votes':

user_account, post_number, vote (like/dislike), timestamp, ip_address

 

I then have some running totals in the "posts" table:

post_likes (number of likes), post_dislikes (number of dislikes), post_views (number of post views)

 

What I'm trying to do now is personalise this functionality for each user by, identifying what posts people are likely to like based on their history of 'likes'. i.e. by finding which posts people liked who also like the same posts as the user. This should show posts that are not only high quality but also relevent to the user's interests.

 

However I'm really struggling with it - in my experience any solution that uses joined tables using lots of data is going to be really slow (hence me using running totals in the submissions table). Please could someone nudge me in the right direction for finding out an effective way of doing this?

 

Thanks,

 

Stu

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.