Python Forum
Doubt in Linear Reg by 'MLE' method
Thread Rating:
  • 1 Vote(s) - 1 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Doubt in Linear Reg by 'MLE' method
#2
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...
Reply


Messages In This Thread
Doubt in Linear Reg by 'MLE' method - by kumarants - May-08-2020, 09:34 AM
RE: Doubt in Linear Reg by 'MLE' method - by nnk - May-08-2020, 12:19 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Doubt in Linear Reg - "random_state" kumarants 1 1,801 May-05-2020, 06:42 PM
Last Post: buran
  Linear regression doubt - Urgent kumarants 6 3,319 May-05-2020, 04:11 PM
Last Post: kumarants
  How to build linear regression by implementing Gradient Descent using only linear alg PythonSpeaker 1 2,290 Dec-01-2019, 05:35 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020