Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apache/madlib
/ sigma
Function
sigma
examples/hello_world/iterative/simple_logistic.cpp:221–223 ·
view source on GitHub ↗
* @brief Logistic function */
Source
from the content-addressed store, hash-verified
219
* @brief Logistic function
220
*/
221
inline double sigma(double x) {
222
return 1. / (1. + std::exp(-x));
223
}
224
225
/**
226
* @brief Perform the logistic-regression transition step
Callers
1
run
Method · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected