Class: Rafflesia::FoldCollectionCalibrateRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::FoldCollectionCalibrateRequest
- Defined in:
- lib/rafflesia/proteins/fold_collection_calibrate_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ allow_regression: :allow_regression, current_calibration_object_id: :current_calibration_object_id, exact_limit: :exact_limit, exact_verify: :exact_verify, limit: :limit, 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, max_segments: :max_segments, max_segments_per_query: :max_segments_per_query, min_byte_reduction_fraction: :min_byte_reduction_fraction, min_object_read_reduction_improvement: :min_object_read_reduction_improvement, min_recall_at_1: :min_recall_at_1, min_recall_at_10: :min_recall_at_10, min_recall_at_100: :min_recall_at_100, min_recall_at_1_improvement: :min_recall_at_1_improvement, min_routing_score_coverage: :min_routing_score_coverage, min_segment_reduction_fraction: :min_segment_reduction_fraction, min_segment_reduction_improvement: :min_segment_reduction_improvement, nprobe: :nprobe, promote: :promote, query_ids: :query_ids, recall_at: :recall_at, ref: :ref, require_adaptive_routing: :require_adaptive_routing, require_exact_verification: :require_exact_verification, require_routing: :require_routing, require_zero_materialization: :require_zero_materialization, routing_mode: :routing_mode, segment_refs: :segment_refs, store_artifact: :store_artifact, store_calibration: :store_calibration, store_telemetry: :store_telemetry, target_score_coverage: :target_score_coverage }.freeze
Instance Attribute Summary collapse
-
#allow_regression ⇒ Object
Returns the value of attribute allow_regression.
-
#current_calibration_object_id ⇒ Object
Returns the value of attribute current_calibration_object_id.
-
#exact_limit ⇒ Object
Returns the value of attribute exact_limit.
-
#exact_verify ⇒ Object
Returns the value of attribute exact_verify.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#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.
-
#max_segments ⇒ Object
Returns the value of attribute max_segments.
-
#max_segments_per_query ⇒ Object
Returns the value of attribute max_segments_per_query.
-
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
-
#min_object_read_reduction_improvement ⇒ Object
Returns the value of attribute min_object_read_reduction_improvement.
-
#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.
-
#min_recall_at_1_improvement ⇒ Object
Returns the value of attribute min_recall_at_1_improvement.
-
#min_routing_score_coverage ⇒ Object
Returns the value of attribute min_routing_score_coverage.
-
#min_segment_reduction_fraction ⇒ Object
Returns the value of attribute min_segment_reduction_fraction.
-
#min_segment_reduction_improvement ⇒ Object
Returns the value of attribute min_segment_reduction_improvement.
-
#nprobe ⇒ Object
Returns the value of attribute nprobe.
-
#promote ⇒ Object
Returns the value of attribute promote.
-
#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_adaptive_routing ⇒ Object
Returns the value of attribute require_adaptive_routing.
-
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
-
#require_routing ⇒ Object
Returns the value of attribute require_routing.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
-
#routing_mode ⇒ Object
Returns the value of attribute routing_mode.
-
#segment_refs ⇒ Object
Returns the value of attribute segment_refs.
-
#store_artifact ⇒ Object
Returns the value of attribute store_artifact.
-
#store_calibration ⇒ Object
Returns the value of attribute store_calibration.
-
#store_telemetry ⇒ Object
Returns the value of attribute store_telemetry.
-
#target_score_coverage ⇒ Object
Returns the value of attribute target_score_coverage.
Instance Method Summary collapse
-
#initialize(json) ⇒ FoldCollectionCalibrateRequest
constructor
A new instance of FoldCollectionCalibrateRequest.
Constructor Details
#initialize(json) ⇒ FoldCollectionCalibrateRequest
Returns a new instance of FoldCollectionCalibrateRequest.
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_calibrate_request.rb', line 81 def initialize(json) super() hash = self.class.normalize(json) @allow_regression = hash[:allow_regression] @current_calibration_object_id = hash[:current_calibration_object_id] @exact_limit = hash[:exact_limit] @exact_verify = hash[:exact_verify] @limit = hash[:limit] @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] @max_segments = hash[:max_segments] @max_segments_per_query = hash[:max_segments_per_query] @min_byte_reduction_fraction = hash[:min_byte_reduction_fraction] @min_object_read_reduction_improvement = hash[:min_object_read_reduction_improvement] @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] @min_recall_at_1_improvement = hash[:min_recall_at_1_improvement] @min_routing_score_coverage = hash[:min_routing_score_coverage] @min_segment_reduction_fraction = hash[:min_segment_reduction_fraction] @min_segment_reduction_improvement = hash[:min_segment_reduction_improvement] @nprobe = hash[:nprobe] @promote = hash[:promote] @query_ids = (hash[:query_ids] || []) @recall_at = (hash[:recall_at] || []) @ref = hash[:ref] @require_adaptive_routing = hash[:require_adaptive_routing] @require_exact_verification = hash[:require_exact_verification] @require_routing = hash[:require_routing] @require_zero_materialization = hash[:require_zero_materialization] @routing_mode = hash[:routing_mode] @segment_refs = (hash[:segment_refs] || []) @store_artifact = hash[:store_artifact] @store_calibration = hash[:store_calibration] @store_telemetry = hash[:store_telemetry] @target_score_coverage = hash[:target_score_coverage] end |
Instance Attribute Details
#allow_regression ⇒ Object
Returns the value of attribute allow_regression.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def allow_regression @allow_regression end |
#current_calibration_object_id ⇒ Object
Returns the value of attribute current_calibration_object_id.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def current_calibration_object_id @current_calibration_object_id end |
#exact_limit ⇒ Object
Returns the value of attribute exact_limit.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def exact_limit @exact_limit end |
#exact_verify ⇒ Object
Returns the value of attribute exact_verify.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def exact_verify @exact_verify end |
#limit ⇒ Object
Returns the value of attribute limit.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def limit @limit end |
#max_blocks_per_query ⇒ Object
Returns the value of attribute max_blocks_per_query.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 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.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 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.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def max_object_reads_per_query @max_object_reads_per_query end |
#max_segments ⇒ Object
Returns the value of attribute max_segments.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def max_segments @max_segments end |
#max_segments_per_query ⇒ Object
Returns the value of attribute max_segments_per_query.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def max_segments_per_query @max_segments_per_query end |
#min_byte_reduction_fraction ⇒ Object
Returns the value of attribute min_byte_reduction_fraction.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def min_byte_reduction_fraction @min_byte_reduction_fraction end |
#min_object_read_reduction_improvement ⇒ Object
Returns the value of attribute min_object_read_reduction_improvement.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def min_object_read_reduction_improvement @min_object_read_reduction_improvement end |
#min_recall_at_1 ⇒ Object
Returns the value of attribute min_recall_at_1.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def min_recall_at_1 @min_recall_at_1 end |
#min_recall_at_10 ⇒ Object
Returns the value of attribute min_recall_at_10.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def min_recall_at_10 @min_recall_at_10 end |
#min_recall_at_100 ⇒ Object
Returns the value of attribute min_recall_at_100.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def min_recall_at_100 @min_recall_at_100 end |
#min_recall_at_1_improvement ⇒ Object
Returns the value of attribute min_recall_at_1_improvement.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def min_recall_at_1_improvement @min_recall_at_1_improvement end |
#min_routing_score_coverage ⇒ Object
Returns the value of attribute min_routing_score_coverage.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def min_routing_score_coverage @min_routing_score_coverage end |
#min_segment_reduction_fraction ⇒ Object
Returns the value of attribute min_segment_reduction_fraction.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def min_segment_reduction_fraction @min_segment_reduction_fraction end |
#min_segment_reduction_improvement ⇒ Object
Returns the value of attribute min_segment_reduction_improvement.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def min_segment_reduction_improvement @min_segment_reduction_improvement end |
#nprobe ⇒ Object
Returns the value of attribute nprobe.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def nprobe @nprobe end |
#promote ⇒ Object
Returns the value of attribute promote.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def promote @promote end |
#query_ids ⇒ Object
Returns the value of attribute query_ids.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def query_ids @query_ids end |
#recall_at ⇒ Object
Returns the value of attribute recall_at.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def recall_at @recall_at end |
#ref ⇒ Object
Returns the value of attribute ref.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def ref @ref end |
#require_adaptive_routing ⇒ Object
Returns the value of attribute require_adaptive_routing.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def require_adaptive_routing @require_adaptive_routing end |
#require_exact_verification ⇒ Object
Returns the value of attribute require_exact_verification.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def require_exact_verification @require_exact_verification end |
#require_routing ⇒ Object
Returns the value of attribute require_routing.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def require_routing @require_routing end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def require_zero_materialization @require_zero_materialization end |
#routing_mode ⇒ Object
Returns the value of attribute routing_mode.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def routing_mode @routing_mode end |
#segment_refs ⇒ Object
Returns the value of attribute segment_refs.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def segment_refs @segment_refs end |
#store_artifact ⇒ Object
Returns the value of attribute store_artifact.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def store_artifact @store_artifact end |
#store_calibration ⇒ Object
Returns the value of attribute store_calibration.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def store_calibration @store_calibration end |
#store_telemetry ⇒ Object
Returns the value of attribute store_telemetry.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def store_telemetry @store_telemetry end |
#target_score_coverage ⇒ Object
Returns the value of attribute target_score_coverage.
45 46 47 |
# File 'lib/rafflesia/proteins/fold_collection_calibrate_request.rb', line 45 def target_score_coverage @target_score_coverage end |