singnet / opencog

A framework for integrated Artificial Intelligence & Artificial General Intelligence (AGI)
http://wiki.opencog.org/w/Development
Other
14 stars 3 forks source link

Add incremental conjunction expansion to URE Pattern Miner #44

Closed ngeiswei closed 5 years ago

ngeiswei commented 5 years ago

The URE pattern miner can now efficiently begin with a 1-conjunct (1-gram) pattern and incrementally grow the pattern to more conjuncts (n-gram).

It has gone through major optimizations as well (~8x faster)

  1. The shallow-abstraction specialization rule pair has been packed into a single shallow-specialization rule.
  2. Any redundant support checking has been eliminated.
  3. Relies on better forward chainer control.
  4. And more (including fixing some bugs as well).

The URE pattern miner is now a bit faster (~1.5x) than it's C++ counter part (mainly due to better forward chainer control). Woohoo! :-)