made examples slightly clearer

This commit is contained in:
Davis King 2013-01-17 19:18:35 -05:00
parent d19048000c
commit 91e8594b23
2 changed files with 4 additions and 4 deletions

View File

@ -143,7 +143,7 @@ int main()
// print out the number of relevance vectors in the resulting decision function
cout << "\nnumber of relevance vectors in our learned_function is "
<< learned_function.function.basis_vectors.nr() << endl;
<< learned_function.function.basis_vectors.size() << endl;
// now lets try this decision_function on some samples we haven't seen before
sample_type sample;
@ -179,7 +179,7 @@ int main()
// print out the number of relevance vectors in the resulting decision function.
// (it should be the same as in the one above)
cout << "\nnumber of relevance vectors in our learned_pfunct is "
<< learned_pfunct.function.decision_funct.basis_vectors.nr() << endl;
<< learned_pfunct.function.decision_funct.basis_vectors.size() << endl;
sample(0) = 3.123;
sample(1) = 2;

View File

@ -144,7 +144,7 @@ int main()
// print out the number of support vectors in the resulting decision function
cout << "\nnumber of support vectors in our learned_function is "
<< learned_function.function.basis_vectors.nr() << endl;
<< learned_function.function.basis_vectors.size() << endl;
// now lets try this decision_function on some samples we haven't seen before
sample_type sample;
@ -180,7 +180,7 @@ int main()
// print out the number of support vectors in the resulting decision function.
// (it should be the same as in the one above)
cout << "\nnumber of support vectors in our learned_pfunct is "
<< learned_pfunct.function.decision_funct.basis_vectors.nr() << endl;
<< learned_pfunct.function.decision_funct.basis_vectors.size() << endl;
sample(0) = 3.123;
sample(1) = 2;