Logistic function
Such that:
where, for both:
top=0.5; bottom=-10.5
left=-1; right=2
---
y=\ln{x}
y=\ln{(1-x)}
y=-\ln{2}
top=0.5; bottom=-2.5
left=-0.5; right=1.5
---
y=x\ln(x)
y = (1-x)\ln(1-x)
y=(1-x)\ln(x)
y=x\ln(1-x)
def l(x):
return np.log(x)
def l2(x):
return np.log(1-x)