Class: Rafflesia::FoldSegmentRecallMeasurement
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldSegmentRecallMeasurement
- Defined in:
- lib/rafflesia/proteins/fold_segment_recall_measurement.rb
Constant Summary collapse
- HASH_ATTRS =
{ baseline_target_count: :baseline_target_count, eligible_query_count: :eligible_query_count, k: :k, matched_query_count: :matched_query_count, matched_target_count: :matched_target_count, recall: :recall }.freeze
Instance Attribute Summary collapse
-
#baseline_target_count ⇒ Object
Returns the value of attribute baseline_target_count.
-
#eligible_query_count ⇒ Object
Returns the value of attribute eligible_query_count.
-
#k ⇒ Object
Returns the value of attribute k.
-
#matched_query_count ⇒ Object
Returns the value of attribute matched_query_count.
-
#matched_target_count ⇒ Object
Returns the value of attribute matched_target_count.
-
#recall ⇒ Object
Returns the value of attribute recall.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldSegmentRecallMeasurement
constructor
A new instance of FoldSegmentRecallMeasurement.
Constructor Details
#initialize(json) ⇒ FoldSegmentRecallMeasurement
Returns a new instance of FoldSegmentRecallMeasurement.
25 26 27 28 29 30 31 32 33 34 |
# File 'lib/rafflesia/proteins/fold_segment_recall_measurement.rb', line 25 def initialize(json) super() hash = self.class.normalize(json) @baseline_target_count = hash[:baseline_target_count] @eligible_query_count = hash[:eligible_query_count] @k = hash[:k] @matched_query_count = hash[:matched_query_count] @matched_target_count = hash[:matched_target_count] @recall = hash[:recall] end |
Instance Attribute Details
#baseline_target_count ⇒ Object
Returns the value of attribute baseline_target_count.
17 18 19 |
# File 'lib/rafflesia/proteins/fold_segment_recall_measurement.rb', line 17 def baseline_target_count @baseline_target_count end |
#eligible_query_count ⇒ Object
Returns the value of attribute eligible_query_count.
17 18 19 |
# File 'lib/rafflesia/proteins/fold_segment_recall_measurement.rb', line 17 def eligible_query_count @eligible_query_count end |
#k ⇒ Object
Returns the value of attribute k.
17 18 19 |
# File 'lib/rafflesia/proteins/fold_segment_recall_measurement.rb', line 17 def k @k end |
#matched_query_count ⇒ Object
Returns the value of attribute matched_query_count.
17 18 19 |
# File 'lib/rafflesia/proteins/fold_segment_recall_measurement.rb', line 17 def matched_query_count @matched_query_count end |
#matched_target_count ⇒ Object
Returns the value of attribute matched_target_count.
17 18 19 |
# File 'lib/rafflesia/proteins/fold_segment_recall_measurement.rb', line 17 def matched_target_count @matched_target_count end |
#recall ⇒ Object
Returns the value of attribute recall.
17 18 19 |
# File 'lib/rafflesia/proteins/fold_segment_recall_measurement.rb', line 17 def recall @recall end |