Reference documentation and code samples for the Dialogflow CX V3 API class Google::Cloud::Dialogflow::CX::V3::Experiment::Result::Metric.
Metric and corresponding confidence intervals.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#confidence_interval
def confidence_interval() -> ::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::ConfidenceInterval- (::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::ConfidenceInterval) — The probability that the treatment is better than all other treatments in the experiment
#confidence_interval=
def confidence_interval=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::ConfidenceInterval- value (::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::ConfidenceInterval) — The probability that the treatment is better than all other treatments in the experiment
- (::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::ConfidenceInterval) — The probability that the treatment is better than all other treatments in the experiment
#count
def count() -> ::Float-
(::Float) — Count value of a metric.
Note: The following fields are mutually exclusive:
count,ratio. If a field in that set is populated, all other fields in the set will automatically be cleared.
#count=
def count=(value) -> ::Float-
value (::Float) — Count value of a metric.
Note: The following fields are mutually exclusive:
count,ratio. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Float) — Count value of a metric.
Note: The following fields are mutually exclusive:
count,ratio. If a field in that set is populated, all other fields in the set will automatically be cleared.
#count_type
def count_type() -> ::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::CountType- (::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::CountType) — Count-based metric type. Only one of type or count_type is specified in each Metric.
#count_type=
def count_type=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::CountType- value (::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::CountType) — Count-based metric type. Only one of type or count_type is specified in each Metric.
- (::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::CountType) — Count-based metric type. Only one of type or count_type is specified in each Metric.
#ratio
def ratio() -> ::Float-
(::Float) — Ratio value of a metric.
Note: The following fields are mutually exclusive:
ratio,count. If a field in that set is populated, all other fields in the set will automatically be cleared.
#ratio=
def ratio=(value) -> ::Float-
value (::Float) — Ratio value of a metric.
Note: The following fields are mutually exclusive:
ratio,count. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Float) — Ratio value of a metric.
Note: The following fields are mutually exclusive:
ratio,count. If a field in that set is populated, all other fields in the set will automatically be cleared.
#type
def type() -> ::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::MetricType- (::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::MetricType) — Ratio-based metric type. Only one of type or count_type is specified in each Metric.
#type=
def type=(value) -> ::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::MetricType- value (::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::MetricType) — Ratio-based metric type. Only one of type or count_type is specified in each Metric.
- (::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::MetricType) — Ratio-based metric type. Only one of type or count_type is specified in each Metric.