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