Basic class defining interface for querying neighborhood in a dataset
Derived classes provide specific implementations possibly with trade-offs between generality and performance.
TODO: extend
Methods
query(**kwargs) | Return feature ids of neighbors given a specific query |
query_byid(fid) | Return feature ids of neighbors for a given feature id |
train(dataset) |
Parameters: | **kwargs :
|
---|
Methods
query(**kwargs) | Return feature ids of neighbors given a specific query |
query_byid(fid) | Return feature ids of neighbors for a given feature id |
train(dataset) |
Return feature ids of neighbors for a given feature id