Class FilteredNeighbourSearch

java.lang.Object
weka.core.neighboursearch.NearestNeighbourSearch
weka.core.neighboursearch.FilteredNeighbourSearch
All Implemented Interfaces:
Serializable, AdditionalMeasureProducer, CapabilitiesHandler, OptionHandler, RevisionHandler

public class FilteredNeighbourSearch extends NearestNeighbourSearch implements CapabilitiesHandler
Applies the given filter before calling the given neighbour search method. The filter must not change the size of the dataset or the order of the instances! Also, the range setting that is specified for the distance function is ignored: all attributes are used for the distance calculation.

Valid options are:

 -F
  The filter to use. (default: weka.filters.AllFilter)
 -S
  The search method to use. (default: weka.core.neighboursearch.LinearNNSearch)
 
 Options specific to filter weka.filters.AllFilter:
 
 -output-debug-info
  If set, filter is run in debug mode and
  may output additional info to the console
 -do-not-check-capabilities
  If set, filter capabilities are not checked before filter is built
  (use with caution).
 
 Options specific to search method weka.core.neighboursearch.LinearNNSearch:
 
 -S
  Skip identical instances (distances equal to zero).
 
 -A <classname and options>
  Distance function to use.
  (default: weka.core.EuclideanDistance)
 -P
  Calculate performance statistics.
Version:
$Revision: 8034 $
Author:
Eibe Frank (eibe@cs.waikato.ac.nz)
See Also: