
Figure 1 illustrates Linear Regression, a model where a straight line is fitted to data points for predicting continuous outcomes. An example is forecasting house prices based on size. Figure 2 depicts Logistic Regression, a classification model that categorizes data into two groups, often using a sigmoid curve. An example is identifying emails as spam or not spam.