BatchTrainingEvent

class BatchTrainingEvent(epochIndex: Int, batchIndex: Int, lossValue: Double, metricValue: Double)

One record in TrainingHistory objects containing tracked data from one batch in the specific epoch.

Parameters

epochIndex

Batch index.

batchIndex

Batch index.

lossValue

Final value of loss function.

metricValue

Final value of chosen metric.

Constructors

BatchTrainingEvent
Link copied to clipboard
fun BatchTrainingEvent(epochIndex: Int, batchIndex: Int, lossValue: Double, metricValue: Double)

Functions

toString
Link copied to clipboard
open override fun toString(): String

Properties

batchIndex
Link copied to clipboard
val batchIndex: Int
Batch index.
epochIndex
Link copied to clipboard
val epochIndex: Int
Batch index.
lossValue
Link copied to clipboard
val lossValue: Double
Final value of loss function.
metricValue
Link copied to clipboard
val metricValue: Double
Final value of chosen metric.