Viewing a single comment thread. View all comments

Easy_Reference6088 t1_j6ljqlq wrote

Yep, the line is just an estimation of what a dog of that size would probably eat based on the data with the X axis being weight and Y being the predicted food eaten. It would not be perfect because no dog is the same but it would be a pretty good guess with enough data.

2

ObIivious OP t1_j6lkdl7 wrote

Thank you thank you. I can see how this may apply in deep learning so ill continue to do research. The word regression is what confused me initially.

1

Easy_Reference6088 t1_j6llp9u wrote

Regression is a somewhat cryptic name coined by a guy in the late 1800s. Basically it's referring to the fact if you have enough data, it will eventually head back towards the mean. You can probably google it to learn more because I'm not an authority figure lol.

2

Spiritual_Jaguar4685 t1_j6n8kvj wrote

"Regression" is a math word that means "finding a line that best fits the data".

In your example, "Linear Regression", is just one type of regression that assumes the data wants to fit a straight line.

You hear about it a lot in algorithms because they are all about taking points of data, and trying to figure out what the larger scale process that's controlling the data.

Alternatively you might have something like "exponential regression", where the data wants to fit a curve. For example, if you wanted to chart the spread of COVID-19 in the early days of the pandemic, you'd want to use exponential regression. Linear regression would work at first, but once you started projecting out a week or two you'd see that your line stopped matching the actual infection rate suddenly, and then became very wrong, very quickly.

In practice, linear regression is much, much easier to both do and understand, so it's more "popular". Exponential regression usually requires computer analysis and is more confusing to lay-people. That's just why you hear about "linear regression" more commonly.

1