Nearest Neighbor Spatial Weights Matrix
バージョン 1.1.0.0 (2.14 KB) 作成者:
Patrick Walsh
uses x,y coordinates to produce one of several types of nearest-neighbor spatial weight matrix.
There are several other nearest neighbor SWM programs out there, but many of them require significantly more memory to run and do not work on large datasets. This file should work on large datasets (have tested on >100,000 obs). Furthermore, several options are available for the weights. The user can choose equal weights for each neighbor, or weights based on distance. This allows the NN specification more accuracy.
引用
Patrick Walsh (2024). Nearest Neighbor Spatial Weights Matrix (https://www.mathworks.com/matlabcentral/fileexchange/36601-nearest-neighbor-spatial-weights-matrix), MATLAB Central File Exchange. 取得済み .
MATLAB リリースの互換性
作成:
R2010a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linuxカテゴリ
- AI, Data Science, and Statistics > Statistics and Machine Learning Toolbox > Cluster Analysis and Anomaly Detection > Nearest Neighbors >
Help Center および MATLAB Answers で Nearest Neighbors についてさらに検索
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!