Installation

Published paper

The accompanying article is available in Journal of Data Science (2025): ReLU-ReHU Representations of Piecewise Linear-Quadratic Losses (DOI: 10.6339/24-JDS1162).

Dependencies

You can check the requirements from requirements, and install them with the command below.

pip install -r requirements.txt
For install and build:
[numpy, rehline>=0.1.0, scipy, pybind11]
For example and tests:
[matplotlib]
For docs:
[setuptools, Sphinx, nbsphinx, ipython, numpydoc,
sphinx_theme_pd, sphinx_autodoc_typehints, sphinx-press-theme,
sphinx_gallery, sphinx-autoapi, renku_sphinx_theme]

Source code

You can check the latest sources with the command.

git clone https://github.com/keepwith/PLQComposite.git