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