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
ea2a5184
Commit
ea2a5184
authored
May 17, 2011
by
Davis King
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleaned up the code a little by pulling the caching logic out into its
own class.
parent
007e218e
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
structural_svm_problem.h
dlib/svm/structural_svm_problem.h
+0
-0
structural_svm_problem_abstract.h
dlib/svm/structural_svm_problem_abstract.h
+6
-5
No files found.
dlib/svm/structural_svm_problem.h
View file @
ea2a5184
This diff is collapsed.
Click to expand it.
dlib/svm/structural_svm_problem_abstract.h
View file @
ea2a5184
...
...
@@ -13,15 +13,15 @@ namespace dlib
// ----------------------------------------------------------------------------------------
template
<
typename
matrix_type
,
typename
feature_vector_type_
=
matrix_type
typename
matrix_type
_
,
typename
feature_vector_type_
=
matrix_type
_
>
class
structural_svm_problem
:
public
oca_problem
<
matrix_type
>
class
structural_svm_problem
:
public
oca_problem
<
matrix_type
_
>
{
public
:
/*!
REQUIREMENTS ON matrix_type
- matrix_type == a dlib::matrix capable of storing column vectors
REQUIREMENTS ON matrix_type
_
- matrix_type
_
== a dlib::matrix capable of storing column vectors
REQUIREMENTS ON feature_vector_type_
- feature_vector_type_ == a dlib::matrix capable of storing column vectors
...
...
@@ -81,6 +81,7 @@ namespace dlib
paper.
!*/
typedef
matrix_type_
matrix_type
;
typedef
typename
matrix_type
::
type
scalar_type
;
typedef
feature_vector_type_
feature_vector_type
;
...
...
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