-
Notifications
You must be signed in to change notification settings - Fork 0
Neural Cognitive Architecture
dainiuskreivenas edited this page Oct 29, 2019
·
3 revisions
Neural cognitive architecture is a builder type of module.
from rbs import *
neal = NealCoverFunctions("nest", sim)
fsa = FSAHelperFunctions("nest", sim, neal)
narc = NeuralCognitiveArchitectureBuilder("nest", sim, fsa, neal).build()
Generates hierarchical neural topology and provides ability to interact with them using rules.
NeuralCognitiveArchitectureBuilder(sim, "nest", fsa, neal).useBasesFile("bases").build()
Bases File example:
animal
mammal
bird
monkey
canary
@@@@@@@
canary isA bird
monkey isA mammal
bird isA animal
mammal isA animal
@@@@@@@
Generates relationship neural topology and provides ability to interact with them using rules. This only works if Bases have been applied as well.
narcBuilder = NeuralCognitiveArchitectureBuilder(sim, "nest", fsa, neal)
narcBuilder.useRelationshipsFiles("props", "rels", "assocs")
narc = narcBuilder.build()
Properties File Example:
food
@@@@@@@
Relationships File Example:
eats
@@@@@@@
Associations File Example:
canary eats food
@@@@@@@