Giter Club home page Giter Club logo

logictensornetworks's Introduction

Logic Tensor Networks (LTN)

Dependencies

The following is what we are using for development. Basically similar versions should run fine.

  • python3.6
  • tensorflow >=1.8 (for running the core, wrapper etc)
  • numpy >= 1.13.3 (for examples and tests)
  • matplotlib >= 2.1 (for examples)

Installing dependencies is easy. Just use pip install tensorflow numpy matplotlib or use a virtualenv.

Repository structure

  • logictensornetworks.py -- core system for defining constants, variables, predicates, functions and formulas.
  • logictensornetworks_wrapper.py -- a simple wrapper that allows to express constants, variables, predicates, functions and formulas using strings.
  • logictensornetworks_library.py -- a collection of useful functions.
  • examples_ltn -- examples using the core system
  • examples_ltnw -- examples using the wrapper
  • tests -- tests

Running tests

Tests are in tests and should be run from the project root. To run all available tests use python3.6 tests/_all.py.

Currently, tests are for the wrapper.

Running examples

There are various examples for LTN core examples_ltn and how to use the wrapper examples_ltnw.

Run examples from the project root, e.g. python3.6 examples_ltn/multilable_classifier_simple.py

Papers

Tutorias

Checkout recent tutorials on Logic Tensor Networks (LTN)

Other resources

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

LTN has been developed thanks to active contributions and discussions with the following people:

  • Alessandro Daniele (FBK)
  • Artur d’Avila Garces (City)
  • Francesco Giannini (UniSiena)
  • Giuseppe Marra (UniSiena)
  • Ivan Donadello (FBK)
  • Lucas Brukberger (UniOsnabruck)
  • Luciano Serafini (FBK)
  • Marco Gori (UniSiena)
  • Michael Spranger (Sony CSL)
  • Michelangelo Diligenti (UniSiena)

logictensornetworks's People

Contributors

lucianoserafini avatar mspranger 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.