Class: Rafflesia::FoldSegmentBenchmarkRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldSegmentBenchmarkRequest
- Defined in:
- lib/rafflesia/proteins/fold_segment_benchmark_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ limit: :limit, manifest_object_id: :manifest_object_id, manifest_path: :manifest_path, max_blocks_per_query: :max_blocks_per_query, max_object_bytes_per_query: :max_object_bytes_per_query, max_object_reads_per_query: :max_object_reads_per_query, min_byte_reduction_fraction: :min_byte_reduction_fraction, min_recall_at_1: :min_recall_at_1, min_recall_at_10: :min_recall_at_10, min_recall_at_100: :min_recall_at_100, nprobe: :nprobe, query_ids: :query_ids, recall_at: :recall_at, ref: :ref, require_exact_verification: :require_exact_verification, require_zero_materialization: :require_zero_materialization, store_artifact: :store_artifact }.freeze
Instance Attribute Summary collapse
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#max_blocks_per_query ⇒ Object
Returns the value of attribute max_blocks_per_query.
-
#max_object_bytes_per_query ⇒ Object
Returns the value of attribute max_object_bytes_per_query.
-
#max_object_reads_per_query ⇒ Object
Returns the value of attribute max_object_reads_per_query.
-
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
-
#min_recall_at_1 ⇒ Object
Returns the value of attribute min_recall_at_1.
-
#min_recall_at_10 ⇒ Object
Returns the value of attribute min_recall_at_10.
-
#min_recall_at_100 ⇒ Object
Returns the value of attribute min_recall_at_100.
-
#nprobe ⇒ Object
Returns the value of attribute nprobe.
-
#query_ids ⇒ Object
Returns the value of attribute query_ids.
-
#recall_at ⇒ Object
Returns the value of attribute recall_at.
-
#ref ⇒ Object
Returns the value of attribute ref.
-
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#store_artifact ⇒ Object
Returns the value of attribute store_artifact.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldSegmentBenchmarkRequest
constructor
A new instance of FoldSegmentBenchmarkRequest.
Constructor Details
#initialize(json) ⇒ FoldSegmentBenchmarkRequest
Returns a new instance of FoldSegmentBenchmarkRequest.
47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 47 def initialize(json) super() hash = self.class.normalize(json) @limit = hash[:limit] @manifest_object_id = hash[:manifest_object_id] @manifest_path = hash[:manifest_path] @max_blocks_per_query = hash[:max_blocks_per_query] @max_object_bytes_per_query = hash[:max_object_bytes_per_query] @max_object_reads_per_query = hash[:max_object_reads_per_query] @min_byte_reduction_fraction = hash[:min_byte_reduction_fraction] @min_recall_at_1 = hash[:min_recall_at_1] @min_recall_at_10 = hash[:min_recall_at_10] @min_recall_at_100 = hash[:min_recall_at_100] @nprobe = hash[:nprobe] @query_ids = (hash[:query_ids] || []) @recall_at = (hash[:recall_at] || []) @ref = hash[:ref] @require_exact_verification = hash[:require_exact_verification] @require_zero_materialization = hash[:require_zero_materialization] @store_artifact = hash[:store_artifact] end |
Instance Attribute Details
#limit ⇒ Object
Returns the value of attribute limit.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def limit @limit end |
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def manifest_object_id @manifest_object_id end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def manifest_path @manifest_path end |
#max_blocks_per_query ⇒ Object
Returns the value of attribute max_blocks_per_query.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def max_blocks_per_query @max_blocks_per_query end |
#max_object_bytes_per_query ⇒ Object
Returns the value of attribute max_object_bytes_per_query.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def max_object_bytes_per_query @max_object_bytes_per_query end |
#max_object_reads_per_query ⇒ Object
Returns the value of attribute max_object_reads_per_query.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def max_object_reads_per_query @max_object_reads_per_query end |
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def min_byte_reduction_fraction @min_byte_reduction_fraction end |
#min_recall_at_1 ⇒ Object
Returns the value of attribute min_recall_at_1.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def min_recall_at_1 @min_recall_at_1 end |
#min_recall_at_10 ⇒ Object
Returns the value of attribute min_recall_at_10.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def min_recall_at_10 @min_recall_at_10 end |
#min_recall_at_100 ⇒ Object
Returns the value of attribute min_recall_at_100.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def min_recall_at_100 @min_recall_at_100 end |
#nprobe ⇒ Object
Returns the value of attribute nprobe.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def nprobe @nprobe end |
#query_ids ⇒ Object
Returns the value of attribute query_ids.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def query_ids @query_ids end |
#recall_at ⇒ Object
Returns the value of attribute recall_at.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def recall_at @recall_at end |
#ref ⇒ Object
Returns the value of attribute ref.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def ref @ref end |
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def require_exact_verification @require_exact_verification end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def require_zero_materialization @require_zero_materialization end |
#store_artifact ⇒ Object
Returns the value of attribute store_artifact.
28 29 30 |
# File 'lib/rafflesia/proteins/fold_segment_benchmark_request.rb', line 28 def store_artifact @store_artifact end |