I am new to data science and my math skills are really rusty. I am try to understand linear regression, but unfortunately there is one thing that is not clear to me. Assuming I have these data (or these values x and y):
{(0,1),(1,3),(2,6),(4,8)}. If this is the formula for the hypothesis:
Y = Β0 + Β1X
Then how do I generate the values B0 and B1? I see many examples using this set of values for B0 and B1:
B0 | B1
1.5 | 0
0 | 1.5
1 | 0.5
But none of them explains how they came to that conclusion. Could someone help me understand how the hypothesis function works? I appreciate any help you can provide
