Similar Items: Machine learning: theory and practice