Nearest neighbor search in two dimension
A baseline method for clusterings.
We are going to use this 2 data from this project:
dc = <number>
for i in range(N):
for j in range(i+1, N):
M[j, i] = M[i, j] = (sum((x[i, :]-x[j, :])**2))**0.5
Now, how it works with lists:
1st step:
2nd step:
etc.
if dc = 5 we have 3 clusters
if dc = 6 we have 2 clusters
if dc = 7 we have 1 cluster
if dc = 1.5 we have 4 clusters
if dc = 2 we have 3 clusters
if dc = 5 we have 2 clusters
You can find another ready projects for analys like QGIS
You can use Python with data package: Anaconda or Miniconda.
There’s another way - use Portable Python. Also you can use whatever IDE for Python.
Free