CSGObject Class Reference


Detailed Description

Class SGObject is the base class of all shogun objects.

Apart from dealing with reference counting that is used to manage shogung objects in memory (erase unused object, avoid cleaning objects when they are still in use), it provides interfaces for:

  1. parallel - to determine the number of used CPUs for a method (cf. CParallel)
  2. io - to output messages and general i/o (cf. CIO)
  3. version - to provide version information of the shogun version used (cf. CVersion)

Definition at line 81 of file SGObject.h.

Inherited by CArray< bool >, CArray< char >, CArray< CPlifBase * >, CArray< float32_t >, CArray< float64_t >, CArray< int32_t >, CCache< float64_t >, CCache< KERNELCACHE_ELEM >, CCache< ST >, CCache< TSparseEntry< float64_t > >, CCache< TSparseEntry< ST > >, CCache< uint16_t >, CCache< uint8_t >, CDynamicArray< CPlifBase * >, CDynamicArray< float64_t >, CDynamicArray< int32_t >, CDynamicArray< T_ATTRIBUTE >, CDynamicArray< uint64_t >, CList< CDotFeatures * >, CList< CFeatures * >, CList< CKernel * >, CMemoryMappedFile< ST >, CTrie< DNATrie >, CTrie< POIMTrie >, CAlphabet, CArray< T >, CBinaryStream< T >, CBitString, CCache< T >, CClassifier, CCompressor, CCplex, CDistance, CDistribution, CDynamicArray< T >, CDynProg, CFeatures, CFile, CGCArray< T >, CGMNPLib, CGNPPLib, CHash, CIntronList, CKernel, CKernelNormalizer, CLabels, CList< T >, CMath, CMemoryMappedFile< T >, CPerformanceMeasures, CPlifBase, CPlifMatrix, CPreProc, CQPBSVMLib, CSegmentLoss, CSet< T >, CSignal, CSimpleFile< T >, CTime, CTrie< Trie >, and MKLMultiClassGLPK.

List of all members.

Public Member Functions

 CSGObject ()
 CSGObject (const CSGObject &orig)
virtual ~CSGObject ()
virtual const char * get_name () const =0

Public Attributes

CIOio
CParallelparallel
CVersionversion

Constructor & Destructor Documentation

CSGObject (  ) 

Definition at line 84 of file SGObject.h.

CSGObject ( const CSGObject orig  ) 

Definition at line 90 of file SGObject.h.

virtual ~CSGObject (  )  [virtual]

Definition at line 96 of file SGObject.h.


Member Function Documentation

virtual const char* get_name (  )  const [pure virtual]

get the name of the object

Returns:
name of object

Implemented in CKernelPerceptron, CKNN, CLDA, CLPBoost, CLPM, CMKL, MKLMultiClassGLPK, CPerceptron, CPluginEstimate, CSubGradientLPM, CGMNPLib, CGMNPSVM, CGNPPLib, CGNPPSVM, CGPBTSVM, CLaRank, CLibLinear, CLibSVM, CLibSVMMultiClass, CLibSVMOneClass, CMPDSVM, CQPBSVMLib, CScatterSVM, CSubGradientSVM, CSVM, CSVMLin, CSVMOcas, CSVMSGD, CWDSVMOcas, CHierarchical, CKMeans, CBrayCurtisDistance, CCanberraMetric, CCanberraWordDistance, CChebyshewMetric, CChiSquareDistance, CCosineDistance, CEuclidianDistance, CGeodesicMetric, CHammingWordDistance, CJensenMetric, CManhattanMetric, CManhattanWordDistance, CMinkowskiMetric, CSparseEuclidianDistance, CTanimotoDistance, CHistogram, CHMM, CLinearHMM, CPerformanceMeasures, CAlphabet, CAttributeFeatures, CCombinedDotFeatures, CCombinedFeatures, CDummyFeatures, CExplicitSpecFeatures, CFKFeatures, CImplicitWeightedSpecFeatures, CLabels, CPolyFeatures, CRealFileFeatures, CSimpleFeatures< ST >, CSparseFeatures< ST >, CStringFeatures< ST >, CTOPFeatures, CWDFeatures, CAUCKernel, CAvgDiagKernelNormalizer, CChi2Kernel, CCombinedKernel, CCommUlongStringKernel, CCommWordStringKernel, CConstKernel, CCustomKernel, CDiagKernel, CDistanceKernel, CFirstElementKernelNormalizer, CFixedDegreeStringKernel, CGaussianKernel, CGaussianShiftKernel, CGaussianShortRealKernel, CHistogramWordStringKernel, CIdentityKernelNormalizer, CLinearByteKernel, CLinearKernel, CLinearStringKernel, CLinearWordKernel, CLocalAlignmentStringKernel, CLocalityImprovedStringKernel, CMatchWordStringKernel, CMultitaskKernelNormalizer, COligoStringKernel, CPolyKernel, CPolyMatchStringKernel, CPolyMatchWordStringKernel, CPyramidChi2, CRegulatoryModulesStringKernel, CRidgeKernelNormalizer, CSalzbergWordStringKernel, CSigmoidKernel, CSimpleLocalityImprovedStringKernel, CSparseGaussianKernel, CSparseLinearKernel, CSparsePolyKernel, CSqrtDiagKernelNormalizer, CTensorProductPairKernel, CVarianceKernelNormalizer, CWeightedCommWordStringKernel, CWeightedDegreePositionStringKernel, CWeightedDegreeStringKernel, CArray< T >, CBinaryStream< T >, CBitString, CCache< T >, CCompressor, CCplex, CDynamicArray< T >, CFile, CGCArray< T >, CHash, CList< T >, CMath, CMemoryMappedFile< T >, CSet< T >, CSignal, CSimpleFile< T >, CTime, CTrie< Trie >, CPreProc, CKRR, CLibSVR, CDynProg, CIntronList, CPlif, CPlifArray, CPlifMatrix, CSegmentLoss, CSimpleFeatures< float64_t >, CSimpleFeatures< uint16_t >, CSparseFeatures< float64_t >, CStringFeatures< uint8_t >, CStringFeatures< uint16_t >, CArray< CPlifBase * >, CArray< float64_t >, CArray< float32_t >, CArray< int32_t >, CArray< char >, CArray< bool >, CCache< ST >, CCache< float64_t >, CCache< TSparseEntry< ST > >, CCache< uint8_t >, CCache< KERNELCACHE_ELEM >, CCache< uint16_t >, CCache< TSparseEntry< float64_t > >, CDynamicArray< CPlifBase * >, CDynamicArray< float64_t >, CDynamicArray< int32_t >, CDynamicArray< T_ATTRIBUTE >, CDynamicArray< uint64_t >, CList< CDotFeatures * >, CList< CKernel * >, CList< CFeatures * >, CMemoryMappedFile< ST >, CTrie< DNATrie >, and CTrie< POIMTrie >.


Member Data Documentation

CIO* io

Definition at line 213 of file SGObject.h.

Definition at line 214 of file SGObject.h.

Definition at line 215 of file SGObject.h.


The documentation for this class was generated from the following files:

SHOGUN Machine Learning Toolbox - Documentation