Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ operator()
Method
operator()
dlib/svm/function.h:228–234 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
226
{}
227
228
result_type operator() (
229
const sample_type& x
230
) const
231
{
232
result_type f = decision_funct(x);
233
return 1/(1 + std::exp(alpha*f + beta));
234
}
235
};
236
237
template <
Callers
nothing calls this directly
Calls
1
exp
Function · 0.85
Tested by
no test coverage detected