Answered step by step
Verified Expert Solution
Link Copied!

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Basic Analysis IV Measure Theory And Integration

Authors: James K Peterson

1st Edition

1351679244, 9781351679244

More Books

Students also viewed these Mathematics questions

Question

List noteworthy changes that were implemented in DSM-5.

Answered: 1 week ago