Class: Retab::ExperimentExtractSummaryAggregate
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Retab::ExperimentExtractSummaryAggregate
- Defined in:
- lib/retab/experiment_run_metrics/experiment_extract_summary_aggregate.rb
Constant Summary collapse
- HASH_ATTRS =
{ likelihoods: :likelihoods }.freeze
Instance Attribute Summary collapse
-
#likelihoods ⇒ Object
Returns the value of attribute likelihoods.
Attributes inherited from Types::BaseModel
Instance Method Summary collapse
-
#initialize(json) ⇒ ExperimentExtractSummaryAggregate
constructor
A new instance of ExperimentExtractSummaryAggregate.
Methods inherited from Types::BaseModel
#inspect, normalize, #to_h, #to_json
Constructor Details
#initialize(json) ⇒ ExperimentExtractSummaryAggregate
Returns a new instance of ExperimentExtractSummaryAggregate.
14 15 16 17 |
# File 'lib/retab/experiment_run_metrics/experiment_extract_summary_aggregate.rb', line 14 def initialize(json) hash = self.class.normalize(json) @likelihoods = hash[:likelihoods] || {} end |
Instance Attribute Details
#likelihoods ⇒ Object
Returns the value of attribute likelihoods.
12 13 14 |
# File 'lib/retab/experiment_run_metrics/experiment_extract_summary_aggregate.rb', line 12 def likelihoods @likelihoods end |