opencog / miner

Frequent and surprising subhypergraph pattern miner for the AtomSpace.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Miner

opencog singnet
CircleCI CircleCI

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.

Building and Installing

Prerequisites

To build the miner you need to build and install the URE first, see Building-and-installing-the-URE for more information.

Building Miner

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.

Unit tests

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

Install

After building, you must install the pattern miner.

    sudo make install

Examples

Examples can be found in this repository under

Miner examples

More info

The primary documentation for the pattern miner is here:

About

Frequent and surprising subhypergraph pattern miner for the AtomSpace.

License:Other


Languages

Language:Scheme 51.6%Language:C++ 45.4%Language:CMake 2.8%Language:Shell 0.2%Language:GDB 0.0%