문제

I am coding a logistic function where the function reads: Now to calculate the % chance of an event happening I have been using:

 e^x/1+e^x

now my answer changes significantly depending on if I use:

e^x/1+e^x or e^x/(1+(e^x))

which of these two is correct ?

thanks Hyflex

도움이 되었습니까?

해결책

Precedence question. The correct, unambiguous answer is,

(e^x)/(1+(e^x))
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top