Class

MLMetricKey

A key for the metrics dictionary in an update context.

Declaration

class MLMetricKey : MLKey

Topics

Getting the Keys

class var lossValue: MLMetricKey

The key you use to access the current loss (a float value).

class var epochIndex: MLMetricKey

The key you use to access the epoch index (an Int64 value).

class var miniBatchIndex: MLMetricKey

The key you use to access the mini-batch index (an Int64 value) within an epoch.

Supporting Types

class MLKey

An abstract base class for machine learning key types.

Relationships

Inherits From

Conforms To

See Also

Evaluating the Update

var metrics: [MLMetricKey : Any]

The training metrics of the model for the update task, contained in a dictionary.