Class ConfusionMatrix
- java.lang.Object
-
- software.amazon.awssdk.services.glue.model.ConfusionMatrix
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ConfusionMatrix.Builder,ConfusionMatrix>
@Generated("software.amazon.awssdk:codegen") public final class ConfusionMatrix extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ConfusionMatrix.Builder,ConfusionMatrix>
The confusion matrix shows you what your transform is predicting accurately and what types of errors it is making.
For more information, see Confusion matrix in Wikipedia.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceConfusionMatrix.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ConfusionMatrix.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LongnumFalseNegatives()The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.LongnumFalsePositives()The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform.LongnumTrueNegatives()The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform.LongnumTruePositives()The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ConfusionMatrix.Builder>serializableBuilderClass()ConfusionMatrix.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
-
numTruePositives
public final Long numTruePositives()
The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.
- Returns:
- The number of matches in the data that the transform correctly found, in the confusion matrix for your transform.
-
numFalsePositives
public final Long numFalsePositives()
The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform.
- Returns:
- The number of nonmatches in the data that the transform incorrectly classified as a match, in the confusion matrix for your transform.
-
numTrueNegatives
public final Long numTrueNegatives()
The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform.
- Returns:
- The number of nonmatches in the data that the transform correctly rejected, in the confusion matrix for your transform.
-
numFalseNegatives
public final Long numFalseNegatives()
The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.
- Returns:
- The number of matches in the data that the transform didn't find, in the confusion matrix for your transform.
-
toBuilder
public ConfusionMatrix.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ConfusionMatrix.Builder,ConfusionMatrix>
-
builder
public static ConfusionMatrix.Builder builder()
-
serializableBuilderClass
public static Class<? extends ConfusionMatrix.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
-
-