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
31765e6b
Commit
31765e6b
authored
Apr 12, 2013
by
Davis King
Browse files
Added documentation for the other overload of is_graph_labeling_problem().
parent
30caa801
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
dlib/svm/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
- 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
<
...
...
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