Class: Xberg::ClassificationLabel
- Inherits:
-
Object
- Object
- Xberg::ClassificationLabel
- Defined in:
- sig/types.rbs
Instance Attribute Summary collapse
-
#confidence ⇒ Float
readonly
Returns the value of attribute confidence.
-
#label ⇒ String
readonly
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize ⇒ ClassificationLabel
constructor
A new instance of ClassificationLabel.
Constructor Details
#initialize ⇒ ClassificationLabel
Returns a new instance of ClassificationLabel.
759 |
# File 'sig/types.rbs', line 759
def initialize: (label: String, ?confidence: Float) -> void
|
Instance Attribute Details
#confidence ⇒ Float (readonly)
Returns the value of attribute confidence.
757 758 759 |
# File 'sig/types.rbs', line 757 def confidence @confidence end |
#label ⇒ String (readonly)
Returns the value of attribute label.
756 757 758 |
# File 'sig/types.rbs', line 756 def label @label end |