Skip to main content

Tools for benchmarking optimization methods

Project description

Benchmarx

Benchmarx provides a convenient interface for benchmarking optimization methods. This package provides a simple implementation of benchmarking functions for optimization tasks and provides the ability to use standard methods from jaxopt as well as to implement your own method. The results of the experiments are saved in all details in a json file, which can be used to visualize the data in graphs. Refer to the examples for details.

Installation

To install the latest release of Benchmarx, use the following command:

$ pip install benchmarx

Alternatively, it can be installed from sources with the following command:

$ python setup.py install

Examples

Refer to the examples provided in the repository for details on how to use this package.

  • Gradient Descent on Quadratic problem Open In Colab

  • Gradient Descent with custom Line Search Open In Colab

  • Your own custom method Open In Colab

  • Stochastic Gradient Descent on Quadratic Problem Open In Colab

  • Quadratic Problem based on real data Open In Colab

  • Neural Network training Open In Colab

Contribution

Contributions are welcome! If you have any suggestions or issues, feel free to open an issue or submit a pull request.

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

benchmarx-0.1.0.tar.gz (24.2 kB view details)

Uploaded Source

Built Distribution

benchmarx-0.1.0-py3-none-any.whl (28.6 kB view details)

Uploaded Python 3

File details

Details for the file benchmarx-0.1.0.tar.gz.

File metadata

  • Download URL: benchmarx-0.1.0.tar.gz
  • Upload date:
  • Size: 24.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for benchmarx-0.1.0.tar.gz
Algorithm Hash digest
SHA256 fe1f81ad6c7d47fd6239ebb33f37a3def7fc6213242236bbd5e42961c28f6947
MD5 015e36ad490a27e6b751eab15a5ab2be
BLAKE2b-256 9b53a68ae343ef871ea34fa4cb7611b4c3bcfc1782190e05cda56df3ae354d32

See more details on using hashes here.

File details

Details for the file benchmarx-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: benchmarx-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 28.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for benchmarx-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eb0c5e9b7f3d8a6a87193f7a4d10275023c71435623b41cd931d693d30227940
MD5 843a45ce8430618d5e6b3e26c9a7369f
BLAKE2b-256 8874584b2e6cae00bd39934765662ea75c80a99cabd3f91014faf71f07fc2b09

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