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...
 
std::size_t 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 571 of file QpMcBoxDecomp.h.

Member Data Documentation

◆ active

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

number of active m_numVariables

Definition at line 578 of file QpMcBoxDecomp.h.

Referenced by shark::QpMcBoxDecomp< Matrix >::deactivateVariable().

◆ avar

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

list of active m_numVariables

Definition at line 582 of file QpMcBoxDecomp.h.

Referenced by shark::QpMcBoxDecomp< Matrix >::deactivateVariable().

◆ index

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

example index in the dataset, not the example vector!

Definition at line 574 of file QpMcBoxDecomp.h.

◆ var

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

list of all m_cardP m_numVariables, in order of the p-index

Definition at line 580 of file QpMcBoxDecomp.h.

Referenced by shark::QpMcBoxDecomp< Matrix >::deactivateVariable().

◆ y

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

label of this example

Definition at line 576 of file QpMcBoxDecomp.h.

Referenced by shark::QpMcBoxDecomp< Matrix >::selectWorkingSet().


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