Linear Regression Housing Model and formulation

Where does this formula come from?

I don’t understand how we get from the data set and algorithm to the final equation.

That is one form of the equation for a straight line.

w is the slope.
b is the y-intercept.

Hi @Maria_J_Thorpe that’s a great question!!

The formula you see is a linear equation, in which we evaluate the slop of the line and the intercept, this is done by giving coordinates to x and y features


Check this picture, it might help you to gain some intuition about the topic!

I hope this helps!

I there a way to print my topic/question with responses? Right mouse click print gives the topics list on the left and a partial view of the topic with response - it cuts it off at the “page width”. Thank you for your assistance.

Not that i know of.