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
42a6ee6f
Commit
42a6ee6f
authored
Apr 30, 2012
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor cleanup
parent
feb1ae5e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
structural_svm_graph_labeling_problem.h
dlib/svm/structural_svm_graph_labeling_problem.h
+6
-4
No files found.
dlib/svm/structural_svm_graph_labeling_problem.h
View file @
42a6ee6f
...
...
@@ -158,13 +158,15 @@ namespace dlib
}
}
long
get_num_
nonnegative_dimension
s
(
long
get_num_
edge_weight
s
(
)
const
/*!
ensures
- returns the number of dimensions of the solution vector which
are required to be non-negative. This is equal to the number of
dimensions for a feature vector on a graph edge.
- returns the dimensionality of the edge weight vector. It is also
important to know that when using the oca solver with this object,
you must set it to generate non-negative weights for the edge weight
part of the total weight vector. You can do this by passing get_num_edge_weights()
to the third argument to oca::operator().
!*/
{
return
edge_dims
;
...
...
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