Skip to content

Conversation

@123nol
Copy link
Collaborator

@123nol 123nol commented Dec 20, 2025

Added an implmentation of II-surprisingness, one that parallels Isurp-old with concrete values for probabilies and no consideration for confidence or uncertaintity as outlined in the OpenCog paper of measuring surprisingness. Added a test file that measures the II-surpisingness of a pattern on a custom KB , that has concepts that have a super and sub concept relationship amongst eachother. Since II-surprisingness is more constraining , only truely surprssingess patterns that can't be extrapolated from their super and sub concept counterparts get a value higher than 0.

In addtion to this , there is also a pln based II-surprsingess implementation that parallels JSD-surprisingess, the component that gets the truth values for the pattern's super and sub counterparts is complete and i added a test for that, waiting for some JSD-surprsingness to be ported to petta for it to be complete.

Copy link

@tezena tezena left a comment

Choose a reason for hiding this comment

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

Hey, I’ve been going over this and had a suggestion. We could modularize both implementations and reuse shared helper functions. It might also be helpful to add some documentation and clean up unnecessary commented-out code.

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.

3 participants