Commit 803df6fd authored by Davis King's avatar Davis King

Made comment a little less confusing.

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403266
parent ce814ad6
......@@ -195,11 +195,11 @@ namespace dlib
the class +1
!*/
{
// Evaluate the normal SVM decision function
// Evaluate the normal decision function
scalar_type f = decision_funct(x);
// Now basically normalize the output so that it is a properly
// conditioned probability of x being in the +1 class given
// the output of the SVM.
// the output of the decision function.
return 1/(1 + std::exp(alpha*f + beta));
}
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment