Giter Site home page Giter Site logo

Remove focus set from URE? about ure HOT 4 OPEN

opencog avatar opencog commented on June 4, 2024
Remove focus set from URE?

from ure.

Comments (4)

linas avatar linas commented on June 4, 2024 1

I think the intent of the focus set is that it would be changing frequently. Which is partly the point of opencog/atomspace#1967. The focus set is an example of a recurring theme:

  • The need to limit some operation to some smaller set of atoms.

  • The need to restrict the pattern matcher to a smaller set of atoms. (This is already done using MapLink, which is "just like BindLink" but for a smaller set of atoms) https://wiki.opencog.org/w/MapLink

  • Problem: URE is built on BindLink, instead of on MapLink. Gee, it sure would be nice if we could merge MapLink and BindLink so that they are both the same thing, so that we would not need both of them!

  • Problem: MapLink uses a SetLink for the "focus set"

  • Problem: using SetLink for focus sets is a "known issue": opencog/atomspace#1502

  • Problem: using multiple atomspaces for focus sets is .. not easy. Issue opencog/atomspace#1967

Thus, opencog/atomspace#1967 is a vague, general attempt to somehow implement a fast, high-speed, generic "focus set" that works the same way, everywhere -- with the attention bank, with MapLink, with ContextLink, with other subsystems. (i.e. so that we could remove special-case code for the focus set from the URE...)

from ure.

amebel avatar amebel commented on June 4, 2024

relex2logic uses it and is used in ghost-pln-demo. The purpose of the focus-set was to restrict the set of atoms used during inference, similar to #:attention-allocation in cog-fc but generic. If that is still possible during configuration steps, or another utility function, then it would be ok.

from ure.

ngeiswei avatar ngeiswei commented on June 4, 2024

You could use a separate atomspace instead, but if you're using it then it's better to let it there for now.

from ure.

linas avatar linas commented on June 4, 2024

FYI, This might be maybe useful (and maybe not): I just now added AttentionValueOfLink and StiOfLink, etc in opencog/atomspace#2033; this can be used in used the patern matcher to find atoms with attention value above or below some threshold (or some generic complicated formula involving av, tv, etc.).

when that is merged, take a look at value-of.scm on how to do those kinds of searches.

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.