Commit 92dfa3ee authored by Andrei-Claudiu Roibu's avatar Andrei-Claudiu Roibu 🖥
Browse files

debrecated several losses which are useful for classification, but not regression

parent bb82900a
......@@ -77,6 +77,9 @@ class MSELoss(_WeightedLoss):
return self.loss(X, y)
# DEPRECATED LOSSES
# NOTE: THESE LOSSES ARE USUALLY USED FOR CLASSIFICATION TASKS.
# THIS IS NOT A CLASSIFICATION TASK. THUS, THESE ARE IGNORED FOR NOW!
class CrossEntropyLoss(_WeightedLoss):
"""Cross Entropy Loss
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment