public class ValidationData
extends java.lang.Object
implements java.io.Serializable
Contains the Amazon S3 bucket location of the validation data for a model training job.
The validation data includes error information for individual JSON lines in the dataset. For more information, see Debugging a Failed Model Training in the Amazon Rekognition Custom Labels Developer Guide.
You get the ValidationData
object for the training dataset
(TrainingDataResult) and the test dataset (TestingDataResult)
by calling DescribeProjectVersions.
The assets array contains a single Asset object. The GroundTruthManifest field of the Asset object contains the S3 bucket location of the validation data.
Constructor and Description |
---|
ValidationData() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.util.List<Asset> |
getAssets()
The assets that comprise the validation data.
|
int |
hashCode() |
void |
setAssets(java.util.Collection<Asset> assets)
The assets that comprise the validation data.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ValidationData |
withAssets(Asset... assets)
The assets that comprise the validation data.
|
ValidationData |
withAssets(java.util.Collection<Asset> assets)
The assets that comprise the validation data.
|
public java.util.List<Asset> getAssets()
The assets that comprise the validation data.
The assets that comprise the validation data.
public void setAssets(java.util.Collection<Asset> assets)
The assets that comprise the validation data.
assets
- The assets that comprise the validation data.
public ValidationData withAssets(Asset... assets)
The assets that comprise the validation data.
Returns a reference to this object so that method calls can be chained together.
assets
- The assets that comprise the validation data.
public ValidationData withAssets(java.util.Collection<Asset> assets)
The assets that comprise the validation data.
Returns a reference to this object so that method calls can be chained together.
assets
- The assets that comprise the validation data.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.