Class: Rafflesia::FoldCollectionCalibrationProfile

Inherits:
Types::BaseModel
  • Object
show all
Defined in:
lib/rafflesia/proteins/fold_collection_calibration_profile.rb

Constant Summary collapse

HASH_ATTRS =
{
  backend: :backend,
  benchmark_id: :benchmark_id,
  byte_reduction_fraction: :byte_reduction_fraction,
  calibration_id: :calibration_id,
  collection_id: :collection_id,
  created_at: :created_at,
  eligible_query_count: :eligible_query_count,
  gate_passed: :gate_passed,
  gate_reasons: :gate_reasons,
  kind: :kind,
  limit: :limit,
  max_segments: :max_segments,
  mean_baseline_searched_segment_count: :mean_baseline_searched_segment_count,
  mean_hit_overlap_fraction: :mean_hit_overlap_fraction,
  mean_routed_planned_object_bytes: :mean_routed_planned_object_bytes,
  mean_routed_planned_object_reads: :mean_routed_planned_object_reads,
  mean_routed_score_coverage: :mean_routed_score_coverage,
  mean_routed_searched_segment_count: :mean_routed_searched_segment_count,
  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,
  ref: :ref,
  routing_mode: :routing_mode,
  schema_version: :schema_version,
  segment_count: :segment_count,
  segment_reduction_fraction: :segment_reduction_fraction,
  segment_refs: :segment_refs,
  snapshot_ref: :snapshot_ref,
  target_score_coverage: :target_score_coverage
}.freeze

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(json) ⇒ FoldCollectionCalibrationProfile

Returns a new instance of FoldCollectionCalibrationProfile.



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
119
120
121
122
123
124
125
126
127
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 87

def initialize(json)
  super()
  hash = self.class.normalize(json)
  @backend = hash[:backend]
  @benchmark_id = hash[:benchmark_id]
  @byte_reduction_fraction = hash[:byte_reduction_fraction]
  @calibration_id = hash[:calibration_id]
  @collection_id = hash[:collection_id]
  @created_at = hash[:created_at]
  @eligible_query_count = hash[:eligible_query_count]
  @gate_passed = hash[:gate_passed]
  @gate_reasons = (hash[:gate_reasons] || [])
  @kind = hash[:kind]
  @limit = hash[:limit]
  @max_segments = hash[:max_segments]
  @mean_baseline_searched_segment_count = hash[:mean_baseline_searched_segment_count]
  @mean_hit_overlap_fraction = hash[:mean_hit_overlap_fraction]
  @mean_routed_planned_object_bytes = hash[:mean_routed_planned_object_bytes]
  @mean_routed_planned_object_reads = hash[:mean_routed_planned_object_reads]
  @mean_routed_score_coverage = hash[:mean_routed_score_coverage]
  @mean_routed_searched_segment_count = hash[:mean_routed_searched_segment_count]
  @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]
  @ref = hash[:ref]
  @routing_mode = hash[:routing_mode]
  @schema_version = hash[:schema_version]
  @segment_count = hash[:segment_count]
  @segment_reduction_fraction = hash[:segment_reduction_fraction]
  @segment_refs = (hash[:segment_refs] || [])
  @snapshot_ref = hash[:snapshot_ref]
  @target_score_coverage = hash[:target_score_coverage]
end

Instance Attribute Details

#backendObject

Returns the value of attribute backend.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def backend
  @backend
end

#benchmark_idObject

Returns the value of attribute benchmark_id.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def benchmark_id
  @benchmark_id
end

#byte_reduction_fractionObject

Returns the value of attribute byte_reduction_fraction.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def byte_reduction_fraction
  @byte_reduction_fraction
end

#calibration_idObject

Returns the value of attribute calibration_id.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def calibration_id
  @calibration_id
end

#collection_idObject

Returns the value of attribute collection_id.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def collection_id
  @collection_id
end

#created_atObject

Returns the value of attribute created_at.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def created_at
  @created_at
end

#eligible_query_countObject

Returns the value of attribute eligible_query_count.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def eligible_query_count
  @eligible_query_count
end

#gate_passedObject

Returns the value of attribute gate_passed.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def gate_passed
  @gate_passed
end

#gate_reasonsObject

Returns the value of attribute gate_reasons.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def gate_reasons
  @gate_reasons
end

#kindObject

Returns the value of attribute kind.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def kind
  @kind
end

#limitObject

Returns the value of attribute limit.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def limit
  @limit
end

#max_segmentsObject

Returns the value of attribute max_segments.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def max_segments
  @max_segments
end

#mean_baseline_searched_segment_countObject

Returns the value of attribute mean_baseline_searched_segment_count.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def mean_baseline_searched_segment_count
  @mean_baseline_searched_segment_count
end

#mean_hit_overlap_fractionObject

Returns the value of attribute mean_hit_overlap_fraction.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def mean_hit_overlap_fraction
  @mean_hit_overlap_fraction
end

#mean_routed_planned_object_bytesObject

Returns the value of attribute mean_routed_planned_object_bytes.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def mean_routed_planned_object_bytes
  @mean_routed_planned_object_bytes
end

#mean_routed_planned_object_readsObject

Returns the value of attribute mean_routed_planned_object_reads.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def mean_routed_planned_object_reads
  @mean_routed_planned_object_reads
end

#mean_routed_score_coverageObject

Returns the value of attribute mean_routed_score_coverage.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def mean_routed_score_coverage
  @mean_routed_score_coverage
end

#mean_routed_searched_segment_countObject

Returns the value of attribute mean_routed_searched_segment_count.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def mean_routed_searched_segment_count
  @mean_routed_searched_segment_count
end

#min_routed_score_coverageObject

Returns the value of attribute min_routed_score_coverage.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def min_routed_score_coverage
  @min_routed_score_coverage
end

#nprobeObject

Returns the value of attribute nprobe.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def nprobe
  @nprobe
end

#object_read_reduction_fractionObject

Returns the value of attribute object_read_reduction_fraction.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def object_read_reduction_fraction
  @object_read_reduction_fraction
end

#passedObject

Returns the value of attribute passed.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def passed
  @passed
end

#query_countObject

Returns the value of attribute query_count.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def query_count
  @query_count
end

#recall_at_1Object

Returns the value of attribute recall_at_1.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def recall_at_1
  @recall_at_1
end

#recall_at_10Object

Returns the value of attribute recall_at_10.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def recall_at_10
  @recall_at_10
end

#recall_at_100Object

Returns the value of attribute recall_at_100.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def recall_at_100
  @recall_at_100
end

Returns the value of attribute recommended_max_segments.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def recommended_max_segments
  @recommended_max_segments
end

Returns the value of attribute recommended_routing_mode.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def recommended_routing_mode
  @recommended_routing_mode
end

Returns the value of attribute recommended_target_score_coverage.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def recommended_target_score_coverage
  @recommended_target_score_coverage
end

#refObject

Returns the value of attribute ref.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def ref
  @ref
end

#routing_modeObject

Returns the value of attribute routing_mode.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def routing_mode
  @routing_mode
end

#schema_versionObject

Returns the value of attribute schema_version.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def schema_version
  @schema_version
end

#segment_countObject

Returns the value of attribute segment_count.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def segment_count
  @segment_count
end

#segment_reduction_fractionObject

Returns the value of attribute segment_reduction_fraction.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def segment_reduction_fraction
  @segment_reduction_fraction
end

#segment_refsObject

Returns the value of attribute segment_refs.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def segment_refs
  @segment_refs
end

#snapshot_refObject

Returns the value of attribute snapshot_ref.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def snapshot_ref
  @snapshot_ref
end

#target_score_coverageObject

Returns the value of attribute target_score_coverage.



48
49
50
# File 'lib/rafflesia/proteins/fold_collection_calibration_profile.rb', line 48

def target_score_coverage
  @target_score_coverage
end