@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EvaluationMetric extends Object implements Serializable, Cloneable, StructuredPojo
The evaluation metrics (F1 score, Precision, and Recall) for an adapter version.
Constructor and Description |
---|
EvaluationMetric() |
Modifier and Type | Method and Description |
---|---|
EvaluationMetric |
clone() |
boolean |
equals(Object obj) |
Float |
getF1Score()
The F1 score for an adapter version.
|
Float |
getPrecision()
The Precision score for an adapter version.
|
Float |
getRecall()
The Recall score for an adapter version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setF1Score(Float f1Score)
The F1 score for an adapter version.
|
void |
setPrecision(Float precision)
The Precision score for an adapter version.
|
void |
setRecall(Float recall)
The Recall score for an adapter version.
|
String |
toString()
Returns a string representation of this object.
|
EvaluationMetric |
withF1Score(Float f1Score)
The F1 score for an adapter version.
|
EvaluationMetric |
withPrecision(Float precision)
The Precision score for an adapter version.
|
EvaluationMetric |
withRecall(Float recall)
The Recall score for an adapter version.
|
public void setF1Score(Float f1Score)
The F1 score for an adapter version.
f1Score
- The F1 score for an adapter version.public Float getF1Score()
The F1 score for an adapter version.
public EvaluationMetric withF1Score(Float f1Score)
The F1 score for an adapter version.
f1Score
- The F1 score for an adapter version.public void setPrecision(Float precision)
The Precision score for an adapter version.
precision
- The Precision score for an adapter version.public Float getPrecision()
The Precision score for an adapter version.
public EvaluationMetric withPrecision(Float precision)
The Precision score for an adapter version.
precision
- The Precision score for an adapter version.public void setRecall(Float recall)
The Recall score for an adapter version.
recall
- The Recall score for an adapter version.public Float getRecall()
The Recall score for an adapter version.
public EvaluationMetric withRecall(Float recall)
The Recall score for an adapter version.
recall
- The Recall score for an adapter version.public String toString()
toString
in class Object
Object.toString()
public EvaluationMetric clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.