baybe.recommenders.pure.bayesian.botorch.discrete.recommend_discrete_without_subsets¶
- baybe.recommenders.pure.bayesian.botorch.discrete.recommend_discrete_without_subsets(recommender: BotorchRecommender, subspace_discrete: SubspaceDiscrete, candidates_exp: DataFrame, batch_size: int)[source]¶
Generate recommendations from a discrete search space.
- Parameters:
recommender (
BotorchRecommender) – The recommender instance.subspace_discrete (
SubspaceDiscrete) – The discrete subspace from which to generate recommendations.candidates_exp (
DataFrame) – The experimental representation of all discrete candidate points to be considered.batch_size (
int) – The size of the recommendation batch.
- Raises:
IncompatibleAcquisitionFunctionError – If a non-Monte Carlo acquisition function is used with a batch size > 1.
- Return type:
Index- Returns:
The dataframe indices of the recommended points in the provided experimental representation.