This is a fork of the code located at https://code.google.com/p/alchemy-2/.
Alchemy is a software package providing a series of algorithms for statistical relational learning and probabilistic logic inference, based on the Markov logic representation. Alchemy allows you to easily develop a wide range of AI applications, including:
If you are not already familiar with Markov logic, we recommend that you first read the paper Unifying Logical and Statistical AI. If you want to understand how lifted inference algorithms operate, read the Probabilistic Theorem Proving paper.
Alchemy 2.0 includes the following algorithms:
More info at http://alchemy.cs.washington.edu/
src/ contains source code and a makefile.doc/ contains a change log, and a manual in PDF, PostScript and html formats.exdata/ contains a simple example of Alchemy input files.bin/ is used to contain compiled executables.You can install perl and gcc using Homebrew on Mac. Bison and Flex must be present already.
$ brew tap homebrew/versions
$ brew install gcc49 perl518
Either git-clone or extract the downloaded archive in $PROJECT_HOME
cd $PROJECT_HOME/srcmake dependmakeNote: This fork of http://code.google.com/p/alchemy-2 has been updated to compile properly on a Mac following instructions from http://alchemy.cs.washington.edu/requirements.html
Learn the structure of a model given a training database consisting of ground atoms
learnstruct -i <input .mln file> -o <output .mln file> -t <training .db file>
Learn parameters of a model given a training database consisting of ground atoms
learnwts -i <input .mln file> -o <output .mln file> -t <training .db file>
Infer the probability or most likely state of query atoms given a test database consisting of evidence ground atoms
infer -i <input .mln file> -r <output file containing inference results> -e <evidence .db file> -q <query atoms (comma-separated with no space)>
Tutorial: https://alchemy.cs.washington.edu/tutorial/tutorial.html More: http://alchemy.cs.washington.edu/
By using Alchemy, you agree to accept the license agreement in LICENSE.md
Content type
Image
Digest
Size
83.6 MB
Last updated
about 7 years ago
docker pull hjoest/alchemy-2