Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
otb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Youssefi
otb
Commits
9552b74c
Commit
9552b74c
authored
16 years ago
by
OTB Bot
Browse files
Options
Downloads
Patches
Plain Diff
*Correction VS7.1 acces a T1::T2::T3
parent
d842994d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Code/Learning/otbSVMSampleListModelEstimator.h
+3
-3
3 additions, 3 deletions
Code/Learning/otbSVMSampleListModelEstimator.h
Code/Learning/otbSVMSampleListModelEstimator.txx
+3
-3
3 additions, 3 deletions
Code/Learning/otbSVMSampleListModelEstimator.txx
with
6 additions
and
6 deletions
Code/Learning/otbSVMSampleListModelEstimator.h
+
3
−
3
View file @
9552b74c
...
@@ -50,13 +50,13 @@ namespace otb
...
@@ -50,13 +50,13 @@ namespace otb
template
<
class
TInputSampleList
,
template
<
class
TInputSampleList
,
class
TTrainingSampleList
>
class
TTrainingSampleList
>
class
ITK_EXPORT
SVMSampleListModelEstimator
:
class
ITK_EXPORT
SVMSampleListModelEstimator
:
public
SVMModelEstimator
<
typename
TInputSampleList
::
ValueType
::
Value
Type
,
typename
TTrainingSampleList
::
ValueType
::
Value
Type
>
public
SVMModelEstimator
<
typename
TInputSampleList
::
Measurement
Type
,
typename
TTrainingSampleList
::
Measurement
Type
>
{
{
public:
public:
/** Standard class typedefs. */
/** Standard class typedefs. */
typedef
SVMSampleListModelEstimator
Self
;
typedef
SVMSampleListModelEstimator
Self
;
typedef
SVMModelEstimator
<
typename
TInputSampleList
::
ValueType
::
Value
Type
,
typedef
SVMModelEstimator
<
typename
TInputSampleList
::
Measurement
Type
,
typename
TTrainingSampleList
::
ValueType
::
Value
Type
>
typename
TTrainingSampleList
::
Measurement
Type
>
Superclass
;
Superclass
;
typedef
itk
::
SmartPointer
<
Self
>
Pointer
;
typedef
itk
::
SmartPointer
<
Self
>
Pointer
;
...
...
This diff is collapsed.
Click to expand it.
Code/Learning/otbSVMSampleListModelEstimator.txx
+
3
−
3
View file @
9552b74c
...
@@ -28,8 +28,8 @@ namespace otb
...
@@ -28,8 +28,8 @@ namespace otb
template<class TInputSampleList,
template<class TInputSampleList,
class TTrainingSampleList>
class TTrainingSampleList>
SVMSampleListModelEstimator<TInputSampleList, TTrainingSampleList>
SVMSampleListModelEstimator<TInputSampleList, TTrainingSampleList>
::SVMSampleListModelEstimator(void): SVMModelEstimator<ITK_TYPENAME TInputSampleList::
ValueType::Value
Type,
::SVMSampleListModelEstimator(void): SVMModelEstimator<ITK_TYPENAME TInputSampleList::
Measurement
Type,
ITK_TYPENAME TTrainingSampleList::
ValueType::Value
Type>()
ITK_TYPENAME TTrainingSampleList::
Measurement
Type>()
{
{
...
@@ -118,7 +118,7 @@ SVMSampleListModelEstimator<TInputSampleList, TTrainingSampleList>
...
@@ -118,7 +118,7 @@ SVMSampleListModelEstimator<TInputSampleList, TTrainingSampleList>
// If label != 0
// If label != 0
typename TTrainingSampleList::
ValueType::Value
Type label =
typename TTrainingSampleList::
Measurement
Type label =
trIt.GetMeasurementVector()[0];
trIt.GetMeasurementVector()[0];
this->m_Labels.push_back(label);
this->m_Labels.push_back(label);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment