o                        o     o   o         o
    |             o          |     |\ /|         | /
    |    o-o o--o    o-o  oo |     | O |  oo o-o OO   o-o o   o
    |    | | |  | | |    | | |     |   | | | |   | \  | |  \ /
    O---oo-o o--O |  o-o o-o-o     o   o o-o-o   o  o o-o   o
                |
             o--o
    o--o              o               o--o       o    o
    |   |             |               |    o     |    |
    O-Oo   oo o-o   o-O o-o o-O-o     O-o    o-o |  o-O o-o
    |  \  | | |  | |  | | | | | |     |    | |-' | |  |  \
    o   o o-o-o  o  o-o o-o o o o     o    | o-o o  o-o o-o

    Logical Markov Random Fields.

LoMRF: Logical Markov Random Fields

LoMRF is an open-source implementation of Markov Logic Networks (MLNs) written in Scala programming language.

Features overview:

  1. Parallel grounding algorithm based on Akka Actors library.
  2. Marginal (MC-SAT) and MAP (MaxWalkSAT and LP-relaxed Integer Linear Programming) inference (lomrf infer).
  3. Batch and on-line Weight Learning (Max-Margin, AdaGrad and CDA) (lomrf wlearn).
  4. On-line Structure Learning (OSL and OSLa) (lomrf slearn).
  5. MLN knowledge base compilation (lomrf compile):
  6. Predicate completion.
  7. Clausal form transformation.
  8. Replacement of functions with utility predicates and vice versa.
  9. Reads and produces Alchemy compatible MLN files.
  10. Can export ground MRF in various formats (lomrf export).
  11. Can compare MLN theories (lomrf diff).
  12. Online supervision completion on semi-supervised training sets [currently experimental] (lomrf supervision)

Building

See Build and Link LoMRF.

Documentation contents

License

Copyright (c) 2014 - 2018 Anastasios Skarlatidis and Evangelos Michelioudakis

LoMRF is licensed under the Apache License, Version 2.0: https://www.apache.org/licenses/LICENSE-2.0

Reference in Scientific Publications

Please use the following BibTex entry when you cite LoMRF in your papers:

@misc{LoMRF,
    author = {Anastasios Skarlatidis and Evangelos Michelioudakis},
    title = {{Logical Markov Random Fields (LoMRF): an open-source implementation of Markov Logic Networks}},
    url = {https://github.com/anskarl/LoMRF},
    year = {2014}
}