Class: Rafflesia::FoldIndexBenchmarkRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldIndexBenchmarkRequest
- Defined in:
- lib/rafflesia/proteins/fold_index_benchmark_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ concurrency: :concurrency, limit: :limit, manifest_object_id: :manifest_object_id, manifest_path: :manifest_path, 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, store_artifact: :store_artifact, target_dir: :target_dir, verify_index: :verify_index }.freeze
Instance Attribute Summary collapse
-
#concurrency ⇒ Object
Returns the value of attribute concurrency.
-
#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.
-
#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.
-
#store_artifact ⇒ Object
Returns the value of attribute store_artifact.
-
#target_dir ⇒ Object
Returns the value of attribute target_dir.
-
#verify_index ⇒ Object
Returns the value of attribute verify_index.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldIndexBenchmarkRequest
constructor
A new instance of FoldIndexBenchmarkRequest.
Constructor Details
#initialize(json) ⇒ FoldIndexBenchmarkRequest
Returns a new instance of FoldIndexBenchmarkRequest.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 43 def initialize(json) super() hash = self.class.normalize(json) @concurrency = hash[:concurrency] @limit = hash[:limit] @manifest_object_id = hash[:manifest_object_id] @manifest_path = hash[:manifest_path] @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] @store_artifact = hash[:store_artifact] @target_dir = hash[:target_dir] @verify_index = hash[:verify_index] end |
Instance Attribute Details
#concurrency ⇒ Object
Returns the value of attribute concurrency.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def concurrency @concurrency end |
#limit ⇒ Object
Returns the value of attribute limit.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def limit @limit end |
#manifest_object_id ⇒ Object
Returns the value of attribute manifest_object_id.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def manifest_object_id @manifest_object_id end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def manifest_path @manifest_path end |
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def min_byte_reduction_fraction @min_byte_reduction_fraction end |
#min_recall_at_1 ⇒ Object
Returns the value of attribute min_recall_at_1.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def min_recall_at_1 @min_recall_at_1 end |
#min_recall_at_10 ⇒ Object
Returns the value of attribute min_recall_at_10.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def min_recall_at_10 @min_recall_at_10 end |
#min_recall_at_100 ⇒ Object
Returns the value of attribute min_recall_at_100.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def min_recall_at_100 @min_recall_at_100 end |
#nprobe ⇒ Object
Returns the value of attribute nprobe.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def nprobe @nprobe end |
#query_ids ⇒ Object
Returns the value of attribute query_ids.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def query_ids @query_ids end |
#recall_at ⇒ Object
Returns the value of attribute recall_at.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def recall_at @recall_at end |
#ref ⇒ Object
Returns the value of attribute ref.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def ref @ref end |
#store_artifact ⇒ Object
Returns the value of attribute store_artifact.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def store_artifact @store_artifact end |
#target_dir ⇒ Object
Returns the value of attribute target_dir.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def target_dir @target_dir end |
#verify_index ⇒ Object
Returns the value of attribute verify_index.
26 27 28 |
# File 'lib/rafflesia/proteins/fold_index_benchmark_request.rb', line 26 def verify_index @verify_index end |