Login to remove ads!

Join the MathsGee Study Questions & Answers Club and get expert support.
First time here? Checkout the FAQs!
x

*Math Image Search only works best with SINGLE, zoomed in, well cropped images of math. No selfies and diagrams please :)

For Example

Math Image Search 1
Math Image Search 2

Login to remove ads!

Login to remove ads!

0 like 0 dislike
15 views
What is the formula for the cost function of logit?
solved
in Mathematics by Platinum (122,212 points) | 15 views
Login to remove ads!

1 Answer

0 like 0 dislike
Best answer
\(\operatorname{Cost}\left(h_{\theta}\left(x_{i}\right), y_{i}\right)=\left\{\begin{array}{c}-\log \left(h_{\theta}\left(x_{i}\right)\right), \text { if } y_{i}=1 \\ -\log \left(1-h_{\theta}\left(x_{i}\right)\right), \text { if } y_{i}=0\end{array}\right\}\)
by Platinum (122,212 points)
Login to remove ads!

Related questions

0 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Oct 31, 2020 in Data Science & Statistics by MathsGee Platinum (122,212 points) | 122 views
Determine the approximate cost of giving up the cash discount from each supplier. Write out a model for the observed utility of each chocolate bar in the above set.
2 like 0 dislike
1 answer
0 like 0 dislike
1 answer
asked Apr 1 in Mathematics by Pieter Diamond (38,951 points) | 71 views
0 like 0 dislike
1 answer
asked Mar 11, 2019 in Data Science & Statistics by Edzai Zvobwo Bronze Status (9,102 points) | 123 views
Login to remove ads!

Join the MathsGee Study Questions & Answers Club where you get study and financial support for success from our community. LEARN - CONNECT - EARN


On the MathsGee Study Questions & Answers, you can:


1. Ask questions


2. Answer questions


3. Vote on Questions and Answers


4. Tip your favourite community member(s)


5. Create Live Video Tutorials (Paid/Free)


6. Join Live Video Tutorials (Paid/Free)


7. Earn points for participating



Posting on the MathsGee Study Questions & Answers


1. Remember the human


2. Behave like you would in real life


3. Look for the original source of content


4. Search for duplicates before posting


5. Read the community's rules




Q&A RULES


1. Answers to questions will be posted immediately after moderation


2. Questions will be queued for posting immediately after moderation


3. Depending on how many posts we receive, you could be waiting up to 24 hours for your post to appear. But, please be patient as posts will appear after they pass our moderation.


Login to remove ads!