Linear regression is a statistical method used to model the relationship between a dependent variable and one or more independent variables.
🔹 Simple Linear Regression
Uses one independent variable to predict the dependent variable.
Example: Predicting house price based on square footage.
🔹 Multiple Linear Regression
Uses multiple independent variables to predict the dependent variable.
Example: Predicting house price based on square footage, number of rooms, and location.