Everytime I try to submit my y_prediction.csv file it shows error.
What to do?
Getting error everytime
My graph is going wrong, the errors are not decreasing, even after changing the learning rate
Upload your ipynb file on google drive and than sharing the link here, so that I can debug the code.
The problem was with the in the error function, the line should be this
total_error += (y_ - Y[i])**2
and your code contained total_error += (y_ - Y[i]**2). After this I ran your code and found that it completely worked fine.
Hope this cleared your doubt. 
Yes, it worked after the correction, But on submitting the y_prediction file on Regression Challenge, I am getting error
Your csv file created did not contain any values, the error is because when you load x_test, you directly applied the function and y_test is itself a dataframe object and not a numpy object. So just do this and your code will run fine.
X_test = pd.read_csv(‘Test Cases/Linear_X_Test.csv’)
y_test = hypothesis(X_test, theta)
y_test.columns = [‘y’]
df.to_csv(‘y_prediction.csv’, index=False)
Hope this cleared your doubt. 
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.