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) 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>final StringtoString()Returns a string representation of this object.final StringThe name of the treatment variant.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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
- Specified by:
toBuilderin interfaceToCopyableBuilder<VariantResult.Builder,VariantResult>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-