mirror of
https://github.com/davisking/dlib.git
synced 2024-11-01 10:14:53 +08:00
updated docs
This commit is contained in:
parent
54fded51bf
commit
3bba57bcc8
@ -32,6 +32,7 @@ to not work right.
|
||||
</ul>
|
||||
|
||||
</question>
|
||||
<!-- ****************************************** -->
|
||||
|
||||
<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>.
|
||||
@ -51,6 +52,7 @@ row_vect.set_size(5);
|
||||
</code_box>
|
||||
|
||||
</question>
|
||||
<!-- ****************************************** -->
|
||||
|
||||
<question text="Where is the documentation for <object/function>?">
|
||||
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);
|
||||
|
||||
</question>
|
||||
|
||||
<!-- ****************************************** -->
|
||||
|
||||
<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
|
||||
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,
|
||||
</p>
|
||||
</question>
|
||||
|
||||
<!-- ****************************************** -->
|
||||
|
||||
<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 text="Can you give advice on feature generation/kernel selection?">
|
||||
<p>
|
||||
Picking the right kernel all comes down to understanding your data, and obviously this is
|
||||
@ -132,6 +141,8 @@ cross_validate_trainer_threaded(trainer,
|
||||
</p>
|
||||
</question>
|
||||
|
||||
<!-- ****************************************** -->
|
||||
|
||||
<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
|
||||
something highly inappropriate. To understand what's happening lets imagine your
|
||||
@ -158,8 +169,8 @@ cross_validate_trainer_threaded(trainer,
|
||||
|
||||
</question>
|
||||
|
||||
<question text="Which machine learning method should I use?">
|
||||
</question>
|
||||
<!-- ****************************************** -->
|
||||
|
||||
</questions>
|
||||
|
||||
<!-- ************************************************************************* -->
|
||||
|
@ -195,6 +195,10 @@
|
||||
<name>Support_Vector_Machine</name>
|
||||
<link>svm_ex.cpp.html</link>
|
||||
</item>
|
||||
<item>
|
||||
<name>Using_Custom_Kernels</name>
|
||||
<link>using_custom_kernels_ex.cpp.html</link>
|
||||
</item>
|
||||
<item>
|
||||
<name>Support_Vector_Regression</name>
|
||||
<link>svr_ex.cpp.html</link>
|
||||
|
Loading…
Reference in New Issue
Block a user