Skip to main content

README


This is the code for the IEEE MLSP 2024 workshop paper "Joint Optimization of Piecewise Linear Ensembles" [arxiv] [IEEE (coming soon)]. For now, please cite as

@misc{raymond2024,
    title={Joint Optimization of Piecewise Linear Ensembles},
    author={Matt Raymond and Angela Violi and Clayton Scott},
    year={2024},
    eprint={2405.00303},
    archivePrefix={arXiv},
    primaryClass={cs.LG},
    url={https://arxiv.org/abs/2405.00303},
}

The associated GitLab issue tracker is currently limited to internal use. Please email the current maintainer listed on PyPI with any questions or concerns, and they will open an issue on your behalf.

Installation

Installation via PyPI

pip install joplen

Installation from source

NOTE: pip install -e . will only work if you have setuptools v64 or higher and pip version 24 or higher.

Clone the repository to your local machine, then run the following commands (which assume that you already have Conda installed):

conda create --prefix ./my_env python=3.10
conda activate ./my_env
conda config --set env_prompt '({name}) '

pip install -r requirements.txt
pip install -e .

JAX must be installed manually according to this link because the installation is hardware-dependent. Please follow these instructions to install JAX.

Usage

Each module has example usage. You can run them by executing the module as a script. Note that single-task JOPLEn is much more modular than the multitask implementation. This is for practical reasons, but there's no reason it couldn't be made more modular.

python -m JOPLEn.singletask # single-task joplen
python -m JOPLEn.multitask # multi-task joplen
python -m JOPLEn.competing # Friedman ensemble refitting

Original implementation

To see the original implementation for the workshop submission, please see https://gitlab.eecs.umich.edu/mattrmd-public/joplen-repositories/joplen-mlsp2024.

Metadata

Release files for joplen 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for joplen 1.0.3
File Size Uploaded
joplen-1.0.3.tar.gz 43.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for joplen 1.0.3
File Interpreter ABI Platform
joplen-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 86.1 kB

Release files / joplen-1.0.3.tar.gz

Download URL joplen-1.0.3.tar.gz
Size 43.1 kB
Tags Source
SHA-256 checksum
How to use checksums
48fa25360cb315767153a1dd1312f8b32c9ae307f4ea85ea666841af981cbf50
BLAKE2b-256 checksum
How to use checksums
a27d977cbb2ba9431760ab19ef029352a53845ac708306d0415501e15f5a1920
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.12

Release files / joplen-1.0.3-py3-none-any.whl

Download URL joplen-1.0.3-py3-none-any.whl
Size 43.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
32006df6813182c88490d8e0fafb93cf2c34760de1a72c976b2812d30062f30d
BLAKE2b-256 checksum
How to use checksums
c176b92c5d64acd14b487ec86f7ed0da9d8eed3020740d0ddcef9e13f5b68a5d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page