-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor ACQF Optimization #535
base: main
Are you sure you want to change the base?
Conversation
I see, where this is going. I´m not sure, what the role of the
Then there would be nothing remaining in this class. Can we use the |
Hmm, I would like to keep the
You are right that the new optimizer class would need access to What do you think about the following idea? We move every methodthat is really optimizer specific to the acqf_optimizer class but upon init or |
That´s a good approach, |
@LukasHebing Perfect, I now blocked also time for Monday on my calendar to work on this to have it in asap, feel free to push so that I can than maybe work on the same PR. |
…egy model, to botorch optimizer data-model
@jduerholt: In general, I would need a few days more, than you can check out. About the Bounds: |
@jduerholt: I sorted the methods, as I thought would be useful. The
It would return candidates as Tensor, and the conversion to pd.DataFrame happens in the However, I really don't know what's going on here (end of the BotorchOptimizer´s sp = ShortestPathStrategy(
data_model=ShortestPathStrategyDataModel(
domain=self.domain,
start=self.experiments.iloc[-1].to_dict(),
end=self._postprocess_candidates(candidates).iloc[-1].to_dict(),
),
)
step = pd.DataFrame(sp.step(sp.start)).T
return pd.concat((step, self.predict(step)), axis=1) |
Thx, I will have a look tmr. I got sick so I could not do anything today. I hope it is better tmr. |
@jduerholt len(domain.inputs.get(includes=[DiscreteInput, CategoricalInput]),
) == len(domain.inputs) How are the conto-inputs with stepsize calculated? As continuous and then later mapped on to the grid? |
Added flag in data-model controlling exhaustive categorical search space optim
@LukasHebing @sleweke-bayer
I created a new branch to be able to play a bit with my ideas on how to refactor the acqf optimization, I try to add more and document better, but for the start I just made a lot of comments in the code, maybe we can start to have a discussion starting from here.
I try to add more over the course of the week.