Skip to main content

Structured Learning and Prediction in Python

Project description

[![Build Status](]( [![pypi version](]( [![pypi downloads](]( [![licence](](


PyStruct aims at being an easy-to-use structured learning and prediction library. Currently it implements only max-margin methods and a perceptron, but other algorithms might follow.

The goal of PyStruct is to provide a well-documented tool for researchers as well as non-experts to make use of structured prediction algorithms. The design tries to stay as close as possible to the interface and conventions of [scikit-learn](

You can install pystruct using

> pip install pystruct

Some of the functionality (namely OneSlackSSVM and NSlackSSVM) requires that cvxopt is installed. See the [installation instructions]( for more details.

The full documentation and installation instructions can be found at the website:

You can contact the authors either via the [mailing list](!forum/pystruct) or on [github](

Currently the project is mostly maintained by Andreas Mueller, but contributions are very welcome.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pystruct-0.2.4.tar.gz (5.6 MB) Copy SHA256 hash SHA256 Source None Jan 14, 2016

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page