Feature selection algorithm based on nearest-neighbor mutual information