Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
114f677d
Commit
114f677d
authored
Feb 22, 2014
by
Davis King
Browse files
Fixing grammar in comments.
parent
f9d3da11
Changes
41
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
examples/using_custom_kernels_ex.cpp
examples/using_custom_kernels_ex.cpp
+2
-2
No files found.
examples/using_custom_kernels_ex.cpp
View file @
114f677d
...
...
@@ -139,7 +139,7 @@ int main()
typedef
ukf_kernel
<
sample_type
>
kernel_type
;
// Now lets generate some training data
// Now let
'
s generate some training data
std
::
vector
<
sample_type
>
samples
;
std
::
vector
<
double
>
labels
;
for
(
double
r
=
-
20
;
r
<=
20
;
r
+=
0.9
)
...
...
@@ -177,7 +177,7 @@ int main()
trainer
.
use_classification_loss_for_loo_cv
();
// Finally, lets test how good our new kernel is by doing some leave-one-out cross-validation.
// Finally, let
'
s test how good our new kernel is by doing some leave-one-out cross-validation.
cout
<<
"
\n
doing leave-one-out cross-validation"
<<
endl
;
for
(
double
sigma
=
0.01
;
sigma
<=
100
;
sigma
*=
3
)
{
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment