public class EntityRecognizerEvaluationMetrics
extends java.lang.Object
implements java.io.Serializable
Detailed information about the accuracy of an entity recognizer.
| Constructor and Description |
|---|
EntityRecognizerEvaluationMetrics() |
| 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 the test data.
|
java.lang.Double |
getPrecision()
A measure of the usefulness of the recognizer results in the test data.
|
java.lang.Double |
getRecall()
A measure of how complete the recognizer results are for the test data.
|
int |
hashCode() |
void |
setF1Score(java.lang.Double f1Score)
A measure of how accurate the recognizer results are for the test data.
|
void |
setPrecision(java.lang.Double precision)
A measure of the usefulness of the recognizer results in the test data.
|
void |
setRecall(java.lang.Double recall)
A measure of how complete the recognizer results are for the test data.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EntityRecognizerEvaluationMetrics |
withF1Score(java.lang.Double f1Score)
A measure of how accurate the recognizer results are for the test data.
|
EntityRecognizerEvaluationMetrics |
withPrecision(java.lang.Double precision)
A measure of the usefulness of the recognizer results in the test data.
|
EntityRecognizerEvaluationMetrics |
withRecall(java.lang.Double recall)
A measure of how complete the recognizer results are for the test data.
|
public java.lang.Double getPrecision()
A measure of the usefulness of the recognizer results 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 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 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 in the test data. High precision means that the recognizer returned substantially more relevant results than irrelevant ones.
public EntityRecognizerEvaluationMetrics withPrecision(java.lang.Double precision)
A measure of the usefulness of the recognizer results 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 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 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 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 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 the test data. High recall means that the recognizer returned most of the relevant results.
public EntityRecognizerEvaluationMetrics withRecall(java.lang.Double recall)
A measure of how complete the recognizer results are for 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 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 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 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 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 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 EntityRecognizerEvaluationMetrics withF1Score(java.lang.Double f1Score)
A measure of how accurate the recognizer results are for 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 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.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.