@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class HumanEvaluationCustomMetric extends Object implements Serializable, Cloneable, StructuredPojo
In a model evaluation job that uses human workers you must define the name of the metric, and how you want that
metric rated ratingMethod
, and an optional description of the metric.
Constructor and Description |
---|
HumanEvaluationCustomMetric() |
Modifier and Type | Method and Description |
---|---|
HumanEvaluationCustomMetric |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
An optional description of the metric.
|
String |
getName()
The name of the metric.
|
String |
getRatingMethod()
Choose how you want your human workers to evaluation your model.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
An optional description of the metric.
|
void |
setName(String name)
The name of the metric.
|
void |
setRatingMethod(String ratingMethod)
Choose how you want your human workers to evaluation your model.
|
String |
toString()
Returns a string representation of this object.
|
HumanEvaluationCustomMetric |
withDescription(String description)
An optional description of the metric.
|
HumanEvaluationCustomMetric |
withName(String name)
The name of the metric.
|
HumanEvaluationCustomMetric |
withRatingMethod(String ratingMethod)
Choose how you want your human workers to evaluation your model.
|
public void setName(String name)
The name of the metric. Your human evaluators will see this name in the evaluation UI.
name
- The name of the metric. Your human evaluators will see this name in the evaluation UI.public String getName()
The name of the metric. Your human evaluators will see this name in the evaluation UI.
public HumanEvaluationCustomMetric withName(String name)
The name of the metric. Your human evaluators will see this name in the evaluation UI.
name
- The name of the metric. Your human evaluators will see this name in the evaluation UI.public void setDescription(String description)
An optional description of the metric. Use this parameter to provide more details about the metric.
description
- An optional description of the metric. Use this parameter to provide more details about the metric.public String getDescription()
An optional description of the metric. Use this parameter to provide more details about the metric.
public HumanEvaluationCustomMetric withDescription(String description)
An optional description of the metric. Use this parameter to provide more details about the metric.
description
- An optional description of the metric. Use this parameter to provide more details about the metric.public void setRatingMethod(String ratingMethod)
Choose how you want your human workers to evaluation your model. Valid values for rating methods are
ThumbsUpDown
, IndividualLikertScale
,ComparisonLikertScale
,
ComparisonChoice
, and ComparisonRank
ratingMethod
- Choose how you want your human workers to evaluation your model. Valid values for rating methods are
ThumbsUpDown
, IndividualLikertScale
,ComparisonLikertScale
,
ComparisonChoice
, and ComparisonRank
public String getRatingMethod()
Choose how you want your human workers to evaluation your model. Valid values for rating methods are
ThumbsUpDown
, IndividualLikertScale
,ComparisonLikertScale
,
ComparisonChoice
, and ComparisonRank
ThumbsUpDown
, IndividualLikertScale
,ComparisonLikertScale
,
ComparisonChoice
, and ComparisonRank
public HumanEvaluationCustomMetric withRatingMethod(String ratingMethod)
Choose how you want your human workers to evaluation your model. Valid values for rating methods are
ThumbsUpDown
, IndividualLikertScale
,ComparisonLikertScale
,
ComparisonChoice
, and ComparisonRank
ratingMethod
- Choose how you want your human workers to evaluation your model. Valid values for rating methods are
ThumbsUpDown
, IndividualLikertScale
,ComparisonLikertScale
,
ComparisonChoice
, and ComparisonRank
public String toString()
toString
in class Object
Object.toString()
public HumanEvaluationCustomMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.