MNISTData.validate_infered_batch_predictions#

static MNISTData.validate_infered_batch_predictions(batch_predictions, n_classes: Optional[int] = None, eps: float = 0.001)[source]#

Validate the infered predictions from the batch.

Parameters
batch_predictionst.Any

The infered predictions from the batch

n_classesint , default: None

Number of classes.

epsfloat , default: 1e-3

Epsilon value to be used in the validation, by default 1e-3

Raises
ValidationError

If predictions format is invalid

DeepchecksNotImplementedError

If infer_on_batch not implemented