shark::QpMcBoxDecomp< Matrix >::Example Struct Reference

data structure describing one training example More...

#include <shark/Algorithms/QP/QpMcBoxDecomp.h>

Public Attributes

std::size_t index
 example index in the dataset, not the example vector! More...
 
unsigned int y
 label of this example More...
 
unsigned int active
 number of active m_numVariables More...
 
std::size_t * var
 list of all m_cardP m_numVariables, in order of the p-index More...
 
std::size_t * avar
 list of active m_numVariables More...
 

Detailed Description

template<class Matrix>
struct shark::QpMcBoxDecomp< Matrix >::Example

data structure describing one training example

Definition at line 570 of file QpMcBoxDecomp.h.

Member Data Documentation

§ active

template<class Matrix>
unsigned int shark::QpMcBoxDecomp< Matrix >::Example::active

§ avar

template<class Matrix>
std::size_t* shark::QpMcBoxDecomp< Matrix >::Example::avar

§ index

template<class Matrix>
std::size_t shark::QpMcBoxDecomp< Matrix >::Example::index

example index in the dataset, not the example vector!

Definition at line 573 of file QpMcBoxDecomp.h.

§ var

template<class Matrix>
std::size_t* shark::QpMcBoxDecomp< Matrix >::Example::var

§ y

template<class Matrix>
unsigned int shark::QpMcBoxDecomp< Matrix >::Example::y

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