1+ Template for Benchopt Benchmark repositories
2+ =============================================
3+ |Build Template |
4+
5+ This repo should be used with the following steps:
6+
7+ 1. Hit the `Use this template ` button on the top of `this page <https://github.com/benchopt/template_benchmark >`_,
8+ 2. Use the form to create a new GitHub repository with your benchmark name,
9+ 3. Clone the newly created repository on your computer,
10+ 4. Run ``python clean_template.py `` script that will remove instructions relative to
11+ the template in ``README.rst `` and update it with your repo and org name.
12+ 5. Edit the problem description in the ``README.rst ``.
13+ 6. Update ``objective.py `` and the files in ``datasets `` and ``solvers `` to create the benchmark.
114
215My Benchopt Benchmark
316=====================
@@ -15,14 +28,21 @@ This benchmark can be run using the following commands:
1528.. code-block ::
1629
1730 $ pip install -U benchopt
31+ $ git clone https://github.com/#ORG/#BENCHMARK_NAME
32+ $ benchopt run #BENCHMARK_NAME
1833
1934 Apart from the problem, options can be passed to ``benchopt run ``, to restrict the benchmarks to some solvers or datasets, e.g.:
2035
2136.. code-block ::
2237
38+ $ benchopt run #BENCHMARK_NAME -s solver1 -d dataset2 --max-runs 10 --n-repetitions 10
2339
2440
2541 Use ``benchopt run -h `` for more details about these options, or visit https://benchopt.github.io/api.html.
2642
43+ .. |Build Template | image :: https://github.com/benchopt/template_benchmark_ml/workflows/Tests/badge.svg
44+ :target: https://github.com/benchopt/template_benchmark_ml/actions
45+ .. |Build Status | image :: https://github.com/#ORG/#BENCHMARK_NAME/workflows/Tests/badge.svg
46+ :target: https://github.com/#ORG/#BENCHMARK_NAME/actions
2747.. |Python 3.6+ | image :: https://img.shields.io/badge/python-3.6%2B-blue
2848 :target: https://www.python.org/downloads/release/python-360/
0 commit comments