I want to know how I can find interesting relationships between user accounts, such as the most related or most valuable users, based on their connections with others.
Below I use two tables. One has all the users, the other has the keys of the users that they follow.
User { id, name } Follows { user_id -> user.id, following_id -> user.id }
What types of algorithms am I looking for?
Assuming that unimportant people have few or no followers, how can I find people in the center of the graph? I would suggest that they will be important because they have important people who follow them.
Update
As David and Steve point out, how close are the given nodes, which nodes form the child communities, and which users are the most connected, are examples of useful data that can be extracted from this scheme.
Since this "consistent" design is used by many sites now, I began to be generous in the hope of getting some reliable SQL versions or programming languages ββthat could be useful to a wide variety of people.
It is worth noting that although the results of some algorithms are fascinating, others (for example, finding related nodes) will cost users of our sites, as we can recommend something to them.
Xeoncross
source share