Pattern recognition in metric spacesстатья