Log10¶
- class torch_uncertainty.metrics.regression.Log10(**kwargs)[source]¶
The Log10 metric.
\[\text{Log10} = \frac{1}{N} \sum_{i=1}^{N} |\log_{10}(y_i) - \log_{10}(\hat{y_i})|\]- where \(N\) is the batch size, \(y_i\) is a tensor of target
values and \(\hat{y_i}\) is a tensor of prediction.
- Inputs:
preds
: \((N)\)target
: \((N)\)
- Parameters:
kwargs – Additional keyword arguments, see Advanced metric settings.