Skip to main content

Implementation of Joint Optimization of Piecewise Linear Ensembles (JOPLEn).

Project description

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.

Project details


Download files

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

Source Distribution

joplen-1.0.3.tar.gz (43.1 kB view details)

Uploaded Source

Built Distribution

joplen-1.0.3-py3-none-any.whl (43.1 kB view details)

Uploaded Python 3

File details

Details for the file joplen-1.0.3.tar.gz.

File metadata

  • Download URL: joplen-1.0.3.tar.gz
  • Upload date:
  • Size: 43.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for joplen-1.0.3.tar.gz
Algorithm Hash digest
SHA256 48fa25360cb315767153a1dd1312f8b32c9ae307f4ea85ea666841af981cbf50
MD5 e664298b5f509622c5b01531b07bbc09
BLAKE2b-256 a27d977cbb2ba9431760ab19ef029352a53845ac708306d0415501e15f5a1920

See more details on using hashes here.

File details

Details for the file joplen-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: joplen-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 43.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.10.12

File hashes

Hashes for joplen-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 32006df6813182c88490d8e0fafb93cf2c34760de1a72c976b2812d30062f30d
MD5 8b1699ae1c89c6bfcd7d0ad98b5adc05
BLAKE2b-256 c176b92c5d64acd14b487ec86f7ed0da9d8eed3020740d0ddcef9e13f5b68a5d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page