Skip to content

Fix/kernel language entropy#451

Merged
ArtemVazh merged 3 commits intomainfrom
fix/kernel-language-entropy
Apr 9, 2026
Merged

Fix/kernel language entropy#451
ArtemVazh merged 3 commits intomainfrom
fix/kernel-language-entropy

Conversation

@ArtemVazh
Copy link
Copy Markdown
Collaborator

Updated from #441

Kangwei-g and others added 3 commits April 3, 2026 15:47
Correct the definition of the Laplacian matrix and adjust matrix calculations for entailment and contradiction.
Copy link
Copy Markdown
Collaborator

@smirnovlad smirnovlad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. The symmetrization and neutral matrix changes are coupled and consistent — removing /2 from A + A.T requires adjusting neutral to 2 * ones - entail - contra. Also fixes the Laplacian formula in the docstring (D - W, not W - D).

@ArtemVazh ArtemVazh merged commit 4b0d445 into main Apr 9, 2026
1 check passed
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.

Bug: Incorrect Semantic Weight Scaling (/2) in Kernel Language Entropy (KLE) Leading to Severe Distortion of KLE Results

3 participants