Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/representations.rb
Overview
A confidence interval is a range of possible values for the experiment objective you are trying to measure.
Instance Attribute Summary collapse
-
#confidence_level ⇒ Float
The confidence level used to construct the interval, i.e.
-
#lower_bound ⇒ Float
Lower bound of the interval.
-
#ratio ⇒ Float
The percent change between an experiment metric's value and the value for its control.
-
#upper_bound ⇒ Float
Upper bound of the interval.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
constructor
A new instance of GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval
Returns a new instance of GoogleCloudDialogflowCxV3ExperimentResultConfidenceInterval.
1991 1992 1993 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1991 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_level ⇒ Float
The confidence level used to construct the interval, i.e. there is X% chance
that the true value is within this interval.
Corresponds to the JSON property confidenceLevel
1973 1974 1975 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1973 def confidence_level @confidence_level end |
#lower_bound ⇒ Float
Lower bound of the interval.
Corresponds to the JSON property lowerBound
1978 1979 1980 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1978 def lower_bound @lower_bound end |
#ratio ⇒ Float
The percent change between an experiment metric's value and the value for its
control.
Corresponds to the JSON property ratio
1984 1985 1986 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1984 def ratio @ratio end |
#upper_bound ⇒ Float
Upper bound of the interval.
Corresponds to the JSON property upperBound
1989 1990 1991 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1989 def upper_bound @upper_bound end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1996 1997 1998 1999 2000 2001 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 1996 def update!(**args) @confidence_level = args[:confidence_level] if args.key?(:confidence_level) @lower_bound = args[:lower_bound] if args.key?(:lower_bound) @ratio = args[:ratio] if args.key?(:ratio) @upper_bound = args[:upper_bound] if args.key?(:upper_bound) end |