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
Returns
- (::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
Parameter
- value (::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::ConfidenceInterval) — The probability that the treatment is better than all other treatments in the experiment
Returns
- (::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
Returns
- (::Float) — Count value of a metric.
#count=
def count=(value) -> ::Float
Parameter
- value (::Float) — Count value of a metric.
Returns
- (::Float) — Count value of a metric.
#count_type
def count_type() -> ::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::CountType
Returns
- (::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
Parameter
- 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.
Returns
- (::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
Returns
- (::Float) — Ratio value of a metric.
#ratio=
def ratio=(value) -> ::Float
Parameter
- value (::Float) — Ratio value of a metric.
Returns
- (::Float) — Ratio value of a metric.
#type
def type() -> ::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::MetricType
Returns
- (::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
Parameter
- 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.
Returns
- (::Google::Cloud::Dialogflow::CX::V3::Experiment::Result::MetricType) — Ratio-based metric type. Only one of type or count_type is specified in each Metric.