Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/davisking/dlib
/ operator()
Method
operator()
dlib/svm/function.h:141–147 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
139
{}
140
141
result_type operator() (
142
const sample_type& x
143
) const
144
{
145
result_type f = decision_funct(x);
146
return 1/(1 + std::exp(alpha*f + beta));
147
}
148
};
149
150
template <
Callers
nothing calls this directly
Calls
1
exp
Function · 0.85
Tested by
no test coverage detected