public class EntityTypesEvaluationMetrics
extends java.lang.Object
implements java.io.Serializable
Detailed information about the accuracy of an entity recognizer for a specific entity type.
Constructor and Description |
---|
EntityTypesEvaluationMetrics() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Double |
getF1Score()
A measure of how accurate the recognizer results are for a specific
entity type in the test data.
|
java.lang.Double |
getPrecision()
A measure of the usefulness of the recognizer results for a specific
entity type in the test data.
|
java.lang.Double |
getRecall()
A measure of how complete the recognizer results are for a specific
entity type in the test data.
|
int |
hashCode() |
void |
setF1Score(java.lang.Double f1Score)
A measure of how accurate the recognizer results are for a specific
entity type in the test data.
|
void |
setPrecision(java.lang.Double precision)
A measure of the usefulness of the recognizer results for a specific
entity type in the test data.
|
void |
setRecall(java.lang.Double recall)
A measure of how complete the recognizer results are for a specific
entity type in the test data.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EntityTypesEvaluationMetrics |
withF1Score(java.lang.Double f1Score)
A measure of how accurate the recognizer results are for a specific
entity type in the test data.
|
EntityTypesEvaluationMetrics |
withPrecision(java.lang.Double precision)
A measure of the usefulness of the recognizer results for a specific
entity type in the test data.
|
EntityTypesEvaluationMetrics |
withRecall(java.lang.Double recall)
A measure of how complete the recognizer results are for a specific
entity type in the test data.
|
public java.lang.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.
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 setPrecision(java.lang.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 EntityTypesEvaluationMetrics withPrecision(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.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.
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 setRecall(java.lang.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 EntityTypesEvaluationMetrics withRecall(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 java.lang.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.
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 void setF1Score(java.lang.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 EntityTypesEvaluationMetrics withF1Score(java.lang.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.
Returns a reference to this object so that method calls can be chained together.
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 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.