In Reggie’s Linear Regression I get different results depending on the use of the m’s and b’s. It makes a different which of the following list comprehensions I use:
possible_ms = [(i/10) for i in range(-100, 100)]
possible_bs = [i /10 for i in range(-200, 200)]
possible_ms = [i*0.1 for i in range(-100, 100)]
possible_bs = [i*0.1 for i in range(-200, 200)]
The differences are quite small (second, “right” version is m=0.3 and b=1.7, first version is m=0.4 and b=1.6). Anyway, can someone explain why the results are different please??