I can see parenthesis is not closed for below statement in your code
L=(len(x)/2*np.log(2*np.pi)+len(x)/2*np.log(sigma**2)+1/(2*sigma**2)*sum((y-y_exp**2)))
Hope this is enough...
I can see parenthesis is not closed for below statement in your code
L=(len(x)/2*np.log(2*np.pi)+len(x)/2*np.log(sigma**2)+1/(2*sigma**2)*sum((y-y_exp**2)))
Hope this is enough...
I can see parenthesis is not closed for below statement in your code
L=(len(x)/2*np.log(2*np.pi)+len(x)/2*np.log(sigma**2)+1/(2*sigma**2)*sum((y-y_exp**2)))Hope this is enough...