Class: Rafflesia::CorpuReleaseStructurePairGeometryBenchmarkMetrics
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::CorpuReleaseStructurePairGeometryBenchmarkMetrics
- Defined in:
- lib/rafflesia/datasets/corpu_release_structure_pair_geometry_benchmark_metrics.rb
Constant Summary collapse
- HASH_ATTRS =
{ bytes_read_total: :bytes_read_total, candidates_examined_total: :candidates_examined_total, hit_rate_at_k: :hit_rate_at_k, mean_latency_ms: :mean_latency_ms, mean_recall_at_k: :mean_recall_at_k, object_reads_total: :object_reads_total, query_count: :query_count, recall_millis: :recall_millis }.freeze
Instance Attribute Summary collapse
-
#bytes_read_total ⇒ Object
Returns the value of attribute bytes_read_total.
-
#candidates_examined_total ⇒ Object
Returns the value of attribute candidates_examined_total.
-
#hit_rate_at_k ⇒ Object
Returns the value of attribute hit_rate_at_k.
-
#mean_latency_ms ⇒ Object
Returns the value of attribute mean_latency_ms.
-
#mean_recall_at_k ⇒ Object
Returns the value of attribute mean_recall_at_k.
-
#object_reads_total ⇒ Object
Returns the value of attribute object_reads_total.
-
#query_count ⇒ Object
Returns the value of attribute query_count.
-
#recall_millis ⇒ Object
Returns the value of attribute recall_millis.
Instance Method Summary collapse
-
#initialize(json) ⇒ CorpuReleaseStructurePairGeometryBenchmarkMetrics
constructor
A new instance of CorpuReleaseStructurePairGeometryBenchmarkMetrics.
Constructor Details
#initialize(json) ⇒ CorpuReleaseStructurePairGeometryBenchmarkMetrics
Returns a new instance of CorpuReleaseStructurePairGeometryBenchmarkMetrics.
29 30 31 32 33 34 35 36 37 38 39 40 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_benchmark_metrics.rb', line 29 def initialize(json) super() hash = self.class.normalize(json) @bytes_read_total = hash[:bytes_read_total] @candidates_examined_total = hash[:candidates_examined_total] @hit_rate_at_k = hash[:hit_rate_at_k] @mean_latency_ms = hash[:mean_latency_ms] @mean_recall_at_k = hash[:mean_recall_at_k] @object_reads_total = hash[:object_reads_total] @query_count = hash[:query_count] @recall_millis = hash[:recall_millis] end |
Instance Attribute Details
#bytes_read_total ⇒ Object
Returns the value of attribute bytes_read_total.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_benchmark_metrics.rb', line 19 def bytes_read_total @bytes_read_total end |
#candidates_examined_total ⇒ Object
Returns the value of attribute candidates_examined_total.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_benchmark_metrics.rb', line 19 def candidates_examined_total @candidates_examined_total end |
#hit_rate_at_k ⇒ Object
Returns the value of attribute hit_rate_at_k.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_benchmark_metrics.rb', line 19 def hit_rate_at_k @hit_rate_at_k end |
#mean_latency_ms ⇒ Object
Returns the value of attribute mean_latency_ms.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_benchmark_metrics.rb', line 19 def mean_latency_ms @mean_latency_ms end |
#mean_recall_at_k ⇒ Object
Returns the value of attribute mean_recall_at_k.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_benchmark_metrics.rb', line 19 def mean_recall_at_k @mean_recall_at_k end |
#object_reads_total ⇒ Object
Returns the value of attribute object_reads_total.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_benchmark_metrics.rb', line 19 def object_reads_total @object_reads_total end |
#query_count ⇒ Object
Returns the value of attribute query_count.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_benchmark_metrics.rb', line 19 def query_count @query_count end |
#recall_millis ⇒ Object
Returns the value of attribute recall_millis.
19 20 21 |
# File 'lib/rafflesia/datasets/corpu_release_structure_pair_geometry_benchmark_metrics.rb', line 19 def recall_millis @recall_millis end |