Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dlib
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
钟尚武
dlib
Commits
a88a00d1
Commit
a88a00d1
authored
Dec 17, 2017
by
Davis King
Browse files
Options
Browse Files
Download
Plain Diff
Merged
parents
233a2393
ba83f524
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
2 deletions
+1
-2
upper_bound_function.h
dlib/global_optimization/upper_bound_function.h
+0
-2
upper_bound_function_abstract.h
dlib/global_optimization/upper_bound_function_abstract.h
+1
-0
No files found.
dlib/global_optimization/upper_bound_function.h
View file @
a88a00d1
...
...
@@ -140,8 +140,6 @@ namespace dlib
{
const
long
dims
=
points
[
0
].
x
.
size
();
using
sample_type
=
std
::
vector
<
std
::
pair
<
size_t
,
double
>>
;
using
sample_type
=
std
::
vector
<
std
::
pair
<
size_t
,
double
>>
;
using
kernel_type
=
sparse_linear_kernel
<
sample_type
>
;
std
::
vector
<
sample_type
>
x
;
...
...
dlib/global_optimization/upper_bound_function_abstract.h
View file @
a88a00d1
...
...
@@ -54,6 +54,7 @@ namespace dlib
double local_bound = p.y + sqrt(noise_terms[i] + trans(p.x-x)*M*(p.x-x))
min_ub = min(min_ub, local_bound)
}
return min_ub;
}
Where POINTS is an array of function_evaluation instances drawn from F(x),
M is a diagonal matrix, and noise_terms is an array of scalars.
...
...
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