Skip to content
RED SAG Skills
easyStudy question · answer published in PyTorch interview questions, so no pointsdeep-learningloss-functionspytorch

Up-weighting a rare class

In a 3-class problem, class 2 is rare. How can you make its errors count more in nn.CrossEntropyLoss?

Choose one answer

Discussion 0

Join free to post in the discussion.

Related questions