Code Monkey home page Code Monkey logo

multi-obj-baselines's Introduction

Bag of Baselines

Bag of Baselines implements several multi-objective opimisation methods to create a performance benchmark on two small datasets. To learn more about this work, check out the publication.

Methods

The following methods are proposed and implemented:

  1. SH-EMOA: Speeding up Evolutionary Multi-Objective Algorithms

  2. MO-BOHB: Generalization of BOHB to an Arbitrary Number of Objectives

  3. MS-EHVI: Mixed Surrogate Expected Hypervolume Improvement

  4. MO-BANANAS

  5. BULK & CUT

Datasets

Performance of the methods was evaluated using the following datasets: Oxford-Flowers dataset and Fashion-MNIST.

Organization

  • The specific code for each of the methods (the main logic of each algorithm) is stored in the methods folder.

  • In the examples folder you will find a small Python script to run each of the available methods (for the "Fashion-MNIST" or the "flowers" dataset).

  • Code defining the search space and the evaluation function of the two different problems are defined in the problems folder.

multi-obj-baselines's People

Contributors

frank-hutter avatar serizba avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

multi-obj-baselines's Issues

Requirements of these codes

Thank you for sharing these codes.

To run examples, it seems that I need to install some packages, e.g., pytorch, gpytorch.

Could you please add more info about requirements of packages for running these examples?

Thanks a lot.
JM

Example for MSEHVI doesn't seem to run: "status_quo" issue

For context, I'm using the following versions of packages:

ax==0.52.0
ax-platform==0.2.3
botorch==0.6.0

When I try to run this code (by python3 -m examples.msehvi), I get the error

AttributeError: 'Metric' object has no attribute 'metric'

I solved this by changing for eg. line 20 of baselines/problems/simple_problems.py from

objective = MultiObjective([metric_a, metric_b])

to

objective = MultiObjective(objectives=[Objective(metric=metric_a), Objective(metric=metric_b)])

Now I get the error "ValueError: Optimization config has relative constraint, but model was not fit with status quo.", which I believe has to do with line 125-145 of baselines/methods/msehvi/msehvi.py. Could you please push a fix for this, or clarify the versions of libraries you used?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.