evaluate
abstract fun evaluate(dataset: Dataset, batchSize: Int = 256): EvaluationResult
Content copied to clipboard
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.