def pairwise_distances_argmin(X, Y, axis=1, metric='euclidean', batch_size=500, metric_kwargs=None):
 if (metric_kwargs is None):
  metric_kwargs = {}
 return pairwise_distances_argmin_min(X, Y, axis, metric, batch_size, metric_kwargs)[0]

def pairwise_distances_argmin ( X , Y , axis = 1 , metric = 'euclidean' , batch_size = 500 , metric_kwargs = None ) : if ( metric_kwargs is None ) : metric_kwargs = { } return pairwise_distances_argmin_min ( X , Y , axis , metric , batch_size , metric_kwargs ) [ 0 ]
compute minimum distances between one point and a set of points .