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)
Creates a
ClassificationResult object from a ERROR(/ClassificationsProto.ClassificationResult) protobuf message. |
abstract Optional<Long> |
timestampMs()
The optional timestamp (in milliseconds) of the start of the chunk of data corresponding to
these results.
|