Values of Theta Chosen?

In Linear Regression Video Lecture for Visualizing Loss function, the values of theta are

array([ 0.68364861, 79.87998953])

Later on the chosen range of points to create the numpy array is as

T0=np.arange(-50,50,1)

T1=np.arange(40,120,1)

On what basis is the range for T0 chosen as -50 to 50 if the value of T0 is 0.683…?

Hey @icoder18, these values are chosen randomly. We just need to plot the error curve. So actual value of T0 is 0.68 so we kept its range from -50 to 50, whereas T1 has actual value of 79.87 so we kept range of T1 from 40 to 120. We just intend to plot for some points which are less than these optimal values and some for the points which are greater than this.

Hope this resolved your doubt.
Plz mark the doubt as resolved in my doubts section. :blush:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.