Reference documentation and code samples for the Google Cloud Dialogflow Cx V3 Client class Metric.
Metric and corresponding confidence intervals.
Generated from protobuf message google.cloud.dialogflow.cx.v3.Experiment.Result.Metric
Namespace
Google \ Cloud \ Dialogflow \ Cx \ V3 \ Experiment \ ResultMethods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
int
Ratio-based metric type. Only one of type or count_type is specified in each Metric.
↳ count_type
int
Count-based metric type. Only one of type or count_type is specified in each Metric.
↳ ratio
float
Ratio value of a metric.
↳ count
float
Count value of a metric.
↳ confidence_interval
Google\Cloud\Dialogflow\Cx\V3\Experiment\Result\ConfidenceInterval
The probability that the treatment is better than all other treatments in the experiment
getType
Ratio-based metric type. Only one of type or count_type is specified in each Metric.
int
setType
Ratio-based metric type. Only one of type or count_type is specified in each Metric.
var
int
$this
getCountType
Count-based metric type. Only one of type or count_type is specified in each Metric.
int
setCountType
Count-based metric type. Only one of type or count_type is specified in each Metric.
var
int
$this
getRatio
Ratio value of a metric.
float
hasRatio
setRatio
Ratio value of a metric.
var
float
$this
getCount
Count value of a metric.
float
hasCount
setCount
Count value of a metric.
var
float
$this
getConfidenceInterval
The probability that the treatment is better than all other treatments in the experiment
hasConfidenceInterval
clearConfidenceInterval
setConfidenceInterval
The probability that the treatment is better than all other treatments in the experiment
$this
getValue
string