DeepLearning.AI
Why isn't the actual loss function for logistic regression not put in place of cost function while implementing gradient descent? Shouldn't the cost function containing the log function be partially differentiated?
Course Q&A
Machine Learning Specialization
Supervised ML: Regression and Classification
week-module-3
rmwkwok
October 10, 2022, 7:41am
6
Yes, they happen to look the same. You may derive it yourself, or you may read
this post
.
1 Like
show post in topic
Related topics
Topic
Replies
Views
Activity
Why logistic regression is not used to calculate gradient descent
Supervised ML: Regression and Classification
week-module-3
8
362
May 8, 2024
Why the derivative of the cost functions used in gradient descent is the same for linear and logistic regression, while the costs function that are derived originally different?
Supervised ML: Regression and Classification
week-module-3
2
42
November 17, 2024
What's the usage of J(w,b) for logistic regression?
Supervised ML: Regression and Classification
week-module-3
18
770
June 9, 2024
Need Help to understand logistic regression concept cost function
Supervised ML: Regression and Classification
week-module-3
4
60
October 4, 2025
Derivative of "Simplified Cost Function"
Supervised ML: Regression and Classification
week-module-3
1
595
March 19, 2023