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
31765e6b
Commit
31765e6b
authored
Apr 12, 2013
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added documentation for the other overload of is_graph_labeling_problem().
parent
30caa801
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
structural_svm_graph_labeling_problem_abstract.h
dlib/svm/structural_svm_graph_labeling_problem_abstract.h
+14
-0
No files found.
dlib/svm/structural_svm_graph_labeling_problem_abstract.h
View file @
31765e6b
...
@@ -55,6 +55,20 @@ namespace dlib
...
@@ -55,6 +55,20 @@ namespace dlib
- All vectors have non-zero size. That is, they have more than 0 dimensions.
- All vectors have non-zero size. That is, they have more than 0 dimensions.
!*/
!*/
template
<
typename
graph_type
>
bool
is_graph_labeling_problem
(
const
dlib
::
array
<
graph_type
>&
samples
,
const
std
::
vector
<
std
::
vector
<
bool
>
>&
labels
,
std
::
string
&
reason_for_failure
);
/*!
This function is identical to the above version of is_graph_labeling_problem()
except that if it returns false it will populate reason_for_failure with a message
describing why the graph is not a valid learning problem.
!*/
// ----------------------------------------------------------------------------------------
// ----------------------------------------------------------------------------------------
template
<
template
<
...
...
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