Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/madlib
/ sigma
Function
sigma
src/modules/regress/logistic.cpp:203–205 ·
view source on GitHub ↗
* @brief Logistic function */
Source
from the content-addressed store, hash-verified
201
* @brief Logistic function
202
*/
203
inline double sigma(double x) {
204
return 1. / (1. + std::exp(-x));
205
}
206
207
/**
208
* @brief Perform the logistic-regression transition step
Callers
1
run
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected