Skip to contents

Ensures that the input is a BatchBirdFlowEvaluator() and that it contains the required attributes.

Usage

validate_BatchBirdFlowEvaluator(evaluator)

Arguments

evaluator

An object to validate.

Value

Invisible NULL. Throws an error if validation fails.

Details

Checks:

  • Must inherit from both "list" and "BatchBirdFlowEvaluator".

  • Must contain element "batch_trainer".

Examples

if (FALSE) { # \dontrun{
ev <- BatchBirdFlowEvaluator(batch_trainer("amewoo"))
validate_BatchBirdFlowEvaluator(ev)
} # }