Answer:
When you predict the output of a variable based on a set of labeled data, it is called supervised learning. In supervised learning, the algorithm learns from labeled training data, where each example in the training set consists of an input (usually denoted as X) and the corresponding output (usually denoted as Y). The goal is to learn a mapping from inputs to outputs based on the patterns present in the training data.
Step-by-step explanation: