Why we did not derivates for square power of loss function of linear regression of multiple features

derivation of loss function :
(y - hQ(x))^2
= 2(y - hQ(x)) * x

where is the 2 in loss function for all example
i can’t understand that.

Hello @abhishek007,

Which examples are you talking about?

hey @abhishek007 ,
I guess it is just a scalar value , it would ave just an effect on values updation. You can try it and see how your model learning changes , whether it converges faster or later , scores better or not.

I hope this helped.

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.