Class: TencentCloud::Cii::V20201210::CompareMetricsData

Inherits:
TencentCloud::Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201210/models.rb

Overview

结构化对比指标(准确率/召回率)数据

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#LongContentAccuracyObject

Parameters:

  • ShortStructAccuracy:

    短文准确率

  • ShortStructRecall:

    短文召回率

  • LongStructAccuracy:

    长文结构化准确率

  • LongStructRecall:

    长文结构化召回率

  • LongContentAccuracy:

    长文提取准确率

  • LongContentRecall:

    长文提取召回率



35
36
37
# File 'lib/v20201210/models.rb', line 35

def LongContentAccuracy
  @LongContentAccuracy
end

#LongContentRecallObject

Parameters:

  • ShortStructAccuracy:

    短文准确率

  • ShortStructRecall:

    短文召回率

  • LongStructAccuracy:

    长文结构化准确率

  • LongStructRecall:

    长文结构化召回率

  • LongContentAccuracy:

    长文提取准确率

  • LongContentRecall:

    长文提取召回率



35
36
37
# File 'lib/v20201210/models.rb', line 35

def LongContentRecall
  @LongContentRecall
end

#LongStructAccuracyObject

Parameters:

  • ShortStructAccuracy:

    短文准确率

  • ShortStructRecall:

    短文召回率

  • LongStructAccuracy:

    长文结构化准确率

  • LongStructRecall:

    长文结构化召回率

  • LongContentAccuracy:

    长文提取准确率

  • LongContentRecall:

    长文提取召回率



35
36
37
# File 'lib/v20201210/models.rb', line 35

def LongStructAccuracy
  @LongStructAccuracy
end

#LongStructRecallObject

Parameters:

  • ShortStructAccuracy:

    短文准确率

  • ShortStructRecall:

    短文召回率

  • LongStructAccuracy:

    长文结构化准确率

  • LongStructRecall:

    长文结构化召回率

  • LongContentAccuracy:

    长文提取准确率

  • LongContentRecall:

    长文提取召回率



35
36
37
# File 'lib/v20201210/models.rb', line 35

def LongStructRecall
  @LongStructRecall
end

#ShortStructAccuracyObject

Parameters:

  • ShortStructAccuracy:

    短文准确率

  • ShortStructRecall:

    短文召回率

  • LongStructAccuracy:

    长文结构化准确率

  • LongStructRecall:

    长文结构化召回率

  • LongContentAccuracy:

    长文提取准确率

  • LongContentRecall:

    长文提取召回率



35
36
37
# File 'lib/v20201210/models.rb', line 35

def ShortStructAccuracy
  @ShortStructAccuracy
end

#ShortStructRecallObject

Parameters:

  • ShortStructAccuracy:

    短文准确率

  • ShortStructRecall:

    短文召回率

  • LongStructAccuracy:

    长文结构化准确率

  • LongStructRecall:

    长文结构化召回率

  • LongContentAccuracy:

    长文提取准确率

  • LongContentRecall:

    长文提取召回率



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