Skip to content

Instantly share code, notes, and snippets.

@alexander-gabriel
alexander-gabriel / inference_test2.py
Last active January 10, 2020 22:51
inference problem hunt
import cProfile
import pstats
from opencog.type_constructors import *
from opencog.bindlink import execute_atom, evaluate_atom
from opencog.ure import BackwardChainer, ForwardChainer
from opencog import atomspace
from opencog.utilities import initialize_opencog
from opencog.atomspace import AtomSpace, types
from opencog.scheme_wrapper import scheme_eval
@alexander-gabriel
alexander-gabriel / inference_test.py
Created January 10, 2020 10:49
trying to understand inference in opencog part 1
import cProfile
import pstats
from opencog.type_constructors import *
from opencog.bindlink import execute_atom, evaluate_atom
from opencog.ure import BackwardChainer, ForwardChainer
from opencog import atomspace
from opencog.utilities import initialize_opencog
from opencog.atomspace import AtomSpace, types
from opencog.scheme_wrapper import scheme_eval