The connection to maximum likelihood makes this much easier to understand. How do you decide which loss function to use for a real world ML project?
Where do squared error and cross-entropy actually come from?
5 Comments
nik-13
•
The bit where the log cancels the sigmoid's exponential, leaving sigma(z) minus y as the gradient, is the clearest explanation I've seen of why squared error stalls on a confidently wrong classifier. I used to just accept "use cross-entropy for classification" as a rule. Will the softmax part also get into why label smoothing changes that gradient?
Please log in to add a comment.
🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.
Please log in to comment on this post.
More Posts
- © 2026 Coder Legion
- Feedback / Bug
- Privacy
- About Us
- Contacts
- You Tube
- Tiktok
- Premium Subscription
- Terms of Service
- Early Builders
chevron_left
19Posts
72Comments
14Connections
Research Engineer at @Era-Vision.| .NET | Java | Efficient Deep Learning | Complex & Higher-Order Networks | https://husseinmahdi.xyz
More From Hussein Mahdi
Related Jobs
- Spanish Educational Video Scriptwriter / Instructional Content DeveloperIdlewild Co · Full time · Charleston, WV
- Machine Learning Engineer - Ads Ranking, Recommendation & Optimization (New Grad / PhD Welcome)Mintegral · Full time · Washington DC
- Retail Sales Associate Spanish BilingualVerizon · Full time · Germany
Commenters (This Week)
WAQAS AHMAD
9 comments
Oamien
8 comments
sibasispadhi
5 comments
Contribute meaningful comments to climb the leaderboard and earn badges!