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

Add "entities like these" to mediKanren #10

Open
mattmight opened this issue Apr 1, 2018 · 1 comment
Open

Add "entities like these" to mediKanren #10

mattmight opened this issue Apr 1, 2018 · 1 comment

Comments

@mattmight
Copy link
Collaborator

Google used to have a feature where you could enter a set of things, and then ask it to extend the list with more "similar" entities.

For example, if you entered "dog, cat, cow", it might add "horse, pig, chicken."

It would be cool if we could do this in mediKanren. Given a list of entities, we could find overlapping properties, e.g. each one INHIBITS c for the same concept c. Then, we could look for other inhibitors of c.

We could rank by the number of shared predicates. And weight by the number of elements in the core set that it shares it with.

For examples, if 2 out of 3 items in the core set share a predicate, then satisfying this predicate is worth .66 points in the ranking.

@andrewsu
Copy link

andrewsu commented Apr 2, 2018

This may be entirely too simplistic (or obvious), but perhaps very simple extensions of Swanson's ABC model could be applicable here. I think it has the advantage of being conceptually simple to understand/implement.

(If "Swanson's ABC model" isn't immediately clear, happy to dig up some references/schematics. Just not finding anything great right at the moment... the original paper is here, but I'm sure I've seen follow on papers that describe things more clearly and concisely...)

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

No branches or pull requests

2 participants