ClassificationResult class

Classe para representar o resultado de uma classificação.

Properties:

  • label: Rótulo previsto pelo modelo.
  • allProbabilities: (Opcional) Lista de probabilidades para todas as classes.
  • confidence: Nível de confiança do resultado.
  • timestamp: Data e hora em que o resultado foi gerado.
  • originalImage: Imagem original que foi processada.
Inheritance

Constructors

ClassificationResult({required double confidence, required DateTime timestamp, required Uint8List originalImage, required String label, List<double>? allProbabilities})
const

Properties

allProbabilities List<double>?
final
confidence double
finalinherited
hashCode int
The hash code for this object.
no setterinherited
label String
final
originalImage Uint8List
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timestamp DateTime
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited