baybe.utils.validation.validate_objective_input¶
- baybe.utils.validation.validate_objective_input(data: DataFrame, objective: Objective)[source]¶
Validate the input dataframe for the given objective.
- Parameters:
data (
DataFrame) – The input dataframe to be validated.objective (
Objective) – The objective to validate against.
- Raises:
IncompleteMeasurementsError – If the objective requires complete measurements but the input dataframe contains missing target values.
- Return type: