Supervised learning: The computer is presented with example inputs as well as their ideal outputs, provided by a "teacher", and the purpose is to discover a common rule that maps inputs to outputs.Similarity learning is a region of supervised machine learning closely associated with regression and classification, but the purpose is to understand fr