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

A new library for building PSL models in Python

License

Notifications You must be signed in to change notification settings

br-g/pypsl

Repository files navigation

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.

About

A new library for building PSL models in Python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages