I have an application in which users interact with each other. I want to visualize these interactions so that I can determine if user clusters exist (in which interactions occur more often).
I have assigned a two-dimensional point for each user (where each coordinate is between 0 and 1). My idea is that the points of two users get closer to each other when they interact, “attractive power”, and I just re-look at my interaction logs again and again.
Of course, I need a “repulsive force”, which will also make users disperse, otherwise they will all collapse at one point.
At first I tried to control the lowest and highest of each XY coordinates and normalize their positions, but this did not work, several users with a small amount of interactions remained at the edges, and the rest all collapsed into the middle.
Does anyone know which equations I should use to move the points, both for the “attractive” force between users in their interaction, and the “repulsive” force to stop them all collapsing into one point?
Edit: In response to a question, I should indicate that I am dealing with 1 million users and about 10 million interactions between users. If anyone can recommend a tool that could do this for me, I'm all ears :-)
source
share