how to use fromiter and ndnumerate together
how to use fromiter and ndnumerate together Question: I’m currently trying to manually implement a function to represent the KNN graph of a set of points as an incidence matrix, and my idea was to take the rows of an affinity matrix(n x n matrix representing the distance between the n points), enumerate and sort …