Loss functions¶ For classification problems, is equal to 1 if the example is a positive and 0 if it is a negative. can take on any value (although predicting outside of the (0,1) interval is unlikely to be useful). Classification¶ Cross-entropy loss¶ Loss function for classification. where c are the classes. equals 1 if example is in class and 0 otherwise. is the predicted probability that
Copyright © 2022 Courseac Inc.