Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/dialogflow_v3beta1/classes.rb,
lib/google/apis/dialogflow_v3beta1/representations.rb,
lib/google/apis/dialogflow_v3beta1/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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval

Returns a new instance of GoogleCloudDialogflowCxV3beta1ExperimentResultConfidenceInterval.



6758
6759
6760
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6758

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#confidence_levelFloat

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

Returns:

  • (Float)


6740
6741
6742
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6740

def confidence_level
  @confidence_level
end

#lower_boundFloat

Lower bound of the interval. Corresponds to the JSON property lowerBound

Returns:

  • (Float)


6745
6746
6747
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6745

def lower_bound
  @lower_bound
end

#ratioFloat

The percent change between an experiment metric's value and the value for its control. Corresponds to the JSON property ratio

Returns:

  • (Float)


6751
6752
6753
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6751

def ratio
  @ratio
end

#upper_boundFloat

Upper bound of the interval. Corresponds to the JSON property upperBound

Returns:

  • (Float)


6756
6757
6758
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6756

def upper_bound
  @upper_bound
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6763
6764
6765
6766
6767
6768
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 6763

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