
From DALL-E with some prompting
Linear Regression:
Yields a continuous output.
Relates independent variable X with dependent variable Y through a linear relationship.
Uses Mean Squared Error (MSE) as a performance metric.
Can be extended to Multi-linear Regression for multiple independent variables.
Linear & Logistic Regression
- The process begins with data input, as indicated by “from Data.”
- Machine learning algorithms then process this data.
- The outcome of this process branches into two types of regression, as indicated by “get Functions.”
Logistics Regression:
Used for classification tasks, distinguishing between two or more categories.
Outputs a probability percentage (between 0 or 1) indicating the likelihood of belonging to a particular class.
Performance is evaluated using Log Loss or Binary Cross-Entropy metrics.
Can be generalized to Softmax/Multinomial Logistic Regression for multi-class classification problems.
The image also graphically differentiates the two types of regression. Linear Regression is represented with a scatter plot and a trend line indicating the predictive linear equation. Logistic Regression is shown with a sigmoid function curve that distinguishes between two classes, highlighting the model’s ability to classify data points based on the probability threshold.
