SHOGUN  v3.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules
List of all members | Public Member Functions
SGRefObject Class Referenceabstract

Detailed Description

Class SGRefObject is a reference count based memory management class.

It deals with reference counting that is used to manage shogun objects in memory (erase unused object, avoid cleaning objects when they are still in use)

Definition at line 46 of file SGRefObject.h.

Inheritance diagram for SGRefObject:
Inheritance graph
[legend]

Public Member Functions

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

Constructor & Destructor Documentation

default constructor

Definition at line 22 of file SGRefObject.cpp.

SGRefObject ( const SGRefObject orig)

copy constructor

Definition at line 30 of file SGRefObject.cpp.

~SGRefObject ( )
virtual

destructor

Definition at line 37 of file SGRefObject.cpp.

Member Function Documentation

virtual const char* get_name ( ) const
pure virtual

Returns the name of the SGSerializable instance. It MUST BE the CLASS NAME without the prefixed `C'.

Returns
name of the SGSerializable

Implemented in CMath, CHMM, CStringFeatures< ST >, CStringFeatures< T >, CStringFeatures< uint8_t >, CStringFeatures< char >, CStringFeatures< uint16_t >, CTrie< Trie >, CTrie< DNATrie >, CTrie< POIMTrie >, CDynamicArray< T >, CDynamicArray< float64_t >, CDynamicArray< float32_t >, CDynamicArray< int32_t >, CDynamicArray< char >, CDynamicArray< bool >, CMultitaskKernelTreeNormalizer, CDynProg, CList, CDenseFeatures< ST >, CDenseFeatures< uint32_t >, CDenseFeatures< float64_t >, CDenseFeatures< T >, CDenseFeatures< uint16_t >, CFile, CSparseFeatures< ST >, CSparseFeatures< float64_t >, CSparseFeatures< T >, CStatistics, CSpecificityMeasure, CLibSVMFile, CPrecisionMeasure, CPlif, CRecallMeasure, CDynamicObjectArray, SGDynamicRefObjectArray, CCrossCorrelationMeasure, CCSVFile, CF1Measure, CLaRank, CBinaryFile, CWRACCMeasure, CProtobufFile, CTaxonomy, CBALMeasure, CBitString, CStreamingVwFeatures, CStreamingSparseFeatures< T >, CErrorRateMeasure, CMultitaskKernelPlifNormalizer, CWDSVMOcas, CMachine, CAccuracyMeasure, CStreamingFile, CRandom, CMemoryMappedFile< T >, CLMNNStatistics, CMultitaskKernelMaskNormalizer, CMemoryMappedFile< ST >, CMKL, CAlphabet, CStreamingDenseFeatures< T >, CStreamingDenseFeatures< float64_t >, CStreamingDenseFeatures< float32_t >, CCombinedDotFeatures, CGUIStructure, CCache< T >, CCache< uint32_t >, CCache< ST >, CCache< float64_t >, CCache< uint8_t >, CCache< KERNELCACHE_ELEM >, CCache< char >, CCache< uint16_t >, CCache< shogun::SGSparseVectorEntry< T > >, CCache< shogun::SGSparseVectorEntry< float64_t > >, CCache< shogun::SGSparseVectorEntry< ST > >, CLinearTimeMMD, CMultitaskKernelMaskPairNormalizer, CSVM, CMultitaskKernelNormalizer, CGUIClassifier, CGUIFeatures, CGMM, CHashedWDFeaturesTransposed, CLinearHMM, CStructuredModel, CSimpleFile< T >, CGaussian, CBinaryStream< T >, CParameterCombination, CStreamingStringFeatures< T >, CStateModel, CMulticlassSVM, COnlineLinearMachine, CRandomKitchenSinksDotFeatures, CVwParser, CPluginEstimate, CVowpalWabbit, CBinnedDotFeatures, CSVMOcas, CPlifMatrix, CHashedWDFeatures, CCrossValidation, CImplicitWeightedSpecFeatures, CSparseMatrixOperator< T >, CCombinedFeatures, CSNPFeatures, CWDFeatures, CIOBuffer, CCrossValidationMulticlassStorage, CHashedDenseFeatures< ST >, CLeastAngleRegression, CTwoStateModel, CQuadraticTimeMMD, CHMSVMModel, CKMeans, CLossFunction, CKNN, CRandomFourierGaussPreproc, CGUIKernel, CMKLMulticlass, CHashedSparseFeatures< ST >, CExplicitSpecFeatures, CLibLinearMTL, CModelSelectionParameters, CGUIHMM, CHashedDocDotFeatures, CJacobiEllipticFunctions, COnlineSVMSGD, CPositionalPWM, CZeroMeanCenterKernelNormalizer, CSparsePolyFeatures, CCplex, CSqrtDiagKernelNormalizer, CStochasticProximityEmbedding, CScatterKernelNormalizer, CRationalApproximation, CLatentModel, CGMNPLib, CLibLinear, CDixonQTestRejectionStrategy, CTableFactorType, CSGObject, CSVMSGD, CVwCacheReader, CMulticlassMachine, CLBPPyrDotFeatures, CRidgeKernelNormalizer, CLinearMachine, CHSIC, CMulticlassSOLabels, CTestStatistic, CTime, CSGDQN, CSNPStringKernel, CMatrixFeatures< ST >, CWeightedCommWordStringKernel, CHingeLoss, CQPBSVMLib, CSerializableAsciiFile, CSquaredLoss, CCustomKernel, CFactor, CPlifArray, CMulticlassLabels, CHash, CStreamingHashedDocDotFeatures, CStreamingVwFile, CQDA, CKernelRidgeRegression, CCustomDistance, CWeightedDegreeStringKernel, CBaggingMachine, CTOPFeatures, CDiceKernelNormalizer, CMultitaskKernelMklNormalizer, CTask, CVwEnvironment, CBinaryLabels, CMAPInferImpl, CDomainAdaptationSVMLinear, CLDA, CMCLDA, CWeightedDegreePositionStringKernel, CTanimotoKernelNormalizer, CStreamingHashedDenseFeatures< ST >, CStreamingHashedSparseFeatures< ST >, CBesselKernel, CAvgDiagKernelNormalizer, CVarianceKernelNormalizer, CCircularBuffer, CMulticlassModel, CKernelTwoSampleTestStatistic, CHierarchical, COperatorFunction< T >, COperatorFunction< float64_t >, CFKFeatures, CCombinedKernel, CSparseSpatialSampleStringKernel, CSpectrumMismatchRBFKernel, CVwRegressor, CHashedDocConverter, CFactorGraphLabels, CDataGenerator, CDotKernel, CGaussianKernel, CCommWordStringKernel, CStringSubsequenceKernel, CSet< T >, CDenseMatrixOperator< T >, CTwoDistributionsTestStatistic, CSequenceLabels, CDenseMatrixOperator< float64_t >, COnlineLibLinear, CPolyFeatures, CLibSVR, CNode, CContingencyTableEvaluation, CStreamingAsciiFile, CChi2Kernel, CPyramidChi2, CSignal, CIntegration, CLPBoost, CSalzbergWordStringKernel, CStructuredLabels, CSquaredHingeLoss, CPCA, CNewtonSVM, CCompressor, CSVMLin, CVwLearner, CIterativeLinearSolver< T, ST >, CIterativeLinearSolver< float64_t, float64_t >, CIterativeLinearSolver< complex128_t, float64_t >, CIterativeLinearSolver< T, T >, CLocallyLinearEmbedding, CDistanceKernel, CCommUlongStringKernel, CHomogeneousKernelMap, CVwNativeCacheReader, CHistogram, CGaussianShiftKernel, CMahalanobisDistance, CAttributeFeatures, CRandomFourierDotFeatures, CFirstElementKernelNormalizer, CGCArray< T >, CMap< K, T >, CLogLoss, CLogLossMargin, CSmoothHingeLoss, CMap< shogun::TParameter *, shogun::SGVector< float64_t > >, CMap< shogun::TParameter *, shogun::CSGObject * >, CGNPPLib, CLatentLabels, CScatterSVM, CLinearRidgeRegression, CSpectrumRBFKernel, CIndexBlockTree, CSegmentLoss, CKernelDistance, CGaussianProcessBinaryClassification, CLPM, CCircularKernel, CSphericalKernel, CPolyMatchStringKernel, CEigenSolver, COligoStringKernel, CSimpleLocalityImprovedStringKernel, CMultidimensionalScaling, CGaussianDistribution, CStreamingFileFromFeatures, CStreamingVwCacheFile, CANOVAKernel, CConstKernel, CDiagKernel, CMulticlassMultipleOutputLabels, CLanczosEigenSolver, CKernelPCA, CEmbeddingConverter, CEuclideanDistance, CWeightedMajorityVote, CMulticlassOVREvaluation, CPolyKernel, CPolyMatchWordStringKernel, CMultitaskClusteredLogisticRegression, CNearestCentroid, CProductKernel, CSparseKernel< ST >, CGaussianMatchStringKernel, CTStudentKernel, CTraceSampler, CGaussianProcessRegression, CDiffusionMaps, CStreamingFileFromDenseFeatures< T >, CStreamingFileFromSparseFeatures< T >, CStreamingFileFromStringFeatures< T >, CFixedDegreeStringKernel, CStringKernel< ST >, CTensorProductPairKernel, CDistanceMachine, CGaussianNaiveBayes, CStringKernel< uint16_t >, CStringKernel< char >, CStringKernel< uint64_t >, CLaplacianEigenmaps, CCauchyKernel, CLogKernel, CPowerKernel, CRationalQuadraticKernel, CWaveKernel, CWaveletKernel, CMulticlassOneVsRestStrategy, CKernelIndependenceTestStatistic, MKLMulticlassGradient, CMinkowskiMetric, CExponentialKernel, CAttenuatedEuclideanDistance, CParser, CKernelMachine, CInverseMultiQuadricKernel, CDistantSegmentsKernel, CLocalityImprovedStringKernel, CMatchWordStringKernel, CRegulatoryModulesStringKernel, CFFDiag, CJADiag, CJADiagOrth, CAUCKernel, CHistogramIntersectionKernel, CSigmoidKernel, CJediDiag, CQDiag, CUWedge, CMMDKernelSelectionCombOpt, CMultiquadricKernel, CExactInferenceMethod, CLabelsFactory, CICAConverter, CMulticlassAccuracy, CGaussianARDKernel, CGaussianShortRealKernel, CLocalAlignmentStringKernel, CStructuredOutputMachine, CLogRationalApproximationIndividual, CMMDKernelSelectionCombMaxL2, CPerceptron, CSplineKernel, CMatrixOperator< T >, CDimensionReductionPreprocessor, CGHMM, CHistogramWordStringKernel, CDelimiterTokenizer, CLinearOperator< T >, CCGMShiftedFamilySolver, CIterativeShiftedLinearFamilySolver< T, ST >, CLogRationalApproximationCGM, CTaskTree, CLinearOperator< float64_t >, CLinearOperator< complex128_t >, CIterativeShiftedLinearFamilySolver< float64_t, complex128_t >, CProbabilityDistribution, CFITCInferenceMethod, CLaplacianInferenceMethod, CLogDetEstimator, CMultitaskROCEvaluation, CGUIConverter, CCanberraMetric, CCosineDistance, CManhattanMetric, CJensenShannonKernel, CLinearKernel, CDualLibQPBMSOSVM, CMultitaskL12LogisticRegression, CGeodesicMetric, CJensenMetric, CTanimotoDistance, CIdentityKernelNormalizer, CLinearStringKernel, CDecompressString< ST >, CGUILabels, CSOBI, CKernelLocallyLinearEmbedding, CMMDKernelSelection, CMMDKernelSelectionComb, CMMDKernelSelectionMedian, MKLMulticlassGLPK, CFFSep, CChiSquareDistance, CHammingWordDistance, CLineReader, CNGramTokenizer, CLinearStructuredOutputMachine, CRandomSearchModelSelection, CLeastSquaresRegression, CAveragedPerceptron, CVwNativeCacheWriter, CJediSep, CUWedgeSep, CSparseDistance< ST >, CCrossValidationResult, CLatentFeatures, CJobResultAggregator, CMulticlassOneVsOneStrategy, CMMDKernelSelectionOpt, CGUIPluginEstimate, CSparseDistance< float64_t >, CVwAdaptiveLearner, CBrayCurtisDistance, CChebyshewMetric, CFactorGraphFeatures, CRegressionLabels, CDenseMatrixExactLog, CLibLinearRegression, MKLMulticlassOptimizationBase, CVwNonAdaptiveLearner, CSparseEuclideanDistance, CRealFileFeatures, CLinearARDKernel, CPNorm, CStringDistance< ST >, CIndependentJob, CEPInferenceMethod, CRescaleFeatures, CMAPInference, CStringDistance< uint16_t >, CWeightedDegreeRBFKernel, CECOCRandomSparseEncoder, CMulticlassStrategy, CLogPlusOne, CGradientCriterion, CStructuredAccuracy, CDirectLinearSolverComplex, CIndividualJobResultAggregator, CGMNPSVM, CNormOne, CFastICA, CFactorGraphObservation, CScalarResult< T >, CLinearLatentMachine, CRationalApproximationCGMJob, CMultitaskLogisticRegression, CGUIDistance, CLibSVM, CStringFileFeatures< ST >, CLatentSVM, CRationalApproximationIndividualJob, CSumOne, CCCSOSVM, CMultitaskTraceLogisticRegression, CJade, CCanberraWordDistance, CManhattanWordDistance, CCrossValidationOutput, CLinearMulticlassMachine, CConjugateOrthogonalCGSolver, CGradientModelSelection, CECOCDiscriminantEncoder, CSortWordString, CTaskGroup, CGUIPreprocessor, CStudentsTLikelihood, CPruneVarSubMean, CIntronList, CRealNumber, CFeatureBlockLogisticRegression, CDenseExactLogJob, CLMNN, CSortUlongString, CSequence, CResultSet, CIsomap, CMeanSquaredError, CMeanSquaredLogError, CLatentSOSVM, CStoreVectorAggregator< T >, CIndexBlock, CMulticlassLibLinear, CStoreVectorAggregator< complex128_t >, CLinearLocalTangentSpaceAlignment, CNeighborhoodPreservingEmbedding, CMeanAbsoluteError, CDummyFeatures, CIndependentComputationEngine, CListElement, CThresholdRejectionStrategy, CHessianLocallyLinearEmbedding, CDenseDistance< ST >, CRealDistance, CVectorResult< T >, CIndexBlockGroup, CSparsePreprocessor< ST >, CMMDKernelSelectionMax, CDenseDistance< float64_t >, CLocalTangentSpaceAlignment, CStoreScalarAggregator< T >, CGaussianLikelihood, CConjugateGradientSolver, CVwConditionalProbabilityTree, CMultitaskLeastSquaresRegression, CCustomMahalanobisDistance, CCombinationRule, CClusteringAccuracy, CClusteringMutualInformation, CMeanShiftDataGenerator, CGaussianProcessMachine, CKernelStructuredOutputMachine, CStringPreprocessor< ST >, CFactorGraphModel, CStochasticSOSVM, CMultitaskLinearMachine, CStringPreprocessor< uint16_t >, CStringPreprocessor< uint64_t >, CSubsetStack, CGridSearchModelSelection, CLocalityPreservingProjections, CMajorityVote, CDirectEigenSolver, CLinearSolver< T, ST >, CLinearSolver< float64_t, float64_t >, CLinearSolver< complex128_t, float64_t >, CLinearSolver< T, T >, CMeanRule, CGradientEvaluation, CMulticlassLibSVM, CMKLRegression, CFactorDataSource, CFactorGraph, CSerialComputationEngine, CKernelMulticlassMachine, CNormalSampler, CKernelMeanMatching, CDomainAdaptationMulticlassLibLinear, CTaskRelation, CROCEvaluation, CGaussianBlobsDataGenerator, CSubset, CIndexBlockRelation, CECOCEncoder, CMulticlassTreeGuidedLogisticRegression, CBalancedConditionalProbabilityTree, CTreeMachineNode< T >, CFactorType, CSOSVMHelper, CTreeMachineNode< ConditionalProbabilityTreeNodeData >, CTreeMachineNode< RelaxedTreeNodeData >, CTreeMachineNode< VwConditionalProbabilityTreeNodeData >, CMKLClassification, CMKLOneClass, CGPBTSVM, CLibSVMOneClass, CGradientResult, CDirectSparseLinearSolver, CECOCIHDDecoder, CMulticlassLogisticRegression, CConditionalProbabilityTree, CRelaxedTree, CGNPPSVM, CMPDSVM, CProbitLikelihood, CECOCRandomDenseEncoder, CShareBoost, CTreeMachine< T >, CTreeMachine< ConditionalProbabilityTreeNodeData >, CTreeMachine< RelaxedTreeNodeData >, CTreeMachine< VwConditionalProbabilityTreeNodeData >, CMulticlassOCAS, CPRCEvaluation, CStratifiedCrossValidationSplitting, CGUIMath, CGUITime, CLogitLikelihood, CSparseInverseCovariance, CDisjointSet, CTDistributedStochasticNeighborEmbedding, CCrossValidationSplitting, CDenseSubsetFeatures< ST >, CECOCForestEncoder, CFactorAnalysis, CManifoldSculpting, CCrossValidationPrintOutput, CJobResult, CECOCAEDDecoder, CCrossValidationMKLStorage, CFunction, CECOCDecoder, CECOCEDDecoder, CData, CZeroMean, CNativeMulticlassMachine, CECOCStrategy, CConverter, CECOCSimpleDecoder, CLOOCrossValidationSplitting, SerializableAsciiReader00, CBaseMulticlassMachine, CECOCLLBDecoder, CStructuredData, CECOCHDDecoder, CRandomConditionalProbabilityTree, CECOCOVOEncoder, CECOCOVREncoder, and CRejectionStrategy.


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

SHOGUN Machine Learning Toolbox - Documentation