Class: Rafflesia::FoldCollectionBenchmarkSummary
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldCollectionBenchmarkSummary
- Defined in:
- lib/rafflesia/proteins/fold_collection_benchmark_summary.rb
Constant Summary collapse
- HASH_ATTRS =
{ benchmark_id: :benchmark_id, byte_reduction_fraction: :byte_reduction_fraction, calibration_id: :calibration_id, calibration_object_id: :calibration_object_id, collection_id: :collection_id, eligible_query_count: :eligible_query_count, max_segments: :max_segments, mean_hit_overlap_fraction: :mean_hit_overlap_fraction, min_routed_score_coverage: :min_routed_score_coverage, nprobe: :nprobe, object_read_reduction_fraction: :object_read_reduction_fraction, passed: :passed, query_count: :query_count, recall_at_1: :recall_at_1, recall_at_10: :recall_at_10, recall_at_100: :recall_at_100, recommended_max_segments: :recommended_max_segments, recommended_routing_mode: :recommended_routing_mode, recommended_target_score_coverage: :recommended_target_score_coverage, require_adaptive_routing: :require_adaptive_routing, require_routing: :require_routing, routed_exact_hit_count: :routed_exact_hit_count, routed_exact_materialized_bytes: :routed_exact_materialized_bytes, routed_exact_object_bytes: :routed_exact_object_bytes, routed_exact_object_read_count: :routed_exact_object_read_count, routed_exact_verified: :routed_exact_verified, routed_materialized_bytes: :routed_materialized_bytes, routed_range_bytes_fetched: :routed_range_bytes_fetched, routed_range_read_count: :routed_range_read_count, routed_selected_block_bytes: :routed_selected_block_bytes, routing_mode: :routing_mode, segment_count: :segment_count, segment_reduction_fraction: :segment_reduction_fraction, target_score_coverage: :target_score_coverage }.freeze
Instance Attribute Summary collapse
-
#benchmark_id ⇒ Object
Returns the value of attribute benchmark_id.
-
#byte_reduction_fraction ⇒ Object
Returns the value of attribute byte_reduction_fraction.
-
#calibration_id ⇒ Object
Returns the value of attribute calibration_id.
-
#calibration_object_id ⇒ Object
Returns the value of attribute calibration_object_id.
-
#collection_id ⇒ Object
Returns the value of attribute collection_id.
-
#eligible_query_count ⇒ Object
Returns the value of attribute eligible_query_count.
-
#max_segments ⇒ Object
Returns the value of attribute max_segments.
-
#mean_hit_overlap_fraction ⇒ Object
Returns the value of attribute mean_hit_overlap_fraction.
-
#min_routed_score_coverage ⇒ Object
Returns the value of attribute min_routed_score_coverage.
-
#nprobe ⇒ Object
Returns the value of attribute nprobe.
-
#object_read_reduction_fraction ⇒ Object
Returns the value of attribute object_read_reduction_fraction.
-
#passed ⇒ Object
Returns the value of attribute passed.
-
#query_count ⇒ Object
Returns the value of attribute query_count.
-
#recall_at_1 ⇒ Object
Returns the value of attribute recall_at_1.
-
#recall_at_10 ⇒ Object
Returns the value of attribute recall_at_10.
-
#recall_at_100 ⇒ Object
Returns the value of attribute recall_at_100.
-
#recommended_max_segments ⇒ Object
Returns the value of attribute recommended_max_segments.
-
#recommended_routing_mode ⇒ Object
Returns the value of attribute recommended_routing_mode.
-
#recommended_target_score_coverage ⇒ Object
Returns the value of attribute recommended_target_score_coverage.
-
#require_adaptive_routing ⇒ Object
Returns the value of attribute require_adaptive_routing.
-
#require_routing ⇒ Object
Returns the value of attribute require_routing.
-
#routed_exact_hit_count ⇒ Object
Returns the value of attribute routed_exact_hit_count.
-
#routed_exact_materialized_bytes ⇒ Object
Returns the value of attribute routed_exact_materialized_bytes.
-
#routed_exact_object_bytes ⇒ Object
Returns the value of attribute routed_exact_object_bytes.
-
#routed_exact_object_read_count ⇒ Object
Returns the value of attribute routed_exact_object_read_count.
-
#routed_exact_verified ⇒ Object
Returns the value of attribute routed_exact_verified.
-
#routed_materialized_bytes ⇒ Object
Returns the value of attribute routed_materialized_bytes.
-
#routed_range_bytes_fetched ⇒ Object
Returns the value of attribute routed_range_bytes_fetched.
-
#routed_range_read_count ⇒ Object
Returns the value of attribute routed_range_read_count.
-
#routed_selected_block_bytes ⇒ Object
Returns the value of attribute routed_selected_block_bytes.
-
#routing_mode ⇒ Object
Returns the value of attribute routing_mode.
-
#segment_count ⇒ Object
Returns the value of attribute segment_count.
-
#segment_reduction_fraction ⇒ Object
Returns the value of attribute segment_reduction_fraction.
-
#target_score_coverage ⇒ Object
Returns the value of attribute target_score_coverage.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldCollectionBenchmarkSummary
constructor
A new instance of FoldCollectionBenchmarkSummary.
Constructor Details
#initialize(json) ⇒ FoldCollectionBenchmarkSummary
Returns a new instance of FoldCollectionBenchmarkSummary.
81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 81 def initialize(json) super() hash = self.class.normalize(json) @benchmark_id = hash[:benchmark_id] @byte_reduction_fraction = hash[:byte_reduction_fraction] @calibration_id = hash[:calibration_id] @calibration_object_id = hash[:calibration_object_id] @collection_id = hash[:collection_id] @eligible_query_count = hash[:eligible_query_count] @max_segments = hash[:max_segments] @mean_hit_overlap_fraction = hash[:mean_hit_overlap_fraction] @min_routed_score_coverage = hash[:min_routed_score_coverage] @nprobe = hash[:nprobe] @object_read_reduction_fraction = hash[:object_read_reduction_fraction] @passed = hash[:passed] @query_count = hash[:query_count] @recall_at_1 = hash[:recall_at_1] @recall_at_10 = hash[:recall_at_10] @recall_at_100 = hash[:recall_at_100] @recommended_max_segments = hash[:recommended_max_segments] @recommended_routing_mode = hash[:recommended_routing_mode] @recommended_target_score_coverage = hash[:recommended_target_score_coverage] @require_adaptive_routing = hash[:require_adaptive_routing] @require_routing = hash[:require_routing] @routed_exact_hit_count = hash[:routed_exact_hit_count] @routed_exact_materialized_bytes = hash[:routed_exact_materialized_bytes] @routed_exact_object_bytes = hash[:routed_exact_object_bytes] @routed_exact_object_read_count = hash[:routed_exact_object_read_count] @routed_exact_verified = hash[:routed_exact_verified] @routed_materialized_bytes = hash[:routed_materialized_bytes] @routed_range_bytes_fetched = hash[:routed_range_bytes_fetched] @routed_range_read_count = hash[:routed_range_read_count] @routed_selected_block_bytes = hash[:routed_selected_block_bytes] @routing_mode = hash[:routing_mode] @segment_count = hash[:segment_count] @segment_reduction_fraction = hash[:segment_reduction_fraction] @target_score_coverage = hash[:target_score_coverage] end |
Instance Attribute Details
#benchmark_id ⇒ Object
Returns the value of attribute benchmark_id.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def benchmark_id @benchmark_id end |
#byte_reduction_fraction ⇒ Object
Returns the value of attribute byte_reduction_fraction.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def byte_reduction_fraction @byte_reduction_fraction end |
#calibration_id ⇒ Object
Returns the value of attribute calibration_id.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def calibration_id @calibration_id end |
#calibration_object_id ⇒ Object
Returns the value of attribute calibration_object_id.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def calibration_object_id @calibration_object_id end |
#collection_id ⇒ Object
Returns the value of attribute collection_id.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def collection_id @collection_id end |
#eligible_query_count ⇒ Object
Returns the value of attribute eligible_query_count.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def eligible_query_count @eligible_query_count end |
#max_segments ⇒ Object
Returns the value of attribute max_segments.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def max_segments @max_segments end |
#mean_hit_overlap_fraction ⇒ Object
Returns the value of attribute mean_hit_overlap_fraction.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def mean_hit_overlap_fraction @mean_hit_overlap_fraction end |
#min_routed_score_coverage ⇒ Object
Returns the value of attribute min_routed_score_coverage.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def min_routed_score_coverage @min_routed_score_coverage end |
#nprobe ⇒ Object
Returns the value of attribute nprobe.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def nprobe @nprobe end |
#object_read_reduction_fraction ⇒ Object
Returns the value of attribute object_read_reduction_fraction.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def object_read_reduction_fraction @object_read_reduction_fraction end |
#passed ⇒ Object
Returns the value of attribute passed.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def passed @passed end |
#query_count ⇒ Object
Returns the value of attribute query_count.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def query_count @query_count end |
#recall_at_1 ⇒ Object
Returns the value of attribute recall_at_1.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def recall_at_1 @recall_at_1 end |
#recall_at_10 ⇒ Object
Returns the value of attribute recall_at_10.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def recall_at_10 @recall_at_10 end |
#recall_at_100 ⇒ Object
Returns the value of attribute recall_at_100.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def recall_at_100 @recall_at_100 end |
#recommended_max_segments ⇒ Object
Returns the value of attribute recommended_max_segments.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def recommended_max_segments @recommended_max_segments end |
#recommended_routing_mode ⇒ Object
Returns the value of attribute recommended_routing_mode.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def recommended_routing_mode @recommended_routing_mode end |
#recommended_target_score_coverage ⇒ Object
Returns the value of attribute recommended_target_score_coverage.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def recommended_target_score_coverage @recommended_target_score_coverage end |
#require_adaptive_routing ⇒ Object
Returns the value of attribute require_adaptive_routing.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def require_adaptive_routing @require_adaptive_routing end |
#require_routing ⇒ Object
Returns the value of attribute require_routing.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def require_routing @require_routing end |
#routed_exact_hit_count ⇒ Object
Returns the value of attribute routed_exact_hit_count.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def routed_exact_hit_count @routed_exact_hit_count end |
#routed_exact_materialized_bytes ⇒ Object
Returns the value of attribute routed_exact_materialized_bytes.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def routed_exact_materialized_bytes @routed_exact_materialized_bytes end |
#routed_exact_object_bytes ⇒ Object
Returns the value of attribute routed_exact_object_bytes.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def routed_exact_object_bytes @routed_exact_object_bytes end |
#routed_exact_object_read_count ⇒ Object
Returns the value of attribute routed_exact_object_read_count.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def routed_exact_object_read_count @routed_exact_object_read_count end |
#routed_exact_verified ⇒ Object
Returns the value of attribute routed_exact_verified.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def routed_exact_verified @routed_exact_verified end |
#routed_materialized_bytes ⇒ Object
Returns the value of attribute routed_materialized_bytes.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def routed_materialized_bytes @routed_materialized_bytes end |
#routed_range_bytes_fetched ⇒ Object
Returns the value of attribute routed_range_bytes_fetched.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def routed_range_bytes_fetched @routed_range_bytes_fetched end |
#routed_range_read_count ⇒ Object
Returns the value of attribute routed_range_read_count.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def routed_range_read_count @routed_range_read_count end |
#routed_selected_block_bytes ⇒ Object
Returns the value of attribute routed_selected_block_bytes.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def routed_selected_block_bytes @routed_selected_block_bytes end |
#routing_mode ⇒ Object
Returns the value of attribute routing_mode.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def routing_mode @routing_mode end |
#segment_count ⇒ Object
Returns the value of attribute segment_count.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def segment_count @segment_count end |
#segment_reduction_fraction ⇒ Object
Returns the value of attribute segment_reduction_fraction.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def segment_reduction_fraction @segment_reduction_fraction end |
#target_score_coverage ⇒ Object
Returns the value of attribute target_score_coverage.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_benchmark_summary.rb', line 45 def target_score_coverage @target_score_coverage end |