MCPcopy Create free account
hub / github.com/catboost/catboost / Logistic

Function Logistic

library/cpp/fast_exp/fast_exp.h:7–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5double fast_exp(double x);
6
7inline double Logistic(double x) {
8 return 1 / (1 + fast_exp(-x));
9}
10
11void FastExpInplace(double* x, size_t count);

Callers

nothing calls this directly

Calls 1

fast_expFunction · 0.85

Tested by

no test coverage detected