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.
758 |
# File 'sig/types.rbs', line 758
def initialize: (label: String, ?confidence: Float) -> void
|
Instance Attribute Details
#confidence ⇒ Float (readonly)
Returns the value of attribute confidence.
756 757 758 |
# File 'sig/types.rbs', line 756 def confidence @confidence end |
#label ⇒ String (readonly)
Returns the value of attribute label.
755 756 757 |
# File 'sig/types.rbs', line 755 def label @label end |