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

updated docs

parent 54fded51
...@@ -32,6 +32,7 @@ to not work right. ...@@ -32,6 +32,7 @@ to not work right.
</ul> </ul>
</question> </question>
<!-- ****************************************** -->
<question text="How do I set the size of a matrix at runtime?"> <question text="How do I set the size of a matrix at runtime?">
Long answer, read the <a href="matrix_ex.cpp.html">matrix example program</a>. Long answer, read the <a href="matrix_ex.cpp.html">matrix example program</a>.
...@@ -51,6 +52,7 @@ row_vect.set_size(5); ...@@ -51,6 +52,7 @@ row_vect.set_size(5);
</code_box> </code_box>
</question> </question>
<!-- ****************************************** -->
<question text="Where is the documentation for &lt;object/function&gt;?"> <question text="Where is the documentation for &lt;object/function&gt;?">
If you can't find something then check the <a href="term_index.html">index</a>. If you can't find something then check the <a href="term_index.html">index</a>.
...@@ -79,6 +81,8 @@ row_vect.set_size(5); ...@@ -79,6 +81,8 @@ row_vect.set_size(5);
</question> </question>
<!-- ****************************************** -->
<question text="Why is cross_validate_trainer_threaded() crashing?"> <question text="Why is cross_validate_trainer_threaded() crashing?">
This function makes a copy of your training data for each thread. So you are probably running out This function makes a copy of your training data for each thread. So you are probably running out
of memory. To avoid this, use the <a href="algorithms.html#randomly_subsample">randomly_subsample</a> function of memory. To avoid this, use the <a href="algorithms.html#randomly_subsample">randomly_subsample</a> function
...@@ -96,9 +100,14 @@ cross_validate_trainer_threaded(trainer, ...@@ -96,9 +100,14 @@ cross_validate_trainer_threaded(trainer,
</p> </p>
</question> </question>
<!-- ****************************************** -->
<question text="How can I define a custom kernel?"> <question text="How can I define a custom kernel?">
See the <a href="using_custom_kernels_ex.cpp.html">Using Custom Kernels</a> example program.
</question> </question>
<!-- ****************************************** -->
<question text="Can you give advice on feature generation/kernel selection?"> <question text="Can you give advice on feature generation/kernel selection?">
<p> <p>
Picking the right kernel all comes down to understanding your data, and obviously this is Picking the right kernel all comes down to understanding your data, and obviously this is
...@@ -132,6 +141,8 @@ cross_validate_trainer_threaded(trainer, ...@@ -132,6 +141,8 @@ cross_validate_trainer_threaded(trainer,
</p> </p>
</question> </question>
<!-- ****************************************** -->
<question text="Why does my decision_function always give the same output?"> <question text="Why does my decision_function always give the same output?">
This happens when you use the radial_basis_kernel and you set the gamma value to This happens when you use the radial_basis_kernel and you set the gamma value to
something highly inappropriate. To understand what's happening lets imagine your something highly inappropriate. To understand what's happening lets imagine your
...@@ -158,8 +169,8 @@ cross_validate_trainer_threaded(trainer, ...@@ -158,8 +169,8 @@ cross_validate_trainer_threaded(trainer,
</question> </question>
<question text="Which machine learning method should I use?"> <!-- ****************************************** -->
</question>
</questions> </questions>
<!-- ************************************************************************* --> <!-- ************************************************************************* -->
......
...@@ -195,6 +195,10 @@ ...@@ -195,6 +195,10 @@
<name>Support_Vector_Machine</name> <name>Support_Vector_Machine</name>
<link>svm_ex.cpp.html</link> <link>svm_ex.cpp.html</link>
</item> </item>
<item>
<name>Using_Custom_Kernels</name>
<link>using_custom_kernels_ex.cpp.html</link>
</item>
<item> <item>
<name>Support_Vector_Regression</name> <name>Support_Vector_Regression</name>
<link>svr_ex.cpp.html</link> <link>svr_ex.cpp.html</link>
......
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