Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8076003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T15:10:21+00:00 2026-06-05T15:10:21+00:00

I should choose a recommending system algorithm & simulate it in the field of

  • 0

I should choose a recommending system algorithm & simulate it in the field of social network. The only algorithm I could find it’s code is slope-one. I have 2 question:

  1. Is this algorithm suitable for social network? If the answer is negative, Would you please introduce me an other useful algorithm?

  2. I don’t know, how can I do this simulation? what should I do? & what’s it’s requirements?

any guide would be helpful, thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T15:10:22+00:00Added an answer on June 5, 2026 at 3:10 pm

    1.

    Slope One is a really simplistic one, but yeah, you could probably use it. Facebook uses EdgeRank for newsfeed.

    2.

    As per your comment, what are your requirements/preferences as far as language, framework, etc? If you’re open to , if you’ll pardon the pun, recommendations, I’d suggest an ASP.Net MVC 3 web project.

    Setting up the data will be a matter of setting up a "Person" or "Friend" class (this is assuming you want a friend recommendation — you could just as easily do this with groups, pages, apps, etc — your choice). Then, you’ll create several (the more the better) instances of that class, with randomized names, properties, etc. Google search random generators for this – I’m sure you’ll find something. Or write the code for it yourself. If you can’t do either of those, write me back on here and I’ll throw together some code for it.

    Then, you’re going to set up a small-scale representation of a network. That is, define the relationships between your “People”. There are several ways to do this, but in your scenario you could probably get away with giving each Person Object a "Friends" property, which holds a reference to other Person objects.

    I’m going to leave the algorithm implementation a little more up to you (since this is a scholarly project, I have to let you learn, right?), but here is a little bit of groundwork to get you started:

    Using the implementation you showed me, you could set up a class like so:

    public static class Rating
    {
        public static double RatingBetween(Person a, Person b)
        {
            double rating = 0;
            foreach (Person friend in a.Friends)
            {
                if(b.Friends.Contains(friend))
                {
                    rating ++;
                }
            }
        }
    }
    

    This is a very very simple example, but basically it works like this: For every friend of person a, if person b also has this friend, the rating between person a and b gets a little bit better. You’ll want to add other scenarios to this (for example, you might add 5 rating if friend a and friend b live in the same city, and 5 for same school, job, etc. Then you can set up a dictionary (or something) of ratings for a given Person, like this:

    Dictionary<Person, double> FriendDict = new Dictionary<Person, double>();
    foreach (Person a in personYouAreRecommendingFriendsFor.Friends)
    {
        FriendDict.Add(a,Rating.RatingBetween(personYouAreRecommendingFriendsFor, a))
    }
    

    So now you have a table of ratings set up, and you can use the implementation you found to do the rest.

    If you need any more nudges in the right direction as you go, I’d be happy to help. Just comment back on here.

    Helpful references

    • Wikipedia Article on Slope-One
    • Some help with free social networking SDK’s — this may help with defining your network, objects, patterns, etc.

    Good luck!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I really didn't know what title I should choose. Anyway, I have code like
I think Socket.IO should choose The best method to find connection with the server
I am having trouble finding information related to which i should choose, OpenGL ES
can you just tell me for which type of requirement we should choose framework
When should I choose one over the other? Are there any pointers that you
What datatype should I choose for storing an IP Address in a SQL Server?
Which audio codec should I choose for my C# software development project where the
I would like to know which WP plugin should I choose to allow every
Your task, should you choose to accept it, is to write a Perl regular
What is the difference between ListView and ArrayList and what should i choose when

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.