title: Is there a way to transform a distance matrix to a kneihbors graph using NearestNeighbors grom sklearn?
body: <p>I'm trying to transform a distance matrix to a adjacency matrix using the k-nearest neighbors method. I'm trying to use the kneighbors_graph method from sklearn. However, in the documentation it says that for a precomputed distance matrix the array passed to this method should be (n_queries,n_indixed). I'm not sure what it means or how should I transform the distance matrix so that I can use this.</p>