| Package | Description | 
|---|---|
| org.openimaj.ml.annotation.basic | 
| Modifier and Type | Method and Description | 
|---|---|
| static <OBJECT,ANNOTATION,EXTRACTOR extends FeatureExtractor<FEATURE,OBJECT>,FEATURE> | KNNAnnotator. create(EXTRACTOR extractor,
      DistanceComparator<FEATURE> comparator)Create a new  KNNAnnotatorwith the given extractor and
 comparator. | 
| static <OBJECT,ANNOTATION,EXTRACTOR extends FeatureExtractor<FEATURE,OBJECT>,FEATURE> | KNNAnnotator. create(EXTRACTOR extractor,
      DistanceComparator<FEATURE> comparator,
      float threshold)Create a new  KNNAnnotatorwith the given extractor, comparator
 and threshold. | 
| static <OBJECT,ANNOTATION,EXTRACTOR extends FeatureExtractor<FEATURE,OBJECT>,FEATURE> | KNNAnnotator. create(EXTRACTOR extractor,
      DistanceComparator<FEATURE> comparator,
      int k)Create a new  KNNAnnotatorwith the given extractor, comparator
 and number of neighbours. | 
| static <OBJECT,ANNOTATION,EXTRACTOR extends FeatureExtractor<FEATURE,OBJECT>,FEATURE> | KNNAnnotator. create(EXTRACTOR extractor,
      DistanceComparator<FEATURE> comparator,
      int k,
      float threshold)Create a new  KNNAnnotatorwith the given extractor, comparator,
 number of neighbours and threshold. |