REGRESSION
It’s a supervised task used on numeric variables with the objective of minimize the error of the prediction using the other variables for the prediction
LINEAR REGRESSION
given a data set with rows and columns:
- is a dimensional data element response vector with values
- is a -dimensional vector of coefficients that needs to be learned
so the relation between the element and the elements is modeled
so the forecast is given by
QUALITY INDICATORS
- Mean of the observed data
- Sum of squared residuals
- Total sum of squares
- Coefficient of determination
the Coefficient of determination compares the chosen model with that of a horizontal straight line
if the model does not follow the trend of the data the value can be also negative
when the number of feature is high overfitting is possible
POLYNOMIAL REGRESSION
the target is influenced by a single feature and the relationship can’t be describe by a straight line