https://code.hackerearth.com/867549s?key=92a79ee6bf05bb47b702bd4d0d2c7f4d
this is the code and I was practicing a random problem on linear regression.
The code is almost exactly the same as told in the lecture and, I just used differnt csv files with different data. I’m getting error elements in increasing order instead of being in decreasing gradually. Also, sometimes it shows an error of “invalid value encountered in double_scalars” . I tried a lot to search on web for these issues but failed. So, please help me out.