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

Reduction for CrossEntropy is by default "none" and not alterable despite documentation

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

While the documentation states that for CrossEntropy, the reduction used is "mean" (https://pytorch-forecasting.readthedocs.io/en/v1.0.0/api/pytorch_forecasting.metrics.point.CrossEntropy.html), the implementation defaults to "none" (see here).

Is this to be expected? For me, this was unintuitive.

Kind regards

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