SHOGUN
3.2.1
|
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.
Public Member Functions | |
SGRefObject () | |
SGRefObject (const SGRefObject &orig) | |
virtual | ~SGRefObject () |
virtual const char * | get_name () const =0 |
SGRefObject | ( | ) |
default constructor
Definition at line 22 of file SGRefObject.cpp.
SGRefObject | ( | const SGRefObject & | orig | ) |
copy constructor
Definition at line 30 of file SGRefObject.cpp.
|
virtual |
destructor
Definition at line 38 of file SGRefObject.cpp.
|
pure virtual |
Returns the name of the SGSerializable instance. It MUST BE the CLASS NAME without the prefixed `C'.
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, CList, CDynProg, CLibSVMFile, CDenseFeatures< ST >, CDenseFeatures< uint32_t >, CDenseFeatures< float64_t >, CDenseFeatures< T >, CDenseFeatures< uint16_t >, CFile, CStatistics, CSparseFeatures< T >, CSparseFeatures< ST >, CSparseFeatures< float64_t >, CSpecificityMeasure, CPrecisionMeasure, CPlif, CRecallMeasure, CUAIFile, CDynamicObjectArray, SGDynamicRefObjectArray, CCrossCorrelationMeasure, CCSVFile, CF1Measure, CLaRank, CBinaryFile, CWRACCMeasure, CProtobufFile, CRBM, CTaxonomy, CBALMeasure, CBitString, CStreamingVwFeatures, CStreamingSparseFeatures< T >, CErrorRateMeasure, CMultitaskKernelPlifNormalizer, CWDSVMOcas, CMachine, CAccuracyMeasure, CStreamingFile, CQuadraticTimeMMD, CRandom, CNeuralLayer, CStreamingMMD, CMemoryMappedFile< T >, CMultitaskKernelMaskNormalizer, CMemoryMappedFile< ST >, CAlphabet, CMKL, CLMNNStatistics, CStructuredModel, 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< ST > >, CFeatureSelection< ST >, CFeatureSelection< float64_t >, CMultitaskKernelMaskPairNormalizer, CSVM, CMultitaskKernelNormalizer, CNeuralNetwork, CGUIClassifier, CGaussian, CGUIFeatures, CGMM, CHashedWDFeaturesTransposed, CBinaryStream< T >, CLinearHMM, CSimpleFile< T >, CDeepBeliefNetwork, CStreamingStringFeatures< T >, CParameterCombination, CNeuralLinearLayer, CStateModel, CMulticlassSVM, CRandomKitchenSinksDotFeatures, COnlineLinearMachine, CVwParser, CPluginEstimate, CVowpalWabbit, CBinnedDotFeatures, CSVMOcas, CPlifMatrix, CHashedWDFeatures, CNeuralConvolutionalLayer, CCrossValidation, CImplicitWeightedSpecFeatures, CCombinedFeatures, CSparseMatrixOperator< T >, CSNPFeatures, CWDFeatures, CCrossValidationMulticlassStorage, CHashedDenseFeatures< ST >, CIOBuffer, CPCA, CLossFunction, CTwoStateModel, CHMSVMModel, CKMeans, CLeastAngleRegression, CKNN, CRandomFourierGaussPreproc, CMKLMulticlass, CGUIKernel, CHashedSparseFeatures< ST >, CExplicitSpecFeatures, CHypothesisTest, CLibLinearMTL, CModelSelectionParameters, CPositionalPWM, CHashedDocDotFeatures, CDeepAutoencoder, CGUIHMM, COnlineSVMSGD, CIntegration, CLibLinear, CJacobiEllipticFunctions, CLDA, CZeroMeanCenterKernelNormalizer, CSparsePolyFeatures, CSqrtDiagKernelNormalizer, CHuberLoss, CCplex, CFisherLDA, CScatterKernelNormalizer, CAutoencoder, CHSIC, CStochasticProximityEmbedding, CLatentModel, CRationalApproximation, CGMNPLib, CHashedMultilabelModel, CTableFactorType, CSVMSGD, CMulticlassMachine, CDixonQTestRejectionStrategy, CVwCacheReader, CLBPPyrDotFeatures, CRidgeKernelNormalizer, CLinearMachine, CMulticlassSOLabels, CDependenceMaximization, CSerializableAsciiFile, CSGDQN, CSNPStringKernel, CTime, CMatrixFeatures< ST >, CWeightedCommWordStringKernel, CHingeLoss, CTwoSampleTest, CSquaredLoss, CAbsoluteDeviationLoss, CExponentialLoss, CQPBSVMLib, CCustomKernel, CSGObject, CMulticlassLabels, CHash, CFactor, CPlifArray, CLinearTimeMMD, CStreamingHashedDocDotFeatures, CStreamingVwFile, CKernelIndependenceTest, CCustomDistance, CWeightedDegreeStringKernel, CKernelRidgeRegression, CBaggingMachine, CQDA, CNeuralLayers, CNeuralLogisticLayer, CNeuralRectifiedLinearLayer, CTOPFeatures, CDiceKernelNormalizer, CHierarchicalMultilabelModel, CMultitaskKernelMklNormalizer, CTask, CVwEnvironment, CDomainAdaptationSVMLinear, CBinaryLabels, CCHAIDTree, CKernelTwoSampleTest, CMultilabelSOLabels, CWeightedDegreePositionStringKernel, CMAPInferImpl, CTanimotoKernelNormalizer, CCircularBuffer, CMCLDA, CMultilabelModel, CStreamingHashedDenseFeatures< ST >, CStreamingHashedSparseFeatures< ST >, CBesselKernel, CAvgDiagKernelNormalizer, CVarianceKernelNormalizer, CMulticlassModel, COnlineLibLinear, CGaussianDistribution, CIndexFeatures, CCARTree, CHierarchical, CIndependenceTest, CFKFeatures, CCombinedKernel, CSparseSpatialSampleStringKernel, CSpectrumMismatchRBFKernel, COperatorFunction< T >, CMultilabelCLRModel, COperatorFunction< float64_t >, CVwRegressor, CHashedDocConverter, CStreamingAsciiFile, CFactorGraphLabels, CDotKernel, CGaussianKernel, CCommWordStringKernel, CSubsequenceStringKernel, CSet< T >, CGraphCut, CDataGenerator, CSequenceLabels, CPolyFeatures, CLibSVR, CNode, CContingencyTableEvaluation, CChi2Kernel, CPyramidChi2, CDenseMatrixOperator< T >, CDenseMatrixOperator< float64_t >, CSignal, CSalzbergWordStringKernel, CStructuredLabels, CSquaredHingeLoss, CKLApproxDiagonalInferenceMethod, CKLInferenceMethod, CLPBoost, CNewtonSVM, CKLCholeskyInferenceMethod, CKLCovarianceInferenceMethod, CVwLearner, CCommUlongStringKernel, CCompressor, CIterativeLinearSolver< T, ST >, CHomogeneousKernelMap, CIterativeLinearSolver< float64_t, float64_t >, CIterativeLinearSolver< complex128_t, float64_t >, CIterativeLinearSolver< T, T >, CSVMLin, CHistogram, CGaussianShiftKernel, CGCArray< T >, CIndexBlockTree, CNeuralSoftmaxLayer, CLocallyLinearEmbedding, CMahalanobisDistance, CAttributeFeatures, CRandomFourierDotFeatures, CFirstElementKernelNormalizer, CMap< T, K >, CLogLoss, CLogLossMargin, CSmoothHingeLoss, CKLLowerTriangularInferenceMethod, CMap< shogun::TParameter *, shogun::SGVector< float64_t > >, CMap< shogun::TParameter *, shogun::CSGObject * >, CGNPPLib, CVwNativeCacheReader, CDistanceKernel, CLatentLabels, CLaplacianInferenceMethodWithLBFGS, CSpectrumRBFKernel, CMultilabelLabels, CMMDKernelSelection, CSegmentLoss, CKernelDistance, CScatterSVM, CLinearRidgeRegression, CStreamingFileFromFeatures, CPolyMatchStringKernel, CKLDualInferenceMethod, COligoStringKernel, CSimpleLocalityImprovedStringKernel, CLogitDVGLikelihood, CLogDetEstimator, CKernelSelection, CGaussianProcessBinaryClassification, CLPM, CStreamingVwCacheFile, CCircularKernel, CConstKernel, CDiagKernel, CSphericalKernel, CEigenSolver, CC45ClassifierTree, CEmbeddingConverter, CEuclideanDistance, CWeightedMajorityVote, CMulticlassOVREvaluation, CPolyKernel, CPolyMatchWordStringKernel, CID3ClassifierTree, CNeuralInputLayer, CMultitaskClusteredLogisticRegression, CNearestCentroid, CMultidimensionalScaling, CANOVAKernel, CProductKernel, CSparseKernel< ST >, CGaussianMatchStringKernel, CLanczosEigenSolver, CKernelPCA, CStreamingFileFromDenseFeatures< T >, CStreamingFileFromSparseFeatures< T >, CStreamingFileFromStringFeatures< T >, CFixedDegreeStringKernel, CStringKernel< ST >, CTensorProductPairKernel, CRandomForest, CGaussianNaiveBayes, CStringKernel< uint16_t >, CStringKernel< char >, CStringKernel< uint64_t >, CParser, CTStudentKernel, CWaveletKernel, CTraceSampler, CMulticlassOneVsRestStrategy, CGaussianProcessRegression, MKLMulticlassGradient, CDiffusionMaps, CMinkowskiMetric, CExponentialKernel, CLaplacianEigenmaps, CAttenuatedEuclideanDistance, CKernelDensity, CCauchyKernel, CLogKernel, CPowerKernel, CRationalQuadraticKernel, CWaveKernel, CKernelMachine, CDistantSegmentsKernel, CLocalityImprovedStringKernel, CMatchWordStringKernel, CRegulatoryModulesStringKernel, CDistanceMachine, CBAHSIC, CAUCKernel, CHistogramIntersectionKernel, CSigmoidKernel, CStructuredOutputMachine, CKernelDependenceMaximization, CInverseMultiQuadricKernel, CFFDiag, CJADiag, CJADiagOrth, CLabelsFactory, CJediDiag, CQDiag, CUWedge, CTreeMachineNode< T >, CLibLinearRegression, CMMDKernelSelectionCombOpt, CTreeMachineNode< ConditionalProbabilityTreeNodeData >, CTreeMachineNode< RelaxedTreeNodeData >, CTreeMachineNode< id3TreeNodeData >, CTreeMachineNode< VwConditionalProbabilityTreeNodeData >, CTreeMachineNode< CARTreeNodeData >, CTreeMachineNode< C45TreeNodeData >, CTreeMachineNode< CHAIDTreeNodeData >, CTreeMachineNode< NbodyTreeNodeData >, CMulticlassAccuracy, CGaussianARDKernel, CGaussianShortRealKernel, CMultiquadricKernel, CLocalAlignmentStringKernel, CDualVariationalGaussianLikelihood, CExactInferenceMethod, CLogitVGPiecewiseBoundLikelihood, CPerceptron, CICAConverter, CSplineKernel, CDelimiterTokenizer, CDimensionReductionPreprocessor, CGHMM, CHistogramWordStringKernel, CLogRationalApproximationIndividual, CTaskTree, CProbabilityDistribution, CConstMean, CNumericalVGLikelihood, CStochasticGBMachine, CMatrixOperator< T >, CTreeMachine< T >, CMultitaskROCEvaluation, CTreeMachine< ConditionalProbabilityTreeNodeData >, CTreeMachine< RelaxedTreeNodeData >, CTreeMachine< id3TreeNodeData >, CTreeMachine< VwConditionalProbabilityTreeNodeData >, CTreeMachine< CARTreeNodeData >, CTreeMachine< C45TreeNodeData >, CTreeMachine< CHAIDTreeNodeData >, CTreeMachine< NbodyTreeNodeData >, CCanberraMetric, CCosineDistance, CManhattanMetric, CLineReader, CJensenShannonKernel, CLinearKernel, CLinearOperator< RetType, OperandType >, CCGMShiftedFamilySolver, CIterativeShiftedLinearFamilySolver< T, ST >, CLogRationalApproximationCGM, CMMDKernelSelectionCombMaxL2, CDualLibQPBMSOSVM, CMultitaskL12LogisticRegression, CLinearOperator< SGVector< T >, SGVector< T > >, CLinearOperator< shogun::SGVector< complex128_t >, shogun::SGVector< complex128_t > >, CLinearOperator< shogun::SGVector< float64_t >, shogun::SGVector< float64_t > >, CLinearOperator< shogun::SGVector< T >, shogun::SGVector< T > >, CIterativeShiftedLinearFamilySolver< float64_t, complex128_t >, CGeodesicMetric, CJensenMetric, CTanimotoDistance, CIdentityKernelNormalizer, CLinearStringKernel, CFITCInferenceMethod, CLaplacianInferenceMethod, CLinearStructuredOutputMachine, CDecompressString< ST >, CGUIConverter, CNGramTokenizer, CStudentsTVGLikelihood, CMMDKernelSelectionMedian, MKLMulticlassGLPK, CChiSquareDistance, CHammingWordDistance, CLogitVGLikelihood, CProbitVGLikelihood, CRandomSearchModelSelection, CGUILabels, CAveragedPerceptron, CSOBI, CKernelLocallyLinearEmbedding, CSparseDistance< ST >, CCrossValidationResult, CLatentFeatures, CBinaryTreeMachineNode< T >, CMMDKernelSelectionOpt, CSparseDistance< float64_t >, CFFSep, CBrayCurtisDistance, CChebyshewMetric, CFactorGraphFeatures, CRegressionLabels, CNbodyTree, CSparsePreprocessor< ST >, CLeastSquaresRegression, MKLMulticlassOptimizationBase, CVwNativeCacheWriter, CJediSep, CUWedgeSep, CSparseEuclideanDistance, CRealFileFeatures, CLinearARDKernel, CJobResultAggregator, CMulticlassOneVsOneStrategy, CPNorm, CGUIPluginEstimate, CVwAdaptiveLearner, CStringDistance< ST >, CLinearLatentMachine, CDenseMatrixExactLog, CRescaleFeatures, CSparseMultilabel, CStringDistance< uint16_t >, CVwNonAdaptiveLearner, CStructuredAccuracy, CWeightedDegreeRBFKernel, CECOCRandomSparseEncoder, CMulticlassStrategy, CLogPlusOne, CGradientCriterion, CLatentSVM, CIndependentJob, CEPInferenceMethod, CGMNPSVM, CNormOne, CFactorGraphObservation, CSoftMaxLikelihood, CMAPInference, CLibSVM, CMixtureModel, CStringFileFeatures< ST >, CScalarResult< T >, CDirectLinearSolverComplex, CIndividualJobResultAggregator, CBallTree, CKDTree, CStringPreprocessor< ST >, CSumOne, CMultitaskTraceLogisticRegression, CStringPreprocessor< uint16_t >, CStringPreprocessor< uint64_t >, CFastICA, CCanberraWordDistance, CManhattanWordDistance, CCrossValidationOutput, CLinearMulticlassMachine, CRationalApproximationCGMJob, CECOCDiscriminantEncoder, CRandomCARTree, CSortWordString, CResultSet, CMultitaskLogisticRegression, CTaskGroup, CGUIDistance, CRationalApproximationIndividualJob, CPruneVarSubMean, CCCSOSVM, CIntronList, CRealNumber, CJade, CStoreVectorAggregator< T >, CIndexBlock, CIndexBlockGroup, CConjugateOrthogonalCGSolver, CGradientModelSelection, CSortUlongString, CSequence, CGUIPreprocessor, CStoreVectorAggregator< complex128_t >, CMeanSquaredError, CMeanSquaredLogError, CLatentSOSVM, CStudentsTLikelihood, CFeatureBlockLogisticRegression, CMeanAbsoluteError, CDummyFeatures, CListElement, CDenseExactLogJob, CMulticlassLibLinear, CIsomap, CDenseDistance< ST >, CRealDistance, CLMNN, CMMDKernelSelectionMax, CDenseDistance< float64_t >, CLinearLocalTangentSpaceAlignment, CNeighborhoodPreservingEmbedding, CIndependentComputationEngine, CVectorResult< T >, CKernelStructuredOutputMachine, CThresholdRejectionStrategy, CVwConditionalProbabilityTree, CHessianLocallyLinearEmbedding, CCustomMahalanobisDistance, CEMBase< T >, CCombinationRule, CClusteringAccuracy, CClusteringMutualInformation, CMultilabelAccuracy, CMeanShiftDataGenerator, CMMDKernelSelectionComb, CFactorGraphModel, CLocalTangentSpaceAlignment, CSubsetStack, CStoreScalarAggregator< T >, CGaussianLikelihood, CConjugateGradientSolver, CGridSearchModelSelection, CStochasticSOSVM, CMultitaskLeastSquaresRegression, CMajorityVote, CGaussianProcessMachine, CMultitaskLinearMachine, CMeanRule, CLocalityPreservingProjections, CGradientEvaluation, CDirectEigenSolver, CLinearSolver< T, ST >, CMulticlassLibSVM, CMKLRegression, CFactorDataSource, CFactorGraph, CTaskRelation, CLinearSolver< float64_t, float64_t >, CLinearSolver< complex128_t, float64_t >, CLinearSolver< T, T >, CSerialComputationEngine, CIndexBlockRelation, CECOCEncoder, CKernelMeanMatching, CLibSVMOneClass, CROCEvaluation, CGaussianBlobsDataGenerator, CBalancedConditionalProbabilityTree, CFactorType, CSOSVMHelper, CMKLOneClass, CGPBTSVM, CMPDSVM, CGradientResult, CKernelMulticlassMachine, CNormalSampler, CECOCIHDDecoder, CConditionalProbabilityTree, CRelaxedTree, CDomainAdaptationMulticlassLibLinear, CMKLClassification, CSubset, CECOCRandomDenseEncoder, CMulticlassTreeGuidedLogisticRegression, CShareBoost, CGNPPSVM, CDirectSparseLinearSolver, CMulticlassLogisticRegression, CMulticlassOCAS, CPRCEvaluation, CStratifiedCrossValidationSplitting, CProbitLikelihood, CSparseInverseCovariance, CDisjointSet, CCrossValidationSplitting, CDenseSubsetFeatures< ST >, CECOCForestEncoder, CGUIMath, CGUITime, CLogitLikelihood, CTDistributedStochasticNeighborEmbedding, CCrossValidationPrintOutput, CFactorAnalysis, CManifoldSculpting, CCrossValidationMKLStorage, SerializableAsciiReader00, CJobResult, CFunction, CECOCAEDDecoder, CECOCDecoder, CECOCEDDecoder, CData, CZeroMean, CNativeMulticlassMachine, CECOCStrategy, CConverter, CBaseMulticlassMachine, CECOCSimpleDecoder, CLOOCrossValidationSplitting, CECOCLLBDecoder, CStructuredData, CECOCHDDecoder, CRandomConditionalProbabilityTree, CECOCOVOEncoder, CECOCOVREncoder, and CRejectionStrategy.