ClassificationResult

public abstract class ClassificationResult

Represents the classification results of a model. Typically used as a result for classification tasks.

Public Constructors

Public Methods

abstract List<Classifications>
classifications()
The classification results for each head of the model.
static ClassificationResult
create(List<Classifications> classifications, Optional<Long> timestampMs)
Creates a ClassificationResult instance.
static ClassificationResult
createFromProto(ClassificationsProto.ClassificationResult proto)
abstract Optional<Long>
timestampMs()
The optional timestamp (in milliseconds) of the start of the chunk of data corresponding to these results.

Inherited Methods

Public Constructors

public ClassificationResult ()