Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/madlib
/ logistic
Function
logistic
src/modules/regress/marginal.cpp:29–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
27
namespace regress {
28
29
inline double logistic(double x) {
30
return 1. / (1. + std::exp(-x));
31
}
32
33
/**
34
* @brief Helper function that computes the final statistics for the marginal variance
Callers
1
run
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected