Linear regression is a machine learning algorithm used for predicting a continuous target variable based on one or more predictor variables.