Different theta

I have used same dataset and value of learning_rate and still I am getting different theta ,Is it possible to get different theta ??

Hey @Bhawna, optimal values of theta for a problem set will remain same if all preprocessing done are same. Although slight change is acceptable.

If your values differ by the margin, than hopefully the processin done by you is different.

hope this resolved your doubt.
remember to mark it as resolved in my doubts section. :blush:

0.9912044479804869 0.0007855593266291405-Sir’s theta[0] and theta[1] value
0.9912044479804869 0.001350541671063878-Mine theta[0] and theta[1] value
Is this possible?? as my friend has also done but he has got exactly same as Sir

Hey @Bhawna, try to run sir’s code on your system. You could find that on, cb.lk/ml18

Sir ,I didn’t find on, cb.lk/ml18.This is in “Getting Started with Machine Learning”.
which is not present in cb.lk/ml18.may be sir has changed name of folder.

Hey @Bhawna, yes i also searched it there, its not in this repo, share your ipynb after saving it on drive, i will have a look on it if everything is fine or not. :blush:

@S18CRX0120
https://drive.google.com/drive/folders/12rqJ4NtiH04h3HaH-z1JG8daB25Ei6h7?usp=sharing.

Hey @Bhawna, i just tried to plot the curve,

The results are perfectly fine, you need not to worry about anything. Also I plotted the errors curve as well, it is reaching it minima as well.

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

ok…

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.