-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
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
Added categorical_crossentropy loss function #10152
Added categorical_crossentropy loss function #10152
Conversation
Create categorical_cross_entropy.py
for more information, see https://pre-commit.ci
@tianyizheng02 Added CategoricalCrossEntropy in loss_functions |
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
for more information, see https://pre-commit.ci
for more information, see https://pre-commit.ci
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
Sorry, I see the problem: I'll adjust the one-hot encoding check to support multi-row arrays |
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
Co-authored-by: Tianyi Zheng <tianyizheng02@gmail.com>
for more information, see https://pre-commit.ci
@tianyizheng02 Done! Let me know if it needs any other changes |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution and for your fixes!
Describe your change:
Added
categorical_cross_entropy.py
inmachine_learning/loss_functions
Checklist: