flopscope.

flopscope.stats.logistic

flopscope.stats.logistic

Logistic continuous random variable.

This object mirrors scipy.stats.logistic.

Notes

loc is the center of the distribution and scale controls the spread. The CDF is the sigmoid function and the PPF is the logit function. Per-method FLOP costs (weight 1.0): pdf deducts 23 * numel(input) (composite: z(2)+exp(-z)(17)+(1+ez)(1)+sq(1)+ scale*(1)+div(1), FMA=2), cdf deducts 21 * numel(input) (composite: z(2)+exp(-z)(17)+1+ez(1)+1/denom(1), FMA=2), ppf deducts 28 * numel(input) (composite: 1-q(1)+q/(1-q)(1)+log(16)+ loc+scale*(2)+3 where(8), FMA=2).