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

data structure describing one training example More...

#include <shark/Algorithms/QP/QpMcSimplexDecomp.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 variables More...
 
std::size_t * var
 list of all m_cardP variables, in order of the p-index More...
 
std::size_t * avar
 list of active variables More...
 
double varsum
 total sum of all variables of this example More...
 
double diagonal
 diagonal entry of the kernel matrix k(x,x); More...
 

Detailed Description

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

data structure describing one training example

Definition at line 506 of file QpMcSimplexDecomp.h.

Member Data Documentation

◆ active

◆ avar

◆ diagonal

template<class Matrix>
double shark::QpMcSimplexDecomp< Matrix >::Example::diagonal

diagonal entry of the kernel matrix k(x,x);

Definition at line 521 of file QpMcSimplexDecomp.h.

◆ index

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

example index in the dataset, not the example vector!

Definition at line 509 of file QpMcSimplexDecomp.h.

◆ var

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

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

Definition at line 515 of file QpMcSimplexDecomp.h.

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

◆ varsum

◆ y

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

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