Skip to content
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 SparseCategoricalCrossEntropy Loss Function #40

Closed

Conversation

quadri-haider-ali
Copy link

@quadri-haider-ali quadri-haider-ali commented Oct 6, 2020

Added Sparse Categorical Cross Entropy Loss Function
Fixes #9

This pull request adds SparseCategoricalCrossEntropy Loss function in MLlib/loss_func.py

# Personal Comments about the code
Input Y taken in taken in form of list of integers ranging from 0 to n-1 where n is the total number of classes in which classification is to be done. This list of values of Y are converted to one hot encoder and stored in another variable.

@quadri-haider-ali quadri-haider-ali deleted the edit_branch branch October 22, 2020 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add more loss functions like cross-entropy...
1 participant