MCPcopy Create free account
hub / github.com/apache/madlib / sigma

Function sigma

src/modules/regress/clustered_errors.cpp:340–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338// ------------------------------------------------------------------------
339
340inline double sigma(double x) {
341 return 1. / (1. + std::exp(-x));
342}
343
344void __logistic_trans_compute (MutableClusteredState& state,
345 const MappedColumnVector& x, const double& y)

Callers 1

__logistic_trans_computeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected