Blogs/Multiple Linear Regression

# Multiple Linear Regression

peter.washington Sep 23 2021 1 min read 51 viewsStanford applied ML PhD

FundamentalsBlogs/Multiple Linear Regression

Stanford applied ML PhD

FundamentalsMachine learning models are not required to only have one input variable. For example, let’s say we want to predict the population-based on multiple input variables, such as the mean yearly temperature (x1), the proportion of vaccinated individuals (x2), and the time since the point at which the population started being recorded (x3). We could model this with a simple linear equation with multiple inputs:

y= m1x1+m2x2+m3x3+b

More generally, a multiple linear regression has the following form:

y= m1x1+m2x2+…+ mNxN+b

Just like with nonlinear regression, we proceed with gradient descent as we did before. This time, the parameters of the model, which are trained by gradient descent process, are m1 through mN as well as b.

**Learn and practice this concept here: **

https://mlpro.io/problems/multiple-linear-regression/