supervised learning is a type of machine learning where an algorithm learns from labeled training data, and makes predictions based on that data. a supervised learning algorithm analyzes the training data and produces an inferred function, which is used for mapping new examples. common examples of supervised learning include regression and classification tasks.