In this section, we will be learning about supervised machine-learning algorithms. The algorithms are as follows:
Linear regression
Logistic regression
Linear regression is mainly used for predicting and forecasting values based on historical information. Regression is a supervised machine-learning technique to identify the linear relationship between target variables and explanatory variables. We can say it is used for predicting the target variable values in numeric form.
In the following section, we will be learning about linear regression with R and linear regression with R and Hadoop.
Here, the variables that are going to be predicted are considered as target variables and the variables that are going to help predict the target variables are called explanatory variables. With the linear relationship, we can identify the impact of a change in explanatory variables on the target variable.
In mathematics, regression can be formulated as...