Im using Multi variate linear regreesion for predting output but i don’t know why but this approach isnt workin …
Can anyone explain this?
here is my code > https://ide.codingblocks.com/s/578455
Air Polution Regression Problem
isn’t working , are you facing any problem /error ? can you please be more brief.
What is wrong with my code?
My analogy >
Training data seems like linear so I’m trying to put best line on every feature to obtain theta so that every next time I can predict y for any value of x(feature)
…
I writed this code to To get theta i wrote this code and i am getting the same(theta) But when I process theta with the given features in the training data, the output it gives me is different from the given target value.
…
hey buddy,
thats absolutely correct , you won’t get the same value.
Linear regression tries to lower the difference , it will always be a a non-zero value of loss. So , as close as possible you can reach , its more good.
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.