Class: Braintrust::Models::MetricSummary
- Defined in:
- lib/braintrust/models/metric_summary.rb
Instance Attribute Summary collapse
-
#diff ⇒ Float
Difference in metric between the current and comparison experiment.
-
#improvements ⇒ Integer
Number of improvements in the metric.
-
#metric ⇒ Float
Average metric across all examples.
-
#name_ ⇒ String
Name of the metric.
-
#regressions ⇒ Integer
Number of regressions in the metric.
-
#unit ⇒ String
Unit label for the metric.
Method Summary
Methods inherited from BaseModel
#[], #initialize, #inspect, #to_h, #to_s
Constructor Details
This class inherits a constructor from Braintrust::BaseModel
Instance Attribute Details
#diff ⇒ Float
Difference in metric between the current and comparison experiment
34 |
# File 'lib/braintrust/models/metric_summary.rb', line 34 optional :diff, Float |
#improvements ⇒ Integer
Number of improvements in the metric
9 |
# File 'lib/braintrust/models/metric_summary.rb', line 9 required :improvements, Integer |
#metric ⇒ Float
Average metric across all examples
14 |
# File 'lib/braintrust/models/metric_summary.rb', line 14 required :metric, Float |
#name_ ⇒ String
Name of the metric
19 |
# File 'lib/braintrust/models/metric_summary.rb', line 19 required :name_, String |
#regressions ⇒ Integer
Number of regressions in the metric
24 |
# File 'lib/braintrust/models/metric_summary.rb', line 24 required :regressions, Integer |
#unit ⇒ String
Unit label for the metric
29 |
# File 'lib/braintrust/models/metric_summary.rb', line 29 required :unit, String |