pytorch-forecasting icon indicating copy to clipboard operation
pytorch-forecasting copied to clipboard

[ENH] Allow weight for Loss

Open M-Colley opened this issue 8 months ago • 0 comments

Internally, for example CrossEntropy uses F.cross_entropy. This allows to weight the loss (see also here).

A feature request would be to expose this also in pytorch-forecasting as this is quiet often needed IMO.

Kind regards

M-Colley avatar May 29 '24 11:05 M-Colley