Determining spectroscopic redshifts by using k nearest neighbor regression - I. Description of method and analysisS. D. Kügler, K. Polsterer and M. HoeckerA&A, 576 (2015) A132DOI: https://doi.org/10.1051/0004-6361/201424801