Commit 3fb3b86c authored by Davis King's avatar Davis King

updated the docs

--HG--
extra : convert_revision : svn%3Afdd8eb12-d10e-0410-9acb-85c331704f74/trunk%403237
parent 6a63ad16
...@@ -126,6 +126,8 @@ Davis E. King. <a href="http://www.jmlr.org/papers/volume10/king09a/king09a.pdf" ...@@ -126,6 +126,8 @@ Davis E. King. <a href="http://www.jmlr.org/papers/volume10/king09a/king09a.pdf"
<item>cross_validate_trainer</item> <item>cross_validate_trainer</item>
<item>cross_validate_trainer_threaded</item> <item>cross_validate_trainer_threaded</item>
<item>pick_initial_centers</item> <item>pick_initial_centers</item>
<item>rank_features_rbf</item>
<item>verbose_rank_features_rbf</item>
</section> </section>
</top> </top>
...@@ -745,6 +747,47 @@ Davis E. King. <a href="http://www.jmlr.org/papers/volume10/king09a/king09a.pdf" ...@@ -745,6 +747,47 @@ Davis E. King. <a href="http://www.jmlr.org/papers/volume10/king09a/king09a.pdf"
does this by computing the distance between the centroids of both classes in kernel defined does this by computing the distance between the centroids of both classes in kernel defined
feature space. Good features are then ones that result in the biggest separation between feature space. Good features are then ones that result in the biggest separation between
the two centroids. the two centroids.
<p>
Note that there are convenience wrappers for calling this function.
They are the <a href="#rank_features_rbf">rank_features_rbf</a> and
<a href="#verbose_rank_features_rbf">verbose_rank_features_rbf</a> functions.
They automatically create the <a href="#kcentroid">kcentroid</a> required to
use this function and fill out the relevant parameters for you with a reasonable set
of defaults.
</p>
</description>
<examples>
<example>rank_features_ex.cpp.html</example>
</examples>
</component>
<!-- ************************************************************************* -->
<component>
<name>rank_features_rbf</name>
<file>dlib/svm.h</file>
<spec_file link="true">dlib/svm/feature_ranking_abstract.h</spec_file>
<description>
This is just a wrapper for the <a href="#rank_features">rank_features</a> function. It
sets up the ranking to use the <a href="#radial_basis_kernel">radial_basis_kernel</a> and
automatically picks the gamma parameter of this kernel.
</description>
<examples>
<example>rank_features_ex.cpp.html</example>
</examples>
</component>
<!-- ************************************************************************* -->
<component>
<name>verbose_rank_features_rbf</name>
<file>dlib/svm.h</file>
<spec_file link="true">dlib/svm/feature_ranking_abstract.h</spec_file>
<description>
This is just a version of <a href="#rank_features_rbf">rank_features_rbf</a> that is
verbose in the sense that it prints out status messages as it proceeds.
</description> </description>
<examples> <examples>
<example>rank_features_ex.cpp.html</example> <example>rank_features_ex.cpp.html</example>
......
...@@ -138,6 +138,8 @@ ...@@ -138,6 +138,8 @@
<term file="ml.html" name="kkmeans"/> <term file="ml.html" name="kkmeans"/>
<term file="ml.html" name="pick_initial_centers"/> <term file="ml.html" name="pick_initial_centers"/>
<term file="ml.html" name="rank_features"/> <term file="ml.html" name="rank_features"/>
<term file="ml.html" name="rank_features_rbf"/>
<term file="ml.html" name="verbose_rank_features_rbf"/>
<term file="dlib/svm/svm_abstract.h.html" name="maximum_nu"/> <term file="dlib/svm/svm_abstract.h.html" name="maximum_nu"/>
<term file="ml.html" name="null_trainer"/> <term file="ml.html" name="null_trainer"/>
......
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