https://github.com/opencog/miner
Frequent and surprising subhypergraph pattern miner for the AtomSpace.
https://github.com/opencog/miner
Last synced: 3 months ago
JSON representation
Frequent and surprising subhypergraph pattern miner for the AtomSpace.
- Host: GitHub
- URL: https://github.com/opencog/miner
- Owner: opencog
- License: other
- Created: 2019-07-15T08:47:44.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2025-09-20T06:15:59.000Z (9 months ago)
- Last Synced: 2025-09-20T07:21:26.689Z (9 months ago)
- Language: C++
- Size: 75.2 MB
- Stars: 9
- Watchers: 4
- Forks: 16
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Authors: AUTHORS
Awesome Lists containing this project
README
# Miner
opencog | singnet
------- | -------
[](https://circleci.com/gh/opencog/miner) | [](https://circleci.com/gh/singnet/miner)
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](https://wiki.opencog.org/w/URE) first, see
[Building-and-installing-the-URE](https://github.com/opencog/ure#building-and-installing)
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](examples/miner)
## More info
The primary documentation for the pattern miner is here:
* [Pattern Miner wiki](https://wiki.opencog.org/w/Pattern_miner)
* [Pattern Miner README.md](opencog/miner/README.md)