Add logistic/logit-family functions.
authorTaylor R Campbell <campbell@mumble.net>
Sun, 21 Oct 2018 07:15:32 +0000 (07:15 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Sun, 21 Oct 2018 07:15:32 +0000 (07:15 +0000)
commit8decee26f13f3ef09abef2662d2c92b87aeef04c
tree2b4138b4fd15dafe3f2345b37a07cca56635615d
parenteb9cd33fe73c202a449d1154c816465a98cecea3
Add logistic/logit-family functions.

Inverse pairs:

(logistic x) = 1/(1 + e^{-x})
(logit p) = log p/(1 - p)

(log-logistic x) = log 1/(1 + e^{-x})
(logit-exp t) = log e^t/(1 - e^t)
src/runtime/arith.scm
src/runtime/runtime.pkg
tests/runtime/test-arith.scm