evaluate

open override fun evaluate(dataset: Dataset, batchSize: Int, callbacks: List<Callback>): EvaluationResult

Returns the metrics and loss values for the model in test (evaluation) mode.

Return

Value of calculated metric and loss values.

Parameters

dataset

The train dataset that combines input data (X) and target data (Y).

batchSize

Number of samples per batch of computation.

callbacks

Callbacks to be used during evaluation phase.