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!
 
unsigned int y
 label of this example
 
std::size_t active
 number of active m_numVariables
 
std::size_t * var
 list of all m_cardP m_numVariables, in order of the p-index
 
std::size_t * avar
 list of active m_numVariables
 

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

◆ 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 574 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: