Source code for baybe.recommenders.pure.bayesian.sequential_greedy
"""Temporary namespace for backward compatibility."""importwarningsfrombaybe.recommenders.pure.bayesian.botorchimportBotorchRecommender
[docs]defSequentialGreedyRecommender(*args,**kwargs)->BotorchRecommender:"""A :class:`baybe.recommenders.pure.bayesian.botorch.BotorchRecommender` alias for backward compatibility."""# noqa: D401, E501warnings.warn(f"The class `SequentialGreedyRecommender` has been deprecated and will be "f"removed in a future version. "f"Please use `{BotorchRecommender.__name__}(sequential_continuous=True)` "f"instead.",DeprecationWarning,)returnBotorchRecommender(*args,**kwargs,sequential_continuous=True)