Giter Site home page Giter Site logo

add api to extract inference trace about ure HOT 4 OPEN

opencog avatar opencog commented on May 25, 2024
add api to extract inference trace

from ure.

Comments (4)

ngeiswei avatar ngeiswei commented on May 25, 2024

The backward chainer already somewhat supports that, i.e. the user can pass an auxiliary atomspace where the trace is stored. This is for instance used in the inference control meta-learning experiment https://github.com/opencog/opencog/tree/master/examples/pln/inference-control-learning

For more info on how to do that see (help cog-bc).

Regarding the forward chainer, the C++ code does some of that, but they are no scheme bindings for it. It could be added, although keep in mind that I eventually intend to merge the forward chainer into the backward chainer code (but that may far in the future, although I hope not).

from ure.

noskill avatar noskill commented on May 25, 2024

I found that forward chainer also writes some trace into current atomspace, though it is not possible to find how all premises became satisfied for current rule application.

from ure.

ngeiswei avatar ngeiswei commented on May 25, 2024

No inference control meta-learning experiments have been attempted with the forward chainer yet, so trace support is lacking.

from ure.

ngeiswei avatar ngeiswei commented on May 25, 2024

The following constitute a start of an API to extract FC traces

https://github.com/ngeiswei/reasoning-bio-as-xp/blob/6006874a9918b29510080d5ef43ffc5b7fc809e4/bio-as-utils.scm#L348-L479

It just needs some work and being moved to the URE.

from ure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.