Nearest Neighbors

Find nearest neighbors for classification


ClassificationKNN k-nearest neighbor classification
ExhaustiveSearcher Nearest neighbors search using exhaustive search
KDTreeSearcher Nearest neighbors search using kd-tree


fitcknn Fit k-nearest neighbor classifier
templateKNN k-nearest neighbor classifier template
createns Create object to use in k-nearest neighbors search
knnsearch Find k-nearest neighbors using data
pdist Pairwise distance between pairs of objects
pdist2 Pairwise distance between two sets of observations
rangesearch Find all neighbors within specified distance
relieff Importance of attributes (predictors) using ReliefF algorithm
Was this topic helpful?