Commit ebe6d304 authored by Davis King's avatar Davis King

Made spec more clear

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403246
parent 7679e6aa
...@@ -73,16 +73,15 @@ namespace dlib ...@@ -73,16 +73,15 @@ namespace dlib
- num_sv > 0 - num_sv > 0
- is_binary_classification_problem(samples, labels) == true - is_binary_classification_problem(samples, labels) == true
ensures ensures
- This function uses the kcentroid object to attempt to determine what value - This is a function that tries to pick a reasonable default value for the gamma
of the gamma parameter of the radial_basis_kernel gives the largest parameter of the radial_basis_kernel. It picks the parameter that gives the
separation between the two classes in the given training data. largest separation between the centroids, in kernel feature space, of two classes
It also sets the kcentroid up to use num_sv dictionary vectors. of data. It does this using the kcentroid object and it sets the kcentroid up
to use num_sv dictionary vectors.
- This function does a search for the best gamma and the search starts with - This function does a search for the best gamma and the search starts with
the value given by initial_gamma. Better initial guesses will give the value given by initial_gamma. Better initial guesses will give
better results since the routine may get stuck in a local minima. better results since the routine may get stuck in a local minima.
- returns the value of gamma that results in the largest separation - returns the value of gamma that results in the largest separation.
- This function is verbose in the sense that it will print status messages to
standard out during its processing.
!*/ !*/
// ---------------------------------------------------------------------------------------- // ----------------------------------------------------------------------------------------
......
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