Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when using gdlCluster() #6

Open
raditha opened this issue Dec 6, 2016 · 0 comments
Open

Error when using gdlCluster() #6

raditha opened this issue Dec 6, 2016 · 0 comments

Comments

@raditha
Copy link

raditha commented Dec 6, 2016

I get this error when using gdlCluster

Error using gacPartial_sort
Rank is out of the range.

Error in gacMink (line 11)
        [sortedDist, NNIndex] = gacPartial_sort(X, k, dim);

Error in gacBuildDigraph_c (line 24)
[sortedDist,NNIndex] = gacMink(distance_matrix,max(K+1,4),2);

Error in gdlCluster (line 38)
    [graphW, NNIndex] = gacBuildDigraph_c(distance_matrix, K, a);

The distance matrix
Columns 1 through 9

     0    0.2963    0.7295    0.6844    0.4773    0.1356    0.0587    0.0943    0.5658
0.2963         0    0.4333    0.3882    0.1811    0.1607    0.2376    0.2019    0.2695
0.7295    0.4333         0    0.0451    0.2522    0.5940    0.6708    0.6352    0.1638
0.6844    0.3882    0.0451         0    0.2071    0.5488    0.6257    0.5901    0.1187
0.4773    0.1811    0.2522    0.2071         0    0.3418    0.4186    0.3830    0.0884
0.1356    0.1607    0.5940    0.5488    0.3418         0    0.0769    0.0413    0.4302
0.0587    0.2376    0.6708    0.6257    0.4186    0.0769         0    0.0356    0.5071
0.0943    0.2019    0.6352    0.5901    0.3830    0.0413    0.0356         0    0.4714
0.5658    0.2695    0.1638    0.1187    0.0884    0.4302    0.5071    0.4714         0
0.3502    0.0540    0.3793    0.3342    0.1271    0.2146    0.2915    0.2559    0.2155

Column 10

0.3502
0.0540
0.3793
0.3342
0.1271
0.2146
0.2915
0.2559
0.2155
     0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant