@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityTypesEvaluationMetrics extends Object implements Serializable, Cloneable, StructuredPojo
Detailed information about the accuracy of an entity recognizer for a specific entity type.
Constructor and Description |
---|
EntityTypesEvaluationMetrics() |
Modifier and Type | Method and Description |
---|---|
EntityTypesEvaluationMetrics |
clone() |
boolean |
equals(Object obj) |
Double |
getF1Score()
A measure of how accurate the recognizer results are for a specific entity type in the test data.
|
Double |
getPrecision()
A measure of the usefulness of the recognizer results for a specific entity type in the test data.
|
Double |
getRecall()
A measure of how complete the recognizer results are for a specific entity type in the test data.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setF1Score(Double f1Score)
A measure of how accurate the recognizer results are for a specific entity type in the test data.
|
void |
setPrecision(Double precision)
A measure of the usefulness of the recognizer results for a specific entity type in the test data.
|
void |
setRecall(Double recall)
A measure of how complete the recognizer results are for a specific entity type in the test data.
|
String |
toString()
Returns a string representation of this object.
|
EntityTypesEvaluationMetrics |
withF1Score(Double f1Score)
A measure of how accurate the recognizer results are for a specific entity type in the test data.
|
EntityTypesEvaluationMetrics |
withPrecision(Double precision)
A measure of the usefulness of the recognizer results for a specific entity type in the test data.
|
EntityTypesEvaluationMetrics |
withRecall(Double recall)
A measure of how complete the recognizer results are for a specific entity type in the test data.
|
public void setPrecision(Double precision)
A measure of the usefulness of the recognizer results for a specific entity type in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.
precision
- A measure of the usefulness of the recognizer results for a specific entity type in the test data. High
precision means that the recognizer returned substantially more relevant results than irrelevant ones.public Double getPrecision()
A measure of the usefulness of the recognizer results for a specific entity type in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.
public EntityTypesEvaluationMetrics withPrecision(Double precision)
A measure of the usefulness of the recognizer results for a specific entity type in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.
precision
- A measure of the usefulness of the recognizer results for a specific entity type in the test data. High
precision means that the recognizer returned substantially more relevant results than irrelevant ones.public void setRecall(Double recall)
A measure of how complete the recognizer results are for a specific entity type in the test data. High recall means that the recognizer returned most of the relevant results.
recall
- A measure of how complete the recognizer results are for a specific entity type in the test data. High
recall means that the recognizer returned most of the relevant results.public Double getRecall()
A measure of how complete the recognizer results are for a specific entity type in the test data. High recall means that the recognizer returned most of the relevant results.
public EntityTypesEvaluationMetrics withRecall(Double recall)
A measure of how complete the recognizer results are for a specific entity type in the test data. High recall means that the recognizer returned most of the relevant results.
recall
- A measure of how complete the recognizer results are for a specific entity type in the test data. High
recall means that the recognizer returned most of the relevant results.public void setF1Score(Double f1Score)
A measure of how accurate the recognizer results are for a specific entity type in the test data. It is derived
from the Precision
and Recall
values. The F1Score
is the harmonic average
of the two scores. The highest score is 1, and the worst score is 0.
f1Score
- A measure of how accurate the recognizer results are for a specific entity type in the test data. It is
derived from the Precision
and Recall
values. The F1Score
is the
harmonic average of the two scores. The highest score is 1, and the worst score is 0.public Double getF1Score()
A measure of how accurate the recognizer results are for a specific entity type in the test data. It is derived
from the Precision
and Recall
values. The F1Score
is the harmonic average
of the two scores. The highest score is 1, and the worst score is 0.
Precision
and Recall
values. The F1Score
is the
harmonic average of the two scores. The highest score is 1, and the worst score is 0.public EntityTypesEvaluationMetrics withF1Score(Double f1Score)
A measure of how accurate the recognizer results are for a specific entity type in the test data. It is derived
from the Precision
and Recall
values. The F1Score
is the harmonic average
of the two scores. The highest score is 1, and the worst score is 0.
f1Score
- A measure of how accurate the recognizer results are for a specific entity type in the test data. It is
derived from the Precision
and Recall
values. The F1Score
is the
harmonic average of the two scores. The highest score is 1, and the worst score is 0.public String toString()
toString
in class Object
Object.toString()
public EntityTypesEvaluationMetrics clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.