X-Boost  2.3.8
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
IndirectBinaryClassifier< Policy > Struct Template Reference

A classifier composed by an index of a feature and an Evaluation Policy. More...

#include <IndirectBinaryClassifier.h>

Inherits Policy.

Public Types

typedef Policy::ReturnType ReturnType
 
typedef
IndirectBinaryClassifier
< Policy > 
OptimizedType
 no more optimization
 

Public Member Functions

template<class DataType >
int operator() (const DataType *features, long stride) const
 

Static Public Member Functions

static std::string signature ()
 

Public Attributes

int feature_index
 the index of the feature used during the classification stage
 

Static Public Attributes

static const ClassifierType Type = Policy::Type
 BinaryClassifier inherits type from Policy.
 

Detailed Description

template<class Policy>
struct IndirectBinaryClassifier< Policy >

A classifier composed by an index of a feature and an Evaluation Policy.

Member Function Documentation

template<class Policy>
template<class DataType >
int IndirectBinaryClassifier< Policy >::operator() ( const DataType *  features,
long  stride 
) const
inline

Classify using a Decision Stump on features response

Parameters
featuresa list of features extracted
stridethe shift between two consecutive features

The documentation for this struct was generated from the following file: