Multiple linear regression

Linear regression is not limited to simple formulas of lines that depend on only one independent variable. Multiple linear regression is similar to what we discussed previously, but here we have multiple independent variables (x1, x2, and so on). In this case, our simple equation of a line is as follows:

Here, the x's are the various independent variables and the m's are the various slopes associated with those independent variables. We also still have an intercept, b.

Multiple linear regression is a little harder to visualize and think about because this is no longer a line that can be visualized in two dimensions. ...

Get Machine Learning With Go now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.