Clustering Function Based on K Nearest Neighbors

Finds clusters in set of observations based on their numerical attributes. Uses a variation of an graph theoretic algorithm,
258 download
Aggiornato 11 set 2018

Visualizza la licenza

This function is similar to the graph theoretic clustering function that I submitted previously (https://www.mathworks.com/matlabcentral/fileexchange/57320-clustering-algorithm-based-on-directed-graphs). The input is an observation/attribute matrix and an integer K that specifies the number of nearest neighbors for each observation. The algorithm first finds the K nearest neighbors of each observation and then a parent for each observation. The parent is the observation among the K+1 whose Kth nearest neighbor is the nearest (check the code for a more precise specification). As in the previous function, orphans become the roots of clusters and the remaining nodes are assigned recursively to the cluster of their parent.

Cita come

Warren Koontz (2024). Clustering Function Based on K Nearest Neighbors (https://www.mathworks.com/matlabcentral/fileexchange/68778-clustering-function-based-on-k-nearest-neighbors), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R2018a
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Statistics and Machine Learning Toolbox in Help Center e MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versione Pubblicato Note della release
1.0.0