Giter Site home page Giter Site logo

ilyamk / pyreason Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lab-v2/pyreason

0.0 0.0 0.0 2.17 MB

An explainable inference software supporting annotated, real valued, graph based and temporal logic

Home Page: https://neurosymbolic.asu.edu/pyreason/

License: BSD 3-Clause "New" or "Revised" License

Shell 0.65% Python 99.35%

pyreason's Introduction

PyReason

Python Build Python version compatibility

An explainable inference software supporting annotated, real valued, graph based and temporal logic.

Links

๐Ÿ“ƒ Paper

๐Ÿ“ฝ๏ธ Video

๐ŸŒ Website

๐Ÿ‹๏ธโ€โ™‚๏ธ PyReason Gym

Check out the PyReason Hello World program if you're new, or want get get a feel for the software.

Table of Contents

  1. Introduction
  2. Install
  3. Usage
  4. Bibtex
  5. License
  6. Contact

1. Introduction

PyReason makes use of 4 files:

  1. A GraphMl file containing the graph (required)
  2. A YAML file containing the pyreason rules (required)
  3. A YAML file containing the pyreason facts (optional but recommended)
  4. A YAML file containing the pyreason labels (optional but recommended)
  5. A YAML file containing the pyreason ipl (inconsistent predicate list) (optional)

The format of these files is very important. Please refer to the example YAML files provided when making your own rules/facts/labels/ipl. TODO: make doc for each format.

2. Install

PyReason can be installed as a python library (recommended) or as a command line tool

2.1 Install as a Python Library

We import pyreason to initialize it for the first time, this may take a few minutes

pip install pyreason
python
import pyreason

2.2 Install as a Command Line Tool

git clone https://github.com/lab-v2/pyreason
cd pyreason
pip install -r requirements.txt
python initialize.py

3. Usage

Please refer to the documentation that is relevant to you

  1. Usage as Python Library
  2. Usage as a Command Line Tool

4. Bibtex

If you used this software in your work please cite our paper

Bibtex:

@inproceedings{aditya_pyreason_2023,
title = {{PyReason}: Software for Open World Temporal Logic},
booktitle = {{AAAI} Spring Symposium},
author = {Aditya, Dyuman and Mukherji, Kaustuv and Balasubramanian, Srikar and Chaudhary, Abhiraj and Shakarian, Paulo},
year = {2023}}

5. License

This repository is licensed under BSD-3-Clause

6. Contact

Dyuman Aditya - [email protected]

Kaustuv Mukherji - [email protected]

Paulo Shakarian - [email protected]

pyreason's People

Contributors

dyumanaditya avatar kmukherji avatar jnparedes 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.