I have the equation for a sigmoid with the following
$$y = \frac{1}{1+e^{-x}}$$
How do I find what the value of $x$ is if I know $y$?
For example:
if $y = 0.5$ then what is $x$?
(The answer for the example, I believe, is $0$)
Edit: If you are please going to downvote, please explain why, otherwise I cannot improve my questions in the future
All you need to do is solve for $x$: $$y=\frac{1}{1+e^{-x}}$$ $$\frac{1}{y}=1+e^{-x}$$ $$\frac{1}{y}-1=e^{-x}$$ $$\ln\bigg(\frac{1}{y}-1\bigg)=-x$$ $$x=-\ln\bigg(\frac{1}{y}-1\bigg)$$ As for the case $y=0.5$, we have $$x=-\ln\bigg(\frac{1}{0.5}-1\bigg)$$ $$x=-\ln(2-1)$$ $$x=-\ln(1)$$ $$x=0$$ So your guess was correct.