Class: TencentCloud::Cii::V20201210::CompareMetricsData
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cii::V20201210::CompareMetricsData
- Defined in:
- lib/v20201210/models.rb
Overview
结构化对比指标(准确率/召回率)数据
Instance Attribute Summary collapse
- #LongContentAccuracy ⇒ Object
- #LongContentRecall ⇒ Object
- #LongStructAccuracy ⇒ Object
- #LongStructRecall ⇒ Object
- #ShortStructAccuracy ⇒ Object
- #ShortStructRecall ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(shortstructaccuracy = nil, shortstructrecall = nil, longstructaccuracy = nil, longstructrecall = nil, longcontentaccuracy = nil, longcontentrecall = nil) ⇒ CompareMetricsData
constructor
A new instance of CompareMetricsData.
Constructor Details
#initialize(shortstructaccuracy = nil, shortstructrecall = nil, longstructaccuracy = nil, longstructrecall = nil, longcontentaccuracy = nil, longcontentrecall = nil) ⇒ CompareMetricsData
Returns a new instance of CompareMetricsData.
37 38 39 40 41 42 43 44 |
# File 'lib/v20201210/models.rb', line 37 def initialize(shortstructaccuracy=nil, shortstructrecall=nil, longstructaccuracy=nil, longstructrecall=nil, longcontentaccuracy=nil, longcontentrecall=nil) @ShortStructAccuracy = shortstructaccuracy @ShortStructRecall = shortstructrecall @LongStructAccuracy = longstructaccuracy @LongStructRecall = longstructrecall @LongContentAccuracy = longcontentaccuracy @LongContentRecall = longcontentrecall end |
Instance Attribute Details
#LongContentAccuracy ⇒ Object
35 36 37 |
# File 'lib/v20201210/models.rb', line 35 def LongContentAccuracy @LongContentAccuracy end |
#LongContentRecall ⇒ Object
35 36 37 |
# File 'lib/v20201210/models.rb', line 35 def LongContentRecall @LongContentRecall end |
#LongStructAccuracy ⇒ Object
35 36 37 |
# File 'lib/v20201210/models.rb', line 35 def LongStructAccuracy @LongStructAccuracy end |
#LongStructRecall ⇒ Object
35 36 37 |
# File 'lib/v20201210/models.rb', line 35 def LongStructRecall @LongStructRecall end |
#ShortStructAccuracy ⇒ Object
35 36 37 |
# File 'lib/v20201210/models.rb', line 35 def ShortStructAccuracy @ShortStructAccuracy end |
#ShortStructRecall ⇒ Object
35 36 37 |
# File 'lib/v20201210/models.rb', line 35 def ShortStructRecall @ShortStructRecall end |
Instance Method Details
#deserialize(params) ⇒ Object
46 47 48 49 50 51 52 53 |
# File 'lib/v20201210/models.rb', line 46 def deserialize(params) @ShortStructAccuracy = params['ShortStructAccuracy'] @ShortStructRecall = params['ShortStructRecall'] @LongStructAccuracy = params['LongStructAccuracy'] @LongStructRecall = params['LongStructRecall'] @LongContentAccuracy = params['LongContentAccuracy'] @LongContentRecall = params['LongContentRecall'] end |