automl / automl/multi-obj-baselines

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

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
23
Forks
5
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.