Skip to content

Refactor the CBBO and DTLZ benchmarks #32

Description

@Deathn0t

The DTLZ benchmarks should be refactored to follow the new setup.

Activity

  1. marked DTLZ benchmark for new setup #33 as a duplicate of this issue on Mar 17, 2025
  2. wigging commented on Mar 17, 2025

    @wigging
    Member

    Is uv or conda used for development of this benchmark package?

  3. changed the title [-]Refactor the DLTZ benchmarks[/-] [+]Refactor the DTLZ benchmarks[/+] on Mar 17, 2025
  4. Deathn0t commented on Mar 18, 2025

    @Deathn0t
    MemberAuthor

    I used uv sync from the root of this repository.

  5. changed the title [-]Refactor the DTLZ benchmarks[/-] [+]Refactor the CBBO and DTLZ benchmarks[/+] on Mar 24, 2025
  6. Deathn0t commented on Mar 24, 2025

    @Deathn0t
    MemberAuthor

    A benchmark will now be defined as a subclass of HPOBenchmark (see definition)

    An example usage will be:

    from deephyper_benchmark.benchmarks.cbbo import AckleyBenchmark as bench
    
    search = CBO(bench.problem, bench.run_function)
    results = search.search(max_evals=100)

    The logic to add noise to the objective or to add a sleep time to the objective can be factoried as deephyper_benchmark.utils decorators noisy and sleep.

    Each Benchmark should also have a property scorer that returns a subclass of HPOScorer (see definition) with methods that transform the objective in regret.

  7. wigging commented on Mar 24, 2025

    @wigging
    Member

    How is this so-called "scorer" used? Can you point me to an example in the old CBBO and DTLZ code https://github.com/deephyper/benchmark/tree/0.0.1? In the old code I see a metrics.py module that has regret functions but I don't see any examples of this being used. Also, what does "regret" mean in this context, is it supposed to be regression?

  8. Deathn0t commented on Mar 24, 2025

    @Deathn0t
    MemberAuthor

    I added a run_function(..., bb_func=...) at deephyper_benchmark.benchmarks.cbbo.utils to factorize the logic:

    e7293e2

  9. pinned this issue on Mar 24, 2025
  10. wigging commented on Mar 24, 2025

    @wigging
    Member

    I added the remaining C-BBO benchmarks. Can we start a pull request for the cbbo branch to review the changes before merging with the main branch?

  11. Deathn0t commented on Mar 25, 2025

    @Deathn0t
    MemberAuthor

    I merged the CBBO branch in #34 after editing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions