opencog | singnet |
---|---|
The miner (or pattern miner) is a frequent and surprise subhypergraph pattern miner for the AtomSpace. It is built on top of the URE to take advantage of the URE refined control capabilities.
To build the miner you need to build and install the URE first, see Building-and-installing-the-URE for more information.
Be sure to install the pre-requisites first! Perform the following steps at the shell prompt:
cd miner
mkdir build
cd build
cmake ..
make -j
Libraries will be built into subdirectories within build, mirroring the structure of the source directory root.
To build and run the unit tests, from the ./build
directory enter
(after building opencog as above):
make -j test
Tests can be run in parallel as well:
make -j check ARGS=-j4
After building, you must install the pattern miner.
sudo make install
Examples can be found in this repository under
The primary documentation for the pattern miner is here: