Giter VIP home page Giter VIP logo

reasoning-bio-as-xp's Introduction

Reasoning Bio-AtomSpace Experiment

Prerequisites

  1. Install the following projects
cogutil atomspace ure miner pln agi-bio

from the OpenCog github organization

https://github.com/opencog

To do that, for projects cogutil, atomspace, ure, miner, pln and agi-bio use the master branches of the opencog repositories. That is type the following:

git clone https://github.com/opencog/<PROJECT>.git
cd <PROJECT>
mkdir build
cd build
cmake ..
make -j4
sudo make install
sudo ldconfig /usr/local/lib/opencog

Usage

Prepare datasets

Download and unpack the datasets. From the root folder of that project, type the following

cd kbs
wget https://mozi.ai/datasets/gene-level-dataset.tar.gz
tar xvzf gene-level-dataset.tar.gz
cd ..

Run experiments

Pattern miner xp

guile --no-auto-compile -l mine-bio-as.scm

should output a scheme file

results/miner-bio-as-results-<PARAMETERS>.scm

containing mined patterns.

Turn patterns into relationships

guile --no-auto-compile -l pattern-to-relationship.scm

loads a file containing mined pattern (see previous step), and produces a file

results/subset-links.scm

containing inheritance relationships gotten by applying PLN to surprising patterns.

Preprocess KBs

guile --no-auto-compile -l preprocess-kbs.scm

which should create

results/preprocess-kbs-<PARAMETERS>.scm

Simple intensional reasoning example

guile --no-auto-compile -l intensional-reasoning-test.scm

which should create

results/intentional-reasoning-test-<PARAMETERS>.scm

Simple PLN reasoning example

guile --no-auto-compile -l simple-pln-inference.scm

which should create

results/simple-pln-inference-<PARAMETERS>.scm

Run 2015 PLN with intensional reasoning

Warning: not working yet

guile --no-auto-compile -l 2015-pln-inference.scm

More information on the broader project

https://docs.google.com/document/d/16zfY7OZtHO66mfujLdZ0-3VALXUTvxeeo4dW2ASBiNs/edit

Related work

https://gitlab.com/opencog-bio/pln_mozi

reasoning-bio-as-xp's People

Contributors

ngeiswei avatar habush avatar leungmanhin avatar mjsduncan avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.