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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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