Skip to content

Comments

Nary-implementation#155

Open
123nol wants to merge 6 commits intopetta-mainfrom
comp-nlw
Open

Nary-implementation#155
123nol wants to merge 6 commits intopetta-mainfrom
comp-nlw

Conversation

@123nol
Copy link
Collaborator

@123nol 123nol commented Feb 13, 2026

Added an nary implemetation for IIsurp, where regradless of where the 'concept' is placed in the pattern as a result of how the kb was structured, it will consider every symbol metatype within the pattern as a potential symbol and tries to find super concept couterparts for it by substituting it with a variable within the original pattern and collecting all the bindings for that variable and checks if any of those bindings are valid super concepts to the symbol metatype we had replaced with a variable.

It does this for every subpattern within the conjunct and aggregates the max and min probabilities for it , which will finally be concatnated with the estimates geneated by consdering the partitions of the conjunct and finds how much the emperical probability of the conjunct deviates from the max and min estimates.

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.

I think you should remove the checker that verifies whether a pattern already has a surprisingness score. Since we have abstract patterns, and already exists in the space, it will bind with the rest of the patterns. As a result, no new surprisingness scoring will be applied afterward.

@123nol
Copy link
Collaborator Author

123nol commented Feb 17, 2026

the changes have been added

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.

2 participants