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!
 
unsigned int y
 label of this example
 
std::size_t active
 number of active variables
 
std::size_t * var
 list of all m_cardP variables, in order of the p-index
 
std::size_t * avar
 list of active variables
 
double varsum
 total sum of all variables of this example
 
double diagonal
 diagonal entry of the kernel matrix k(x,x);
 

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

◆ varsum

◆ y


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