Linear Regression

For any Supervised Machine Learning there are two sets, one is the Training Data Set and the other is Testing Data Set

the attributes in the training data set are called as features and passed as input to the model, and the model predicts a value which should be close to the training estimate

Learning Function

Link to original

The function can also be represented as , here and are numbers and are used to predict the number from the input features , is called the parameter weight and is called bias.

LinearRegressionVisual

Link to original

The above is an example for a Linear Regression model, here the blue line represents a linear function that represents our model prediction.

A linear regression where we have a single variable input\feature is also called *Univariate Linear Regression