Skip to content
This repository has been archived by the owner on Aug 15, 2020. It is now read-only.

Latest commit

 

History

History
34 lines (22 loc) · 1.55 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.55 KB

PyPSL

PyPSL is a new library for building PSL models in Python.
This is still a prototype.

Version
Build status
Tests coverage

Probabilistic Soft Logic

Probabilistic soft logic (PSL) is a machine learning framework for developing probabilistic models. PSL models are easy to use and fast. You can define models using a straightforward logical syntax and solve them with fast convex optimization. PSL has produced state-of-the-art results in many areas spanning natural language processing, social-network analysis, knowledge graphs, recommender system, and computational biology.

To learn more about PSL, see this paper: Hinge-Loss Markov Random Fields and Probabilistic Soft Logic.

Guiding principles

  • User friendliness. PyPSL offers a consistent and user-friendly API.

  • Easy extensibility. The modules composing the library are simple to extend.

  • Work with Python. No separate models configuration files in a declarative format. Models are described in Python code, which is compact, easier to debug, and allows for ease of extensibility.

Installation

git clone [email protected]:br-g/pypsl.git
cd pypsl
make install

Usage example

To get started, please follow these examples.