iRoCS Toolbox  1.1.0
Data Structures | Typedefs | Enumerations | Functions | Variables
svt Namespace Reference

Data Structures

struct  AlgorithmLists
 
struct  AlternativeHelp
 
class  BasicCVAdapter
 
class  BasicCVAdapterTempl
 
class  BasicCVFactory
 The BasicCVFactory class is a factory, that creates the appropriate template class from given strings. More...
 
struct  BasicCVProducer
 
class  BasicFV
 
class  BasicSVMAdapter
 
class  BasicSVMAdapterTempl
 
class  BasicSVMFactory
 The BasicSVMFactory class is a factory, that creates the appropriate template class from given strings. More...
 
class  BasicSVMFactoryOneClass
 The BasicSVMFactoryOneClass class is a factory, that creates the appropriate template class from given strings. More...
 
struct  BasicSVMProducer
 
struct  BlitzH5Type
 Default type trait. More...
 
struct  BlitzH5Type< bool >
 bool version More...
 
struct  BlitzH5Type< char >
 
struct  BlitzH5Type< double >
 double version More...
 
struct  BlitzH5Type< float >
 float version More...
 
struct  BlitzH5Type< int >
 int version More...
 
struct  BlitzH5Type< long >
 long version More...
 
struct  BlitzH5Type< long long >
 llong version More...
 
struct  BlitzH5Type< short >
 short version More...
 
struct  BlitzH5Type< signed char >
 char version More...
 
struct  BlitzH5Type< std::string >
 string version More...
 
struct  BlitzH5Type< std::valarray< T > >
 std::valarray version More...
 
struct  BlitzH5Type< std::vector< std::string > >
 std::vector<std::string> version More...
 
struct  BlitzH5Type< std::vector< T > >
 std::vector version More...
 
struct  BlitzH5Type< unsigned char >
 uchar version More...
 
struct  BlitzH5Type< unsigned int >
 uint version More...
 
struct  BlitzH5Type< unsigned long >
 ulong version More...
 
struct  BlitzH5Type< unsigned long long >
 ullong version More...
 
struct  BlitzH5Type< unsigned short >
 ushort version More...
 
struct  BlitzH5TypeConversion
 
struct  BlitzH5TypeConversion< DataType, DataType >
 
class  Cache
 
class  CacheToSmall
 
class  ClassificationStatistics
 
class  CmdLineError
 
class  ContainerTooSmallError
 
class  CrossValidator
 The CrossValidator class provides a highly optimized cross validation algorithm. More...
 
struct  DereferencingAccessor
 
struct  DirectAccessor
 
class  FVwithMultiClassCoefs
 
class  GlobalIDFV
 
class  GridAxis
 
class  GridSearch
 
class  GridSearchError
 
class  GroupedTrainingData
 The GroupedTrainingData class is a container for feature vectors. More...
 
class  HelpExtractor
 The HelpExtractor class contains methods to extract the ParamInfo's and name() / Descriptions form all elements in a TList. More...
 
struct  HelpExtractor< svt::TList_end >
 
struct  HelpExtractor< svt::TTList< X, Y > >
 
class  InvalidDataTypeError
 
class  Kernel
 
class  Kernel_DS_RBF
 
class  Kernel_DS_TRIA
 
class  Kernel_EDsqr
 The Kernel_EDsqr class specifies a Euclidean distance kernel |u-v|^2 to be used in the distance substitution kernels Kernel_DS_*. More...
 
class  Kernel_FILE
 
class  Kernel_HISTINTERSECT
 The Kernel_HISTINTERSECT class specifies a HISTINTERSECT kernel function: min(u'(i),v(i)) More...
 
class  Kernel_LINEAR
 The Kernel_LINEAR class specifies a linear kernel function: u'*v. More...
 
class  Kernel_MATRIX
 
class  Kernel_POLY
 The Kernel_POLY class specifies a polynomial kernel function: (gamma*u'*v + coef0)^degree. More...
 
class  Kernel_RBF
 The Kernel_RBF class specifies a radial basis function kernel exp(-gamma*|u-v|^2) More...
 
class  Kernel_SCALE
 The Kernel_SCALE class provides a wrapper for other kernel classes , that scales the feature vectors, before they are passed to the wrapped kernel. More...
 
class  Kernel_SIGMOID
 The Kernel_SIGMOID class specifies a sigmoid kernel function: tanh(gamma*u'*v + coef0) More...
 
class  KeyNotFoundError
 
class  KFile_BINARY
 
class  KFile_MULTBINARY
 
class  LoadError
 
class  LoadSaveASCII
 
class  LoadSaveHdf5Templ
 
class  MC_SVM_Finder
 The MC_SVM_Finder class finds the appropriate combination of Multiclass, Twoclass and Kernel specified by strings. More...
 
struct  MC_SVM_Finder< PRODUCER, MC_ITER, TC_ITER, TList_end >
 
struct  MC_SVM_Finder< PRODUCER, MC_ITER, TList_end, KF_ITER >
 
struct  MC_SVM_Finder< PRODUCER, TList_end, TC_ITER, KF_ITER >
 
class  Model
 
class  Model_MC
 
class  Model_MC_OneVsOne
 
class  Model_MC_OneVsRest
 
class  ModelOptimizer_linearNormal
 
class  MultiClassSVMOneVsOne
 The MultiClassSVMOneVsOne class provides a one vs. More...
 
class  MultiClassSVMOneVsRest
 The MultiClassSVMOneVsRest class provides a one vs. More...
 
struct  MyHdf5TypeTraits
 
struct  MyHdf5TypeTraits< bool >
 
struct  MyHdf5TypeTraits< char >
 
struct  MyHdf5TypeTraits< double >
 
struct  MyHdf5TypeTraits< float >
 
struct  MyHdf5TypeTraits< int >
 
struct  MyHdf5TypeTraits< long >
 
struct  MyHdf5TypeTraits< short >
 
struct  MyHdf5TypeTraits< unsigned char >
 
struct  MyHdf5TypeTraits< unsigned int >
 
class  NotEnoughValuesError
 
class  ONE_CLASS_Q
 
class  ParamInfo
 The ParamInfo class contains informations about one parameter like key, help text, guiHints etc. More...
 
class  ParseCmdLineError
 
class  ParseError
 
class  PlattProb
 
class  PlattProbModel
 
class  PrettyOptionPrinter
 The PrettyOptionPrinter class contains mehtods for pretty printing of commandline options. More...
 
class  ProgressReporter
 
class  ProgressReporterCerr
 
class  SaveError
 
class  ScaleComponentsMismatch
 
struct  SingleClassResult
 
struct  SolutionInfo
 
class  Solver
 
class  Solver_NU
 
class  SparseError
 
class  SparseFV
 The SparseFV class specifies a vector with sparse storage. More...
 
class  SparseItem
 The SparseItem class specifies one element in a SpareFV. More...
 
class  StDataASCII
 The StDataASCII class is a container for "structured data", that is kept completly in memory. More...
 
class  StDataASCIIFile
 
class  StDataCmdLine
 
class  StDataHdf5Templ
 
class  SVC_Q
 
struct  SVM_Problem
 
class  SVMApplication
 The SVMApplication class specifies a complete command line application. More...
 
class  SVMAssertionFailed
 
class  SVMBase
 The SVMBase class is the the base class for all SVM's. More...
 
class  SVMError
 The SVMError class is the parent class for all errors that are thrown by the LIBSVMTL. More...
 
struct  SVMFinderOneClass
 
struct  SVMFinderOneClass< FV, STDATA, OC_ITER, TList< TList_end, X > >
 
struct  SVMFinderOneClass< FV, STDATA, TTList< TTList_end, X >, KF_ITER >
 
class  SVMRuntimeError
 
class  SVR_Q
 
struct  TList
 
struct  TList_end
 
class  TriangularMatrix
 The TriangularMatrix class is an upper triangular matrix without diagonal elements. More...
 
struct  TTList
 
class  TwoClassSVM
 The TwoClassSVM class is the basic class for TwoClassSVMc and TwoClassSVMnu and maybe some more later. More...
 
class  TwoClassSVMc
 The TwoClassSVMc class (is/provides/specifies/contains) More...
 
class  TwoClassSVMnu
 The TwoClassSVMnu class (is/provides/specifies/contains) More...
 
class  UnknownClassNameError
 
class  UnknownScaleAlgorithm
 
class  WrongParameterError
 

Typedefs

typedef BasicCVAdapter< svt::BasicFV, svt::GroupedTrainingData< svt::BasicFV >, svt::StDataASCIIFileCVAdapter
 
typedef svt::BasicCVFactory< svt::BasicFV, svt::GroupedTrainingData< svt::BasicFV >, svt::StDataASCIIFile, DefaultMultiClassList, DefaultTwoClassList, DefaultKernelList > CVFactory
 
typedef svt::TList_end DefaultOneClassList
 
typedef LoadSaveHdf5Templ< StDataHdf5LoadSaveHdf5
 
typedef StDataHdf5Templ< H5::H5File > StDataHdf5
 
typedef BasicSVMAdapter< svt::BasicFV, svt::StDataASCIIFileSVMAdapter
 
typedef SVMApplication< BasicFV, AlgorithmLists< DefaultMultiClassList, DefaultTwoClassList, DefaultOneClassList, DefaultKernelList >, LoadSaveASCIISVMApplicationWithDefaults
 
typedef svt::BasicSVMFactory< BasicFV, StDataASCIIFile, DefaultMultiClassList, DefaultTwoClassList, DefaultKernelList > SVMFactory
 

Enumerations

enum  TypeIdentifier {
  NO_TYPE, TYPE_CHAR, TYPE_UCHAR, TYPE_SHORT,
  TYPE_USHORT, TYPE_INT, TYPE_UINT, TYPE_LONG,
  TYPE_ULONG, TYPE_LLONG, TYPE_ULLONG, TYPE_FLOAT,
  TYPE_DOUBLE, TYPE_STRING
}
 Type identifiers. More...
 

Functions

template<typename T1 , typename T2 >
bool _setVecData (T1 &, T2)
 
template<>
bool _setVecData (char *&vect, char *rs)
 
template<>
bool _setVecData (std::string &vect, char *rs)
 
template<>
bool _setVecData (char &value, char *rs)
 
template<>
bool _setVecData (short &value, char *rs)
 
template<>
bool _setVecData (unsigned short &value, char *rs)
 
template<>
bool _setVecData (int &value, char *rs)
 
template<>
bool _setVecData (unsigned int &value, char *rs)
 
template<>
bool _setVecData (long &value, char *rs)
 
template<>
bool _setVecData (unsigned long &value, char *rs)
 
template<>
bool _setVecData (long long &value, char *rs)
 
bool _setVecData (unsigned long long &value, char *rs)
 
template<>
bool _setVecData (float &value, char *rs)
 
template<>
bool _setVecData (double &value, char *rs)
 
template<>
bool _setVecData (long double &value, char *rs)
 
template<typename ForwardIter , typename Accessor >
void adjustUniqueIDs (const ForwardIter &fvBegin, const ForwardIter &fvEnd, Accessor accessor)
 
template<typename FV >
void adjustUniqueIDs (std::vector< FV *> &featureVectorPointers)
 
template<typename FV >
void adjustUniqueIDs (std::vector< FV > &featureVectors)
 
void generateShuffledSubsets (int nFeatureVectors, int nSubsets, std::vector< int > &subsetIndizesForFVs)
 
void generateSortedSubsets (int nFeatureVectors, int nSubsets, std::vector< int > &subsetIndizesForFVs)
 
BasicFV operator* (double factor, const BasicFV &fv)
 
BasicFV operator* (const BasicFV &fv, double factor)
 
BasicFV operator+ (const BasicFV &fv1, const BasicFV &fv2)
 
BasicFV operator- (const BasicFV &fv1, const BasicFV &fv2)
 
template<typename FV >
std::ostream & operator<< (std::ostream &os, const FVwithMultiClassCoefs< FV > &fv)
 
std::ostream & operator<< (std::ostream &os, const svt::GlobalIDFV &fv)
 
std::ostream & operator<< (std::ostream &os, const svt::BasicFV &fv)
 
std::ostream & operator<< (std::ostream &os, const svt::SparseFV &fv)
 
std::istream & operator>> (std::istream &is, svt::GlobalIDFV &fv)
 
std::istream & operator>> (std::istream &is, svt::BasicFV &fv)
 
std::istream & operator>> (std::istream &is, svt::SparseFV &fv)
 
void sortAndRemoveDuplicates (std::vector< ParamInfo > &params)
 sort list of ParamInfo's and remove doubles More...
 
typedef TLIST_15 (svt::Kernel_MATRIX< svt::Kernel_RBF >, svt::Kernel_MATRIX< svt::Kernel_LINEAR >, svt::Kernel_MATRIX< svt::Kernel_POLY >, svt::Kernel_MATRIX< svt::Kernel_SIGMOID >, svt::Kernel_MATRIX< svt::Kernel_HISTINTERSECT >, svt::Kernel_MATRIX< svt::Kernel_SCALE< svt::Kernel_RBF > >, svt::Kernel_MATRIX< svt::Kernel_SCALE< svt::Kernel_LINEAR > >, svt::Kernel_MATRIX< svt::Kernel_SCALE< svt::Kernel_POLY > >, svt::Kernel_MATRIX< svt::Kernel_SCALE< svt::Kernel_SIGMOID > >, svt::Kernel_MATRIX< svt::Kernel_SCALE< svt::Kernel_HISTINTERSECT > >, svt::Kernel_RBF, svt::Kernel_LINEAR, svt::Kernel_POLY, svt::Kernel_SIGMOID, svt::Kernel_HISTINTERSECT) DefaultKernelList
 
typedef TTLIST_2 (svt::TwoClassSVMc, svt::TwoClassSVMnu) DefaultTwoClassList
 
typedef TTLIST_2 (svt::MultiClassSVMOneVsOne, svt::MultiClassSVMOneVsRest) DefaultMultiClassList
 

Variables

static const float CACHE_SIZE_MB_DEFAULT = 40
 
static const double COST_DEFAULT = 1.0
 
static const double POSITIVE_CLASS_WEIGHT_DEFAULT = 1.0
 
static const bool SHRINKING_FLAG_DEFAULT = true
 
const int TASK_LEVEL_CROSS_VAL = 2
 
const int TASK_LEVEL_GRID_SEARCH = 1
 
const int TASK_LEVEL_MULTICLASS = 3
 
const int TASK_LEVEL_TRAINING_INFO = 5
 
const int TASK_LEVEL_TWOCLASS = 4
 
static const double TERMINATION_EPSILON_DEFAULT = 0.001
 

Typedef Documentation

◆ CVAdapter

Definition at line 60 of file CVAdapter.hh.

◆ CVFactory

typedef svt::BasicCVFactory<svt::BasicFV, svt::GroupedTrainingData<svt::BasicFV>, svt::StDataASCIIFile, DefaultMultiClassList, DefaultTwoClassList, DefaultKernelList> svt::CVFactory

Definition at line 69 of file CVFactory.hh.

◆ DefaultOneClassList

Definition at line 58 of file DefaultOneClassList.hh.

◆ LoadSaveHdf5

Definition at line 281 of file LoadSaveHdf5.hh.

◆ StDataHdf5

typedef StDataHdf5Templ<H5::H5File> svt::StDataHdf5

Definition at line 922 of file StDataHdf5.hh.

◆ SVMAdapter

Definition at line 67 of file SVMAdapter.hh.

◆ SVMApplicationWithDefaults

typedef SVMApplication< BasicFV, AlgorithmLists< DefaultMultiClassList, DefaultTwoClassList, DefaultOneClassList, DefaultKernelList>, LoadSaveASCII > svt::SVMApplicationWithDefaults

Definition at line 67 of file SVMApplicationWithDefaults.hh.

◆ SVMFactory

typedef svt::BasicSVMFactory<BasicFV, StDataASCIIFile, DefaultMultiClassList, DefaultTwoClassList, DefaultKernelList> svt::SVMFactory

Definition at line 78 of file SVMFactory.hh.

Enumeration Type Documentation

◆ TypeIdentifier

Type identifiers.

Enumerator
NO_TYPE 
TYPE_CHAR 
TYPE_UCHAR 
TYPE_SHORT 
TYPE_USHORT 
TYPE_INT 
TYPE_UINT 
TYPE_LONG 
TYPE_ULONG 
TYPE_LLONG 
TYPE_ULLONG 
TYPE_FLOAT 
TYPE_DOUBLE 
TYPE_STRING 

Definition at line 54 of file SvmH5Type.hh.

Function Documentation

◆ adjustUniqueIDs() [1/3]

template<typename ForwardIter , typename Accessor >
void svt::adjustUniqueIDs ( const ForwardIter &  fvBegin,
const ForwardIter &  fvEnd,
Accessor  accessor 
)

Definition at line 65 of file adjustUniqueIDs.hh.

Referenced by adjustUniqueIDs().

◆ adjustUniqueIDs() [2/3]

template<typename FV >
void svt::adjustUniqueIDs ( std::vector< FV *> &  featureVectorPointers)

Definition at line 78 of file adjustUniqueIDs.hh.

◆ adjustUniqueIDs() [3/3]

template<typename FV >
void svt::adjustUniqueIDs ( std::vector< FV > &  featureVectors)

Definition at line 86 of file adjustUniqueIDs.hh.

◆ operator<<() [1/4]

std::ostream& svt::operator<< ( std::ostream &  os,
const svt::BasicFV fv 
)
inline

Definition at line 464 of file BasicFV.hh.

Referenced by svt::SparseFV::helpPipeFormat().

◆ operator>>() [1/3]

std::istream& svt::operator>> ( std::istream &  is,
svt::BasicFV fv 
)
inline

Definition at line 473 of file BasicFV.hh.

Referenced by svt::SparseFV::helpPipeFormat().

◆ operator+()

BasicFV svt::operator+ ( const BasicFV fv1,
const BasicFV fv2 
)
inline

Definition at line 483 of file BasicFV.hh.

◆ operator-()

BasicFV svt::operator- ( const BasicFV fv1,
const BasicFV fv2 
)
inline

Definition at line 501 of file BasicFV.hh.

◆ operator*() [1/2]

BasicFV svt::operator* ( double  factor,
const BasicFV fv 
)
inline

Definition at line 519 of file BasicFV.hh.

Referenced by operator*().

◆ operator*() [2/2]

BasicFV svt::operator* ( const BasicFV fv,
double  factor 
)
inline

Definition at line 535 of file BasicFV.hh.

◆ generateSortedSubsets()

void svt::generateSortedSubsets ( int  nFeatureVectors,
int  nSubsets,
std::vector< int > &  subsetIndizesForFVs 
)

◆ generateShuffledSubsets()

void svt::generateShuffledSubsets ( int  nFeatureVectors,
int  nSubsets,
std::vector< int > &  subsetIndizesForFVs 
)

◆ TLIST_15()

◆ TTLIST_2() [1/2]

typedef svt::TTLIST_2 ( svt::MultiClassSVMOneVsOne  ,
svt::MultiClassSVMOneVsRest   
)

◆ TTLIST_2() [2/2]

typedef svt::TTLIST_2 ( svt::TwoClassSVMc  ,
svt::TwoClassSVMnu   
)

◆ operator<<() [2/4]

template<typename FV >
std::ostream& svt::operator<< ( std::ostream &  os,
const FVwithMultiClassCoefs< FV > &  fv 
)
inline

Definition at line 170 of file FVwithMultiClassCoefs.hh.

◆ operator<<() [3/4]

std::ostream& svt::operator<< ( std::ostream &  os,
const svt::GlobalIDFV fv 
)
inline

Definition at line 278 of file GlobalIDFV.hh.

◆ operator>>() [2/3]

std::istream& svt::operator>> ( std::istream &  is,
svt::GlobalIDFV fv 
)
inline

Definition at line 286 of file GlobalIDFV.hh.

◆ sortAndRemoveDuplicates()

void svt::sortAndRemoveDuplicates ( std::vector< ParamInfo > &  params)
inline

sort list of ParamInfo's and remove doubles

Parameters
params(in/out) list of ParamInfo's

Definition at line 227 of file ParamInfo.hh.

◆ operator<<() [4/4]

std::ostream& svt::operator<< ( std::ostream &  os,
const svt::SparseFV fv 
)
inline

Definition at line 578 of file SparseFV.hh.

◆ operator>>() [3/3]

std::istream& svt::operator>> ( std::istream &  is,
svt::SparseFV fv 
)
inline

Definition at line 586 of file SparseFV.hh.

◆ _setVecData() [1/15]

template<typename T1 , typename T2 >
bool svt::_setVecData ( T1 &  ,
T2   
)

Definition at line 133 of file StDataHdf5.hh.

◆ _setVecData() [2/15]

template<>
bool svt::_setVecData ( char *&  vect,
char *  rs 
)
inline

Definition at line 137 of file StDataHdf5.hh.

◆ _setVecData() [3/15]

template<>
bool svt::_setVecData ( std::string &  vect,
char *  rs 
)
inline

Definition at line 144 of file StDataHdf5.hh.

◆ _setVecData() [4/15]

template<>
bool svt::_setVecData ( char &  value,
char *  rs 
)
inline

Definition at line 149 of file StDataHdf5.hh.

◆ _setVecData() [5/15]

template<>
bool svt::_setVecData ( short &  value,
char *  rs 
)
inline

Definition at line 155 of file StDataHdf5.hh.

◆ _setVecData() [6/15]

template<>
bool svt::_setVecData ( unsigned short &  value,
char *  rs 
)
inline

Definition at line 161 of file StDataHdf5.hh.

◆ _setVecData() [7/15]

template<>
bool svt::_setVecData ( int &  value,
char *  rs 
)
inline

Definition at line 167 of file StDataHdf5.hh.

◆ _setVecData() [8/15]

template<>
bool svt::_setVecData ( unsigned int &  value,
char *  rs 
)
inline

Definition at line 173 of file StDataHdf5.hh.

◆ _setVecData() [9/15]

template<>
bool svt::_setVecData ( long &  value,
char *  rs 
)
inline

Definition at line 179 of file StDataHdf5.hh.

◆ _setVecData() [10/15]

template<>
bool svt::_setVecData ( unsigned long &  value,
char *  rs 
)
inline

Definition at line 185 of file StDataHdf5.hh.

◆ _setVecData() [11/15]

template<>
bool svt::_setVecData ( long long &  value,
char *  rs 
)
inline

Definition at line 191 of file StDataHdf5.hh.

◆ _setVecData() [12/15]

bool svt::_setVecData ( unsigned long long &  value,
char *  rs 
)
inline

Definition at line 196 of file StDataHdf5.hh.

◆ _setVecData() [13/15]

template<>
bool svt::_setVecData ( float &  value,
char *  rs 
)
inline

Definition at line 202 of file StDataHdf5.hh.

◆ _setVecData() [14/15]

template<>
bool svt::_setVecData ( double &  value,
char *  rs 
)
inline

Definition at line 208 of file StDataHdf5.hh.

◆ _setVecData() [15/15]

template<>
bool svt::_setVecData ( long double &  value,
char *  rs 
)
inline

Definition at line 214 of file StDataHdf5.hh.

Variable Documentation

◆ TASK_LEVEL_GRID_SEARCH

const int svt::TASK_LEVEL_GRID_SEARCH = 1

Definition at line 75 of file ProgressReporter.hh.

◆ TASK_LEVEL_CROSS_VAL

const int svt::TASK_LEVEL_CROSS_VAL = 2

◆ TASK_LEVEL_MULTICLASS

const int svt::TASK_LEVEL_MULTICLASS = 3

Definition at line 77 of file ProgressReporter.hh.

◆ TASK_LEVEL_TWOCLASS

const int svt::TASK_LEVEL_TWOCLASS = 4

Definition at line 78 of file ProgressReporter.hh.

◆ TASK_LEVEL_TRAINING_INFO

const int svt::TASK_LEVEL_TRAINING_INFO = 5

Definition at line 79 of file ProgressReporter.hh.

◆ TERMINATION_EPSILON_DEFAULT

const double svt::TERMINATION_EPSILON_DEFAULT = 0.001
static

Definition at line 86 of file SVMBase.hh.

◆ CACHE_SIZE_MB_DEFAULT

const float svt::CACHE_SIZE_MB_DEFAULT = 40
static

Definition at line 87 of file SVMBase.hh.

◆ SHRINKING_FLAG_DEFAULT

const bool svt::SHRINKING_FLAG_DEFAULT = true
static

Definition at line 88 of file SVMBase.hh.

◆ COST_DEFAULT

const double svt::COST_DEFAULT = 1.0
static

Definition at line 120 of file TwoClassSVMc.hh.

◆ POSITIVE_CLASS_WEIGHT_DEFAULT

const double svt::POSITIVE_CLASS_WEIGHT_DEFAULT = 1.0
static

Definition at line 121 of file TwoClassSVMc.hh.