Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question: I'm checking my work here. Have I calculated these derivatives correctly in relation to the log-likelihood function below or do I need to do
Question: I'm checking my work here. Have I calculated these derivatives correctly in relation to the log-likelihood function below or do I need to do partial derivative with respect to j?
Log-likelihood function:
l()=i=1mlog(1+exp(Txi))+(yi1)Txi
The goal is to show the mathematical derivation of the gradient for the cost function l().
=i=1m(log(1+exp(Txi)))+(yi1)Txi
=i=1m1+exp(thetaTxi)xiexp(Txi)+yixixi
i=1mxi(yi1(1+exp(Txi)1))
Or should the final expression be:
i=1mxi,j(yi1(1+exp(Txi)1))
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started