MOD use safe_asarray instead of np.asarray
MISC update my mailmap
MOD address @mblondel's comments
MOD move generating matrix out of the loop
Merge pull request #1563 from kuantkid/sparse_knn_graph

KNN graph fails for sparse inputs