How can I proof that this function:
$f(x, y) = - y \log(x) - (1 - y) \log(1 - x)$
is the same as this function:
$g(x, y) = - \log(y x + (1 - y) (1 - x))$
being $y = \{0,1\}$ ?
(explanation step by step is needed)
How can I proof that this function:
$f(x, y) = - y \log(x) - (1 - y) \log(1 - x)$
is the same as this function:
$g(x, y) = - \log(y x + (1 - y) (1 - x))$
being $y = \{0,1\}$ ?
(explanation step by step is needed)
You can just try $y=0,1$:
$y=0:$ $$f=-\log(1-x)$$ $$g=-\log(1-x)$$
$y=1:$ $$f=-\log(x)$$ $$g=-\log(x)$$