Can anyone tell me why I'm getting different answer. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
- 1

Can anyone tell me why I'm getting different answer.

This is a typical linear regression question I'm trying to solve but I don't know why I'm getting different answer. All results matched until the last code block. This code the first code:(incorrect one) https://code.sololearn.com/cgtas8TF2z1U/# This is second code (correct one) https://code.sololearn.com/c7cNRE4d8ZdE/#py

2nd Aug 2020, 1:09 PM
Abhishek Kumar
Abhishek Kumar - avatar
1 Answer
0
I’ve been looking this over and I would recommend adding comments to your program. It helps to naviagte each section. I don’t have a solution just yet.
2nd Aug 2020, 11:24 PM
Alex Sirris
Alex Sirris - avatar