Skip to content

[Documentation] Updated Categorical Focal Crossentropy Loss Docstring #21044

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

samitshah1
Copy link
Contributor

What's the update?

  • Updated example in docstring for Categorical Focal Crossentropy Loss
  • Fixed typos in docstring for Binary Focal Crossentropy Loss

Why was the update required?

  • While reading the documentation for Categorical Focal Crossentropy Loss, the example imo seems to lack clarity on how the resultant loss translates to an increased focus on harder examples, compared to Categorical Crossentropy Loss.

@codecov-commenter
Copy link

codecov-commenter commented Mar 16, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 82.47%. Comparing base (6e688ab) to head (fa89ab0).

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #21044   +/-   ##
=======================================
  Coverage   82.47%   82.47%           
=======================================
  Files         563      563           
  Lines       53834    53834           
  Branches     8359     8359           
=======================================
  Hits        44401    44401           
  Misses       7392     7392           
  Partials     2041     2041           
Flag Coverage Δ
keras 82.29% <ø> (ø)
keras-jax 63.79% <ø> (ø)
keras-numpy 58.75% <ø> (ø)
keras-openvino 32.71% <ø> (ø)
keras-tensorflow 64.11% <ø> (ø)
keras-torch 63.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gbaned gbaned added this to PR Queue Mar 17, 2025
@github-project-automation github-project-automation bot moved this to Assigned Reviewer in PR Queue Mar 17, 2025
@gbaned gbaned requested a review from fchollet March 17, 2025 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Assigned Reviewer
Development

Successfully merging this pull request may close these issues.

None yet

3 participants