Class AdapterVersionEvaluationMetric
- java.lang.Object
-
- software.amazon.awssdk.services.textract.model.AdapterVersionEvaluationMetric
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<AdapterVersionEvaluationMetric.Builder,AdapterVersionEvaluationMetric>
@Generated("software.amazon.awssdk:codegen") public final class AdapterVersionEvaluationMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AdapterVersionEvaluationMetric.Builder,AdapterVersionEvaluationMetric>
Contains information on the metrics used to evalute the peformance of a given adapter version. Includes data for baseline model performance and individual adapter version perfromance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AdapterVersionEvaluationMetric.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description EvaluationMetric
adapterVersion()
The F1 score, precision, and recall metrics for the baseline model.EvaluationMetric
baseline()
The F1 score, precision, and recall metrics for the baseline model.static AdapterVersionEvaluationMetric.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
FeatureType
featureType()
Indicates the feature type being analyzed by a given adapter version.String
featureTypeAsString()
Indicates the feature type being analyzed by a given adapter version.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
List<SdkField<?>>
sdkFields()
static Class<? extends AdapterVersionEvaluationMetric.Builder>
serializableBuilderClass()
AdapterVersionEvaluationMetric.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
baseline
public final EvaluationMetric baseline()
The F1 score, precision, and recall metrics for the baseline model.
- Returns:
- The F1 score, precision, and recall metrics for the baseline model.
-
adapterVersion
public final EvaluationMetric adapterVersion()
The F1 score, precision, and recall metrics for the baseline model.
- Returns:
- The F1 score, precision, and recall metrics for the baseline model.
-
featureType
public final FeatureType featureType()
Indicates the feature type being analyzed by a given adapter version.
If the service returns an enum value that is not available in the current SDK version,
featureType
will returnFeatureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfeatureTypeAsString()
.- Returns:
- Indicates the feature type being analyzed by a given adapter version.
- See Also:
FeatureType
-
featureTypeAsString
public final String featureTypeAsString()
Indicates the feature type being analyzed by a given adapter version.
If the service returns an enum value that is not available in the current SDK version,
featureType
will returnFeatureType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromfeatureTypeAsString()
.- Returns:
- Indicates the feature type being analyzed by a given adapter version.
- See Also:
FeatureType
-
toBuilder
public AdapterVersionEvaluationMetric.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AdapterVersionEvaluationMetric.Builder,AdapterVersionEvaluationMetric>
-
builder
public static AdapterVersionEvaluationMetric.Builder builder()
-
serializableBuilderClass
public static Class<? extends AdapterVersionEvaluationMetric.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String 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.
-
-