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.
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 ofY
are converted toone hot encoder
and stored in another variable.