CORELS: Certifiably Optimal RulE ListS

Welcome to the documentation of the Python binding of CORELS (Certifiably Optimal RulE ListS)!

Quick Start

from corels import *

X, y, features, prediction = load_from_csv("data/compas.csv")

a = CorelsClassifier().fit(X, y).score(X, y)
print("Accuracy = " + str(a))

All functionality is exposed via a class named ‘CorelsClassifier’. In addition, a couple helper functions are provided.

Head over to the examples page for more code samples.

For installation instructions, visit the code repository at https://github.com/fingoldin/pycorels.