EntityRecognizerEvaluationMetrics class
Detailed information about the accuracy of an entity recognizer.
Constructors
- EntityRecognizerEvaluationMetrics({double? f1Score, double? precision, double? recall})
-
EntityRecognizerEvaluationMetrics.fromJson(Map<
String, dynamic> json) -
factory
Properties
- f1Score → double?
-
A measure of how accurate the recognizer results are for the test data. It
is derived from the
Precision
andRecall
values. TheF1Score
is the harmonic average of the two scores. The highest score is 1, and the worst score is 0.final - hashCode → int
-
The hash code for this object.
no setterinherited
- precision → double?
-
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.
final
- recall → double?
-
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.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited