Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color-code edges by number of co-occurrences in the co-occurrences graph? #12

Open
albertocottica opened this issue Mar 3, 2017 · 3 comments

Comments

@albertocottica
Copy link
Member

Today I am trying to find "novelty" in the opencare data. I chose migration as a starting point. That turns out to have many connections:

image

I have two problems.

  1. An interaction problem. Edges are too close to each other and it is difficult to select one. I can zoom, but then I lose sight of the source/target.
  2. A data problem. Since we are interested in collective intelligence, I care mostly about edges that encode more than one co-occurrence. These edges are quite rare. The vast majority only encode one.

In order to zero in on the relevant edges, we could (a) color-code edges by number of co-occurrences; or (b) adopt a filter, same as in the full co-occurrences graph.

@jason-vallet
Copy link

I have opted for (b). I feared the colour coding would not have been very efficient on denser graphs.

@albertocottica
Copy link
Member Author

The filter does not work well. For example, the edge between legality and safety does not get included in the graph until I crank the filter almost all the way down, and yet it encodes 7 co-occurrences. The edge between legality and migration only encodes 6, but it stays in after the former one has been filtered out.

@albertocottica albertocottica reopened this Mar 6, 2017
@jason-vallet
Copy link

I had a bug yesterday evening when trying to fix #15. Otherwise, the filter's progression is linear so there is some gaps for which the filter will not have any effect. Tags with numerous co-occurences are responsible for corrupting the scale.

I have replayed your example but I have different results. The edge connecting legalityand safety weights 7 co-occurrences but the one between legality and migration is much heavier, encoding 21 co-occurrences which would explain the behaviour.

You can visualise the edges' label to check the number of co-occurrences being encoded by the edge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants