Add missing TukeyLoss to documentation

Change-Id: I0b0a84c0a21b672f0414eb6b2283bb27e06cd266
This commit is contained in:
MaximSmolskiy
2023-03-03 00:19:51 +03:00
parent 8bf4a2f42c
commit b54f05b8ee
+4
View File
@@ -1068,6 +1068,10 @@ their shape graphically. More details can be found in
.. math:: \rho(s,a,b) = b \log(1 + e^{(s - a) / b}) - b \log(1 + e^{-a / b})
.. class:: TukeyLoss
.. math:: \rho(s) = \begin{cases} \frac{1}{3} (1 - (1 - s)^3) & s \le 1\\ \frac{1}{3} & s > 1 \end{cases}
.. class:: ComposedLoss
Given two loss functions ``f`` and ``g``, implements the loss