com.johnsnowlabs.nlp.annotators.resolution
calculates the accuracy metric for the EntityResolverModel in the provided dataset; the dataset should contain a column with the true code and a column from the EntityResolverModel annotator
calculates the accuracy metric for the EntityResolverModel in the provided dataset; the dataset should contain a column with the true code and a column from the EntityResolverModel annotator
Transformed DataFrame
Column with the ground truth code
Column with the EntityResolverModel annotation
The rate of correct entities
Transformed DataFrame
Column with the ground truth code
Column with the EntityResolverModel annotation
Number of results to include in the set (k parameter for Hits@K)
Number of characters to compare from the codes starting from left; defaults to 0 which compares the full code
The rate of correct entities appearing in the top k entries for each instance list
Java compliant-overrides
Java compliant-overrides