Learning Nearest Neighbor Graphs from Noisy Distance Samples