Class ModelPerformance
- java.lang.Object
-
- software.amazon.awssdk.services.lookoutvision.model.ModelPerformance
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ModelPerformance.Builder,ModelPerformance>
@Generated("software.amazon.awssdk:codegen") public final class ModelPerformance extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ModelPerformance.Builder,ModelPerformance>
Information about the evaluation performance of a trained model.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceModelPerformance.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ModelPerformance.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)Floatf1Score()The overall F1 score metric for the trained model.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Floatprecision()The overall precision metric value for the trained model.Floatrecall()The overall recall metric value for the trained model.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ModelPerformance.Builder>serializableBuilderClass()ModelPerformance.BuildertoBuilder()StringtoString()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
-
f1Score
public final Float f1Score()
The overall F1 score metric for the trained model.
- Returns:
- The overall F1 score metric for the trained model.
-
recall
public final Float recall()
The overall recall metric value for the trained model.
- Returns:
- The overall recall metric value for the trained model.
-
precision
public final Float precision()
The overall precision metric value for the trained model.
- Returns:
- The overall precision metric value for the trained model.
-
toBuilder
public ModelPerformance.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ModelPerformance.Builder,ModelPerformance>
-
builder
public static ModelPerformance.Builder builder()
-
serializableBuilderClass
public static Class<? extends ModelPerformance.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-