Элемент 'k nearest neighbor algorithm'