Class VariantResult
java.lang.Object
software.amazon.awssdk.services.bedrockagentcore.model.VariantResult
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<VariantResult.Builder,VariantResult>
@Generated("software.amazon.awssdk:codegen")
public final class VariantResult
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<VariantResult.Builder,VariantResult>
Statistical results for a treatment variant compared against the control.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal DoubleThe absolute change in mean score compared to the control variant.static VariantResult.Builderbuilder()final ConfidenceIntervalThe confidence interval for the observed difference.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanWhether the observed difference is statistically significant.final Doublemean()The mean evaluation score for this variant.final DoubleThe percentage change in mean score compared to the control variant.final DoublepValue()The p-value indicating the statistical significance of the observed difference.final IntegerThe number of sessions evaluated for this variant.static Class<? extends VariantResult.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe name of the treatment variant.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
variantName
The name of the treatment variant.
- Returns:
- The name of the treatment variant.
-
sampleSize
The number of sessions evaluated for this variant.
- Returns:
- The number of sessions evaluated for this variant.
-
mean
The mean evaluation score for this variant.
- Returns:
- The mean evaluation score for this variant.
-
absoluteChange
The absolute change in mean score compared to the control variant.
- Returns:
- The absolute change in mean score compared to the control variant.
-
percentChange
The percentage change in mean score compared to the control variant.
- Returns:
- The percentage change in mean score compared to the control variant.
-
pValue
The p-value indicating the statistical significance of the observed difference.
- Returns:
- The p-value indicating the statistical significance of the observed difference.
-
confidenceInterval
The confidence interval for the observed difference.
- Returns:
- The confidence interval for the observed difference.
-
isSignificant
Whether the observed difference is statistically significant.
- Returns:
- Whether the observed difference is statistically significant.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<VariantResult.Builder,VariantResult> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-