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

Zero default LW #8

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Zero default LW #8

wants to merge 1 commit into from

Conversation

gherkins
Copy link

@gherkins gherkins commented Nov 25, 2021

Having a default LW greater than 0 resulted in an unnecessary connection between nodes, even with 0 values in the matrix.
Like, for example, in this LDA topic modelling results:

[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 294861, 102379, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 179786, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 123373, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 114517]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 88530]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 67675, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63946, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 63348, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 62784, 0]
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 60785, 0, 0, 0, 0]
[294861, 0, 0, 0, 0, 0, 0, 63348, 0, 60785, 0, 0, 0, 0, 0]
[102379, 179786, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 123373, 0, 0, 0, 63946, 0, 0, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 0, 0, 67675, 0, 0, 62784, 0, 0, 0, 0, 0, 0]
[0, 0, 0, 114517, 88530, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Topics (last 5 cols & rows) wouldn't have connection to each other but had been referenced with a minimum width connection.
Leaving LW at 0 per default, resulted in a much cleaner correct diagram.

LW_0 3

LW_zero

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

Successfully merging this pull request may close these issues.

1 participant