SHOGUN
v2.0.0
|
00001 /* 00002 * THIS IS A GENERATED FILE! DO NOT CHANGE THIS FILE! CHANGE THE 00003 * CORRESPONDING LIBSHOGUN FILE, PLEASE! 00004 */ 00005 00006 /* 00007 * This program is free software; you can redistribute it and/or modify 00008 * it under the terms of the GNU General Public License as published by 00009 * the Free Software Foundation; either version 3 of the License, or 00010 * (at your option) any later version. 00011 * 00012 * Written (W) 2009 Soeren Sonnenburg 00013 * Copyright (C) 2009 Fraunhofer Institute FIRST and Max-Planck-Society 00014 */ 00015 00016 #include "lib/common.h" 00017 #include "base/class_list.h" 00018 00019 #include <string.h> 00020 00021 #include "kernel/Kernel.h" 00022 00023 #include "ui/GUITime.h" 00024 #include "ui/GUIStructure.h" 00025 #include "ui/GUIPreprocessor.h" 00026 #include "ui/GUIPluginEstimate.h" 00027 #include "ui/GUIMath.h" 00028 #include "ui/GUILabels.h" 00029 #include "ui/GUIKernel.h" 00030 #include "ui/GUIHMM.h" 00031 #include "ui/GUIFeatures.h" 00032 #include "ui/GUIDistance.h" 00033 #include "ui/GUIConverter.h" 00034 #include "ui/GUIClassifier.h" 00035 #include "transfer/multitask/TaskTree.h" 00036 #include "transfer/multitask/TaskGroup.h" 00037 #include "transfer/multitask/Task.h" 00038 #include "transfer/multitask/MultitaskTraceLogisticRegression.h" 00039 #include "transfer/multitask/MultitaskROCEvaluation.h" 00040 #include "transfer/multitask/MultitaskLogisticRegression.h" 00041 #include "transfer/multitask/MultitaskLinearMachine.h" 00042 #include "transfer/multitask/MultitaskLeastSquaresRegression.h" 00043 #include "transfer/multitask/MultitaskL12LogisticRegression.h" 00044 #include "transfer/multitask/MultitaskKernelTreeNormalizer.h" 00045 #include "transfer/multitask/MultitaskKernelPlifNormalizer.h" 00046 #include "transfer/multitask/MultitaskKernelNormalizer.h" 00047 #include "transfer/multitask/MultitaskKernelMaskPairNormalizer.h" 00048 #include "transfer/multitask/MultitaskKernelMaskNormalizer.h" 00049 #include "transfer/multitask/MultitaskCompositeMachine.h" 00050 #include "transfer/multitask/MultitaskClusteredLogisticRegression.h" 00051 #include "transfer/multitask/LibLinearMTL.h" 00052 #include "transfer/domain_adaptation/DomainAdaptationSVMLinear.h" 00053 #include "transfer/domain_adaptation/DomainAdaptationMulticlassLibLinear.h" 00054 #include "structure/TwoStateModel.h" 00055 #include "structure/SegmentLoss.h" 00056 #include "structure/PlifMatrix.h" 00057 #include "structure/PlifArray.h" 00058 #include "structure/Plif.h" 00059 #include "structure/MulticlassSOLabels.h" 00060 #include "structure/MulticlassModel.h" 00061 #include "structure/IntronList.h" 00062 #include "structure/HMSVMModel.h" 00063 #include "structure/HMSVMLabels.h" 00064 #include "structure/DynProg.h" 00065 #include "structure/DualLibQPBMSOSVM.h" 00066 #include "statistics/QuadraticTimeMMD.h" 00067 #include "statistics/LinearTimeMMD.h" 00068 #include "statistics/KernelMeanMatching.h" 00069 #include "statistics/HSIC.h" 00070 #include "regression/svr/MKLRegression.h" 00071 #include "regression/svr/LibSVR.h" 00072 #include "regression/svr/LibLinearRegression.h" 00073 #include "regression/gp/ZeroMean.h" 00074 #include "regression/LinearRidgeRegression.h" 00075 #include "regression/LeastSquaresRegression.h" 00076 #include "regression/LeastAngleRegression.h" 00077 #include "regression/KernelRidgeRegression.h" 00078 #include "preprocessor/SumOne.h" 00079 #include "preprocessor/SortWordString.h" 00080 #include "preprocessor/SortUlongString.h" 00081 #include "preprocessor/RandomFourierGaussPreproc.h" 00082 #include "preprocessor/PruneVarSubMean.h" 00083 #include "preprocessor/PNorm.h" 00084 #include "preprocessor/PCA.h" 00085 #include "preprocessor/NormOne.h" 00086 #include "preprocessor/LogPlusOne.h" 00087 #include "preprocessor/KernelPCA.h" 00088 #include "preprocessor/HomogeneousKernelMap.h" 00089 #include "preprocessor/DimensionReductionPreprocessor.h" 00090 #include "preprocessor/DecompressString.h" 00091 #include "multiclass/tree/TreeMachine.h" 00092 #include "multiclass/tree/RelaxedTree.h" 00093 #include "multiclass/tree/RandomConditionalProbabilityTree.h" 00094 #include "multiclass/tree/BalancedConditionalProbabilityTree.h" 00095 #include "multiclass/ecoc/ECOCStrategy.h" 00096 #include "multiclass/ecoc/ECOCRandomSparseEncoder.h" 00097 #include "multiclass/ecoc/ECOCRandomDenseEncoder.h" 00098 #include "multiclass/ecoc/ECOCOVREncoder.h" 00099 #include "multiclass/ecoc/ECOCOVOEncoder.h" 00100 #include "multiclass/ecoc/ECOCLLBDecoder.h" 00101 #include "multiclass/ecoc/ECOCIHDDecoder.h" 00102 #include "multiclass/ecoc/ECOCHDDecoder.h" 00103 #include "multiclass/ecoc/ECOCForestEncoder.h" 00104 #include "multiclass/ecoc/ECOCEDDecoder.h" 00105 #include "multiclass/ecoc/ECOCDiscriminantEncoder.h" 00106 #include "multiclass/ecoc/ECOCAEDDecoder.h" 00107 #include "multiclass/ShareBoost.h" 00108 #include "multiclass/ScatterSVM.h" 00109 #include "multiclass/QDA.h" 00110 #include "multiclass/MulticlassSVM.h" 00111 #include "multiclass/MulticlassOneVsRestStrategy.h" 00112 #include "multiclass/MulticlassOneVsOneStrategy.h" 00113 #include "multiclass/MulticlassOCAS.h" 00114 #include "multiclass/MulticlassLibSVM.h" 00115 #include "multiclass/MulticlassLibLinear.h" 00116 #include "multiclass/LaRank.h" 00117 #include "multiclass/KNN.h" 00118 #include "multiclass/GaussianNaiveBayes.h" 00119 #include "multiclass/GMNPSVM.h" 00120 #include "multiclass/GMNPLib.h" 00121 #include "multiclass/ConjugateIndex.h" 00122 #include "modelselection/RandomSearchModelSelection.h" 00123 #include "modelselection/ParameterCombination.h" 00124 #include "modelselection/ModelSelectionParameters.h" 00125 #include "modelselection/GridSearchModelSelection.h" 00126 #include "modelselection/GradientModelSelection.h" 00127 #include "mathematics/Statistics.h" 00128 #include "mathematics/SparseInverseCovariance.h" 00129 #include "mathematics/Math.h" 00130 #include "machine/StructuredOutputMachine.h" 00131 #include "machine/OnlineLinearMachine.h" 00132 #include "machine/NativeMulticlassMachine.h" 00133 #include "machine/Machine.h" 00134 #include "machine/LinearStructuredOutputMachine.h" 00135 #include "machine/LinearMulticlassMachine.h" 00136 #include "machine/LinearMachine.h" 00137 #include "machine/KernelStructuredOutputMachine.h" 00138 #include "machine/KernelMulticlassMachine.h" 00139 #include "machine/KernelMachine.h" 00140 #include "machine/DistanceMachine.h" 00141 #include "machine/BaseMulticlassMachine.h" 00142 #include "loss/SquaredLoss.h" 00143 #include "loss/SquaredHingeLoss.h" 00144 #include "loss/SmoothHingeLoss.h" 00145 #include "loss/LogLossMargin.h" 00146 #include "loss/LogLoss.h" 00147 #include "loss/HingeLoss.h" 00148 #include "lib/Time.h" 00149 #include "lib/StructuredData.h" 00150 #include "lib/Signal.h" 00151 #include "lib/Set.h" 00152 #include "lib/List.h" 00153 #include "lib/IndexBlockTree.h" 00154 #include "lib/IndexBlockGroup.h" 00155 #include "lib/IndexBlock.h" 00156 #include "lib/Hash.h" 00157 #include "lib/FibonacciHeap.h" 00158 #include "lib/DynamicObjectArray.h" 00159 #include "lib/DynamicArray.h" 00160 #include "lib/Data.h" 00161 #include "lib/Compressor.h" 00162 #include "lib/Cache.h" 00163 #include "lib/BitString.h" 00164 #include "latent/LatentSVM.h" 00165 #include "latent/LatentSOSVM.h" 00166 #include "labels/StructuredLabels.h" 00167 #include "labels/RegressionLabels.h" 00168 #include "labels/MulticlassMultipleOutputLabels.h" 00169 #include "labels/MulticlassLabels.h" 00170 #include "labels/LatentLabels.h" 00171 #include "labels/BinaryLabels.h" 00172 #include "kernel/string/WeightedDegreeStringKernel.h" 00173 #include "kernel/string/WeightedDegreePositionStringKernel.h" 00174 #include "kernel/string/WeightedCommWordStringKernel.h" 00175 #include "kernel/string/SpectrumRBFKernel.h" 00176 #include "kernel/string/SpectrumMismatchRBFKernel.h" 00177 #include "kernel/string/SparseSpatialSampleStringKernel.h" 00178 #include "kernel/string/SimpleLocalityImprovedStringKernel.h" 00179 #include "kernel/string/SalzbergWordStringKernel.h" 00180 #include "kernel/string/SNPStringKernel.h" 00181 #include "kernel/string/RegulatoryModulesStringKernel.h" 00182 #include "kernel/string/PolyMatchWordStringKernel.h" 00183 #include "kernel/string/PolyMatchStringKernel.h" 00184 #include "kernel/string/OligoStringKernel.h" 00185 #include "kernel/string/MatchWordStringKernel.h" 00186 #include "kernel/string/LocalityImprovedStringKernel.h" 00187 #include "kernel/string/LocalAlignmentStringKernel.h" 00188 #include "kernel/string/LinearStringKernel.h" 00189 #include "kernel/string/HistogramWordStringKernel.h" 00190 #include "kernel/string/GaussianMatchStringKernel.h" 00191 #include "kernel/string/FixedDegreeStringKernel.h" 00192 #include "kernel/string/DistantSegmentsKernel.h" 00193 #include "kernel/string/CommWordStringKernel.h" 00194 #include "kernel/string/CommUlongStringKernel.h" 00195 #include "kernel/normalizer/ZeroMeanCenterKernelNormalizer.h" 00196 #include "kernel/normalizer/VarianceKernelNormalizer.h" 00197 #include "kernel/normalizer/TanimotoKernelNormalizer.h" 00198 #include "kernel/normalizer/SqrtDiagKernelNormalizer.h" 00199 #include "kernel/normalizer/ScatterKernelNormalizer.h" 00200 #include "kernel/normalizer/RidgeKernelNormalizer.h" 00201 #include "kernel/normalizer/IdentityKernelNormalizer.h" 00202 #include "kernel/normalizer/FirstElementKernelNormalizer.h" 00203 #include "kernel/normalizer/DiceKernelNormalizer.h" 00204 #include "kernel/normalizer/AvgDiagKernelNormalizer.h" 00205 #include "kernel/WeightedDegreeRBFKernel.h" 00206 #include "kernel/WaveletKernel.h" 00207 #include "kernel/WaveKernel.h" 00208 #include "kernel/TensorProductPairKernel.h" 00209 #include "kernel/TStudentKernel.h" 00210 #include "kernel/SplineKernel.h" 00211 #include "kernel/SphericalKernel.h" 00212 #include "kernel/SigmoidKernel.h" 00213 #include "kernel/RationalQuadraticKernel.h" 00214 #include "kernel/PyramidChi2.h" 00215 #include "kernel/ProductKernel.h" 00216 #include "kernel/PowerKernel.h" 00217 #include "kernel/PolyKernel.h" 00218 #include "kernel/MultiquadricKernel.h" 00219 #include "kernel/LogKernel.h" 00220 #include "kernel/LinearKernel.h" 00221 #include "kernel/LinearARDKernel.h" 00222 #include "kernel/JensenShannonKernel.h" 00223 #include "kernel/InverseMultiQuadricKernel.h" 00224 #include "kernel/HistogramIntersectionKernel.h" 00225 #include "kernel/GaussianShortRealKernel.h" 00226 #include "kernel/GaussianShiftKernel.h" 00227 #include "kernel/GaussianKernel.h" 00228 #include "kernel/GaussianARDKernel.h" 00229 #include "kernel/ExponentialKernel.h" 00230 #include "kernel/DistanceKernel.h" 00231 #include "kernel/DiagKernel.h" 00232 #include "kernel/CustomKernel.h" 00233 #include "kernel/ConstKernel.h" 00234 #include "kernel/CombinedKernel.h" 00235 #include "kernel/CircularKernel.h" 00236 #include "kernel/Chi2Kernel.h" 00237 #include "kernel/CauchyKernel.h" 00238 #include "kernel/BesselKernel.h" 00239 #include "kernel/AUCKernel.h" 00240 #include "kernel/ANOVAKernel.h" 00241 #include "io/streaming/StreamingVwFile.h" 00242 #include "io/streaming/StreamingVwCacheFile.h" 00243 #include "io/streaming/StreamingFileFromStringFeatures.h" 00244 #include "io/streaming/StreamingFileFromSparseFeatures.h" 00245 #include "io/streaming/StreamingFileFromFeatures.h" 00246 #include "io/streaming/StreamingFileFromDenseFeatures.h" 00247 #include "io/streaming/StreamingFile.h" 00248 #include "io/streaming/StreamingAsciiFile.h" 00249 #include "io/streaming/ParseBuffer.h" 00250 #include "io/SimpleFile.h" 00251 #include "io/SerializableAsciiFile.h" 00252 #include "io/MemoryMappedFile.h" 00253 #include "io/IOBuffer.h" 00254 #include "io/BinaryStream.h" 00255 #include "io/BinaryFile.h" 00256 #include "io/AsciiFile.h" 00257 #include "features/streaming/StreamingVwFeatures.h" 00258 #include "features/streaming/StreamingStringFeatures.h" 00259 #include "features/streaming/StreamingSparseFeatures.h" 00260 #include "features/streaming/StreamingDenseFeatures.h" 00261 #include "features/WDFeatures.h" 00262 #include "features/TOPFeatures.h" 00263 #include "features/SubsetStack.h" 00264 #include "features/Subset.h" 00265 #include "features/StringFileFeatures.h" 00266 #include "features/StringFeatures.h" 00267 #include "features/SparsePolyFeatures.h" 00268 #include "features/SparseFeatures.h" 00269 #include "features/SNPFeatures.h" 00270 #include "features/RealFileFeatures.h" 00271 #include "features/PolyFeatures.h" 00272 #include "features/MatrixFeatures.h" 00273 #include "features/LatentFeatures.h" 00274 #include "features/LBPPyrDotFeatures.h" 00275 #include "features/ImplicitWeightedSpecFeatures.h" 00276 #include "features/HashedWDFeaturesTransposed.h" 00277 #include "features/HashedWDFeatures.h" 00278 #include "features/FKFeatures.h" 00279 #include "features/ExplicitSpecFeatures.h" 00280 #include "features/DummyFeatures.h" 00281 #include "features/DenseSubsetFeatures.h" 00282 #include "features/DenseFeatures.h" 00283 #include "features/DataGenerator.h" 00284 #include "features/CombinedFeatures.h" 00285 #include "features/CombinedDotFeatures.h" 00286 #include "features/BinnedDotFeatures.h" 00287 #include "features/Alphabet.h" 00288 #include "evaluation/StructuredAccuracy.h" 00289 #include "evaluation/StratifiedCrossValidationSplitting.h" 00290 #include "evaluation/ROCEvaluation.h" 00291 #include "evaluation/PRCEvaluation.h" 00292 #include "evaluation/MulticlassOVREvaluation.h" 00293 #include "evaluation/MulticlassAccuracy.h" 00294 #include "evaluation/MeanSquaredLogError.h" 00295 #include "evaluation/MeanSquaredError.h" 00296 #include "evaluation/MeanAbsoluteError.h" 00297 #include "evaluation/GradientResult.h" 00298 #include "evaluation/GradientEvaluation.h" 00299 #include "evaluation/GradientCriterion.h" 00300 #include "evaluation/CrossValidationSplitting.h" 00301 #include "evaluation/CrossValidationPrintOutput.h" 00302 #include "evaluation/CrossValidationMulticlassStorage.h" 00303 #include "evaluation/CrossValidationMKLStorage.h" 00304 #include "evaluation/CrossValidation.h" 00305 #include "evaluation/ContingencyTableEvaluation.h" 00306 #include "evaluation/ClusteringMutualInformation.h" 00307 #include "evaluation/ClusteringAccuracy.h" 00308 #include "distributions/PositionalPWM.h" 00309 #include "distributions/LinearHMM.h" 00310 #include "distributions/Histogram.h" 00311 #include "distributions/HMM.h" 00312 #include "distributions/Gaussian.h" 00313 #include "distributions/GHMM.h" 00314 #include "distance/TanimotoDistance.h" 00315 #include "distance/SparseEuclideanDistance.h" 00316 #include "distance/MinkowskiMetric.h" 00317 #include "distance/ManhattanWordDistance.h" 00318 #include "distance/ManhattanMetric.h" 00319 #include "distance/MahalanobisDistance.h" 00320 #include "distance/KernelDistance.h" 00321 #include "distance/JensenMetric.h" 00322 #include "distance/HammingWordDistance.h" 00323 #include "distance/GeodesicMetric.h" 00324 #include "distance/EuclideanDistance.h" 00325 #include "distance/CustomDistance.h" 00326 #include "distance/CosineDistance.h" 00327 #include "distance/ChiSquareDistance.h" 00328 #include "distance/ChebyshewMetric.h" 00329 #include "distance/CanberraWordDistance.h" 00330 #include "distance/CanberraMetric.h" 00331 #include "distance/BrayCurtisDistance.h" 00332 #include "distance/AttenuatedEuclideanDistance.h" 00333 #include "converter/StochasticProximityEmbedding.h" 00334 #include "converter/NeighborhoodPreservingEmbedding.h" 00335 #include "converter/MultidimensionalScaling.h" 00336 #include "converter/LocallyLinearEmbedding.h" 00337 #include "converter/LocalityPreservingProjections.h" 00338 #include "converter/LocalTangentSpaceAlignment.h" 00339 #include "converter/LinearLocalTangentSpaceAlignment.h" 00340 #include "converter/LaplacianEigenmaps.h" 00341 #include "converter/KernelLocallyLinearEmbedding.h" 00342 #include "converter/KernelLocalTangentSpaceAlignment.h" 00343 #include "converter/Isomap.h" 00344 #include "converter/HessianLocallyLinearEmbedding.h" 00345 #include "converter/DiffusionMaps.h" 00346 #include "clustering/KMeans.h" 00347 #include "clustering/Hierarchical.h" 00348 #include "clustering/GMM.h" 00349 #include "classifier/vw/learners/VwNonAdaptiveLearner.h" 00350 #include "classifier/vw/learners/VwAdaptiveLearner.h" 00351 #include "classifier/vw/cache/VwNativeCacheWriter.h" 00352 #include "classifier/vw/cache/VwNativeCacheReader.h" 00353 #include "classifier/vw/VwRegressor.h" 00354 #include "classifier/vw/VwParser.h" 00355 #include "classifier/vw/VwEnvironment.h" 00356 #include "classifier/vw/VowpalWabbit.h" 00357 #include "classifier/svm/WDSVMOcas.h" 00358 #include "classifier/svm/SubGradientSVM.h" 00359 #include "classifier/svm/SVMSGD.h" 00360 #include "classifier/svm/SVMOcas.h" 00361 #include "classifier/svm/SVMLin.h" 00362 #include "classifier/svm/SVM.h" 00363 #include "classifier/svm/SGDQN.h" 00364 #include "classifier/svm/QPBSVMLib.h" 00365 #include "classifier/svm/OnlineSVMSGD.h" 00366 #include "classifier/svm/OnlineLibLinear.h" 00367 #include "classifier/svm/NewtonSVM.h" 00368 #include "classifier/svm/MPDSVM.h" 00369 #include "classifier/svm/LibSVMOneClass.h" 00370 #include "classifier/svm/LibSVM.h" 00371 #include "classifier/svm/LibLinear.h" 00372 #include "classifier/svm/GPBTSVM.h" 00373 #include "classifier/svm/GNPPSVM.h" 00374 #include "classifier/svm/GNPPLib.h" 00375 #include "classifier/mkl/MKLOneClass.h" 00376 #include "classifier/mkl/MKLMulticlass.h" 00377 #include "classifier/mkl/MKLClassification.h" 00378 #include "classifier/PluginEstimate.h" 00379 #include "classifier/Perceptron.h" 00380 #include "classifier/NearestCentroid.h" 00381 #include "classifier/LDA.h" 00382 #include "classifier/FeatureBlockLogisticRegression.h" 00383 #include "classifier/AveragedPerceptron.h" 00384 using namespace shogun; 00385 00386 static CSGObject* __new_CGUITime(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUITime(): NULL; } 00387 static CSGObject* __new_CGUIStructure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIStructure(): NULL; } 00388 static CSGObject* __new_CGUIPreprocessor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIPreprocessor(): NULL; } 00389 static CSGObject* __new_CGUIPluginEstimate(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIPluginEstimate(): NULL; } 00390 static CSGObject* __new_CGUIMath(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIMath(): NULL; } 00391 static CSGObject* __new_CGUILabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUILabels(): NULL; } 00392 static CSGObject* __new_CGUIKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIKernel(): NULL; } 00393 static CSGObject* __new_CGUIHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIHMM(): NULL; } 00394 static CSGObject* __new_CGUIFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIFeatures(): NULL; } 00395 static CSGObject* __new_CGUIDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIDistance(): NULL; } 00396 static CSGObject* __new_CGUIConverter(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIConverter(): NULL; } 00397 static CSGObject* __new_CGUIClassifier(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIClassifier(): NULL; } 00398 static CSGObject* __new_CTaskTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTaskTree(): NULL; } 00399 static CSGObject* __new_CTaskGroup(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTaskGroup(): NULL; } 00400 static CSGObject* __new_CTask(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTask(): NULL; } 00401 static CSGObject* __new_CMultitaskTraceLogisticRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskTraceLogisticRegression(): NULL; } 00402 static CSGObject* __new_CMultitaskROCEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskROCEvaluation(): NULL; } 00403 static CSGObject* __new_CMultitaskLogisticRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskLogisticRegression(): NULL; } 00404 static CSGObject* __new_CMultitaskLinearMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskLinearMachine(): NULL; } 00405 static CSGObject* __new_CMultitaskLeastSquaresRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskLeastSquaresRegression(): NULL; } 00406 static CSGObject* __new_CMultitaskL12LogisticRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskL12LogisticRegression(): NULL; } 00407 static CSGObject* __new_CNode(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNode(): NULL; } 00408 static CSGObject* __new_CTaxonomy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTaxonomy(): NULL; } 00409 static CSGObject* __new_CMultitaskKernelTreeNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskKernelTreeNormalizer(): NULL; } 00410 static CSGObject* __new_CMultitaskKernelPlifNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskKernelPlifNormalizer(): NULL; } 00411 static CSGObject* __new_CMultitaskKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskKernelNormalizer(): NULL; } 00412 static CSGObject* __new_CMultitaskKernelMaskPairNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskKernelMaskPairNormalizer(): NULL; } 00413 static CSGObject* __new_CMultitaskKernelMaskNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskKernelMaskNormalizer(): NULL; } 00414 static CSGObject* __new_CMultitaskCompositeMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskCompositeMachine(): NULL; } 00415 static CSGObject* __new_CMultitaskClusteredLogisticRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskClusteredLogisticRegression(): NULL; } 00416 static CSGObject* __new_CLibLinearMTL(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibLinearMTL(): NULL; } 00417 static CSGObject* __new_CDomainAdaptationSVMLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDomainAdaptationSVMLinear(): NULL; } 00418 static CSGObject* __new_CDomainAdaptationMulticlassLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDomainAdaptationMulticlassLibLinear(): NULL; } 00419 static CSGObject* __new_CTwoStateModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTwoStateModel(): NULL; } 00420 static CSGObject* __new_CSegmentLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSegmentLoss(): NULL; } 00421 static CSGObject* __new_CPlifMatrix(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPlifMatrix(): NULL; } 00422 static CSGObject* __new_CPlifArray(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPlifArray(): NULL; } 00423 static CSGObject* __new_CPlif(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPlif(): NULL; } 00424 static CSGObject* __new_CMulticlassSOLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassSOLabels(): NULL; } 00425 static CSGObject* __new_CMulticlassModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassModel(): NULL; } 00426 static CSGObject* __new_CIntronList(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIntronList(): NULL; } 00427 static CSGObject* __new_CHMSVMModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHMSVMModel(): NULL; } 00428 static CSGObject* __new_CSequence(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSequence(): NULL; } 00429 static CSGObject* __new_CHMSVMLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHMSVMLabels(): NULL; } 00430 static CSGObject* __new_CDynProg(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDynProg(): NULL; } 00431 static CSGObject* __new_CDualLibQPBMSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDualLibQPBMSOSVM(): NULL; } 00432 static CSGObject* __new_CQuadraticTimeMMD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQuadraticTimeMMD(): NULL; } 00433 static CSGObject* __new_CLinearTimeMMD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearTimeMMD(): NULL; } 00434 static CSGObject* __new_CKernelMeanMatching(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelMeanMatching(): NULL; } 00435 static CSGObject* __new_CHSIC(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHSIC(): NULL; } 00436 static CSGObject* __new_CMKLRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLRegression(): NULL; } 00437 static CSGObject* __new_CLibSVR(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVR(): NULL; } 00438 static CSGObject* __new_CLibLinearRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibLinearRegression(): NULL; } 00439 static CSGObject* __new_CZeroMean(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CZeroMean(): NULL; } 00440 static CSGObject* __new_CLinearRidgeRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearRidgeRegression(): NULL; } 00441 static CSGObject* __new_CLeastSquaresRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLeastSquaresRegression(): NULL; } 00442 static CSGObject* __new_CLeastAngleRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLeastAngleRegression(): NULL; } 00443 static CSGObject* __new_CKernelRidgeRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelRidgeRegression(): NULL; } 00444 static CSGObject* __new_CSumOne(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSumOne(): NULL; } 00445 static CSGObject* __new_CSortWordString(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSortWordString(): NULL; } 00446 static CSGObject* __new_CSortUlongString(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSortUlongString(): NULL; } 00447 static CSGObject* __new_CRandomFourierGaussPreproc(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRandomFourierGaussPreproc(): NULL; } 00448 static CSGObject* __new_CPruneVarSubMean(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPruneVarSubMean(): NULL; } 00449 static CSGObject* __new_CPNorm(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPNorm(): NULL; } 00450 static CSGObject* __new_CPCA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPCA(): NULL; } 00451 static CSGObject* __new_CNormOne(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNormOne(): NULL; } 00452 static CSGObject* __new_CLogPlusOne(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogPlusOne(): NULL; } 00453 static CSGObject* __new_CKernelPCA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelPCA(): NULL; } 00454 static CSGObject* __new_CHomogeneousKernelMap(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHomogeneousKernelMap(): NULL; } 00455 static CSGObject* __new_CDimensionReductionPreprocessor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDimensionReductionPreprocessor(): NULL; } 00456 static CSGObject* __new_CTron(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTron(): NULL; } 00457 static CSGObject* __new_CRelaxedTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRelaxedTree(): NULL; } 00458 static CSGObject* __new_CRandomConditionalProbabilityTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRandomConditionalProbabilityTree(): NULL; } 00459 static CSGObject* __new_CBalancedConditionalProbabilityTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBalancedConditionalProbabilityTree(): NULL; } 00460 static CSGObject* __new_CECOCStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCStrategy(): NULL; } 00461 static CSGObject* __new_CECOCRandomSparseEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCRandomSparseEncoder(): NULL; } 00462 static CSGObject* __new_CECOCRandomDenseEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCRandomDenseEncoder(): NULL; } 00463 static CSGObject* __new_CECOCOVREncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCOVREncoder(): NULL; } 00464 static CSGObject* __new_CECOCOVOEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCOVOEncoder(): NULL; } 00465 static CSGObject* __new_CECOCLLBDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCLLBDecoder(): NULL; } 00466 static CSGObject* __new_CECOCIHDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCIHDDecoder(): NULL; } 00467 static CSGObject* __new_CECOCHDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCHDDecoder(): NULL; } 00468 static CSGObject* __new_CECOCForestEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCForestEncoder(): NULL; } 00469 static CSGObject* __new_CECOCEDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCEDDecoder(): NULL; } 00470 static CSGObject* __new_CECOCDiscriminantEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCDiscriminantEncoder(): NULL; } 00471 static CSGObject* __new_CECOCAEDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCAEDDecoder(): NULL; } 00472 static CSGObject* __new_CShareBoost(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CShareBoost(): NULL; } 00473 static CSGObject* __new_CScatterSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CScatterSVM(): NULL; } 00474 static CSGObject* __new_CThresholdRejectionStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CThresholdRejectionStrategy(): NULL; } 00475 static CSGObject* __new_CDixonQTestRejectionStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDixonQTestRejectionStrategy(): NULL; } 00476 static CSGObject* __new_CQDA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQDA(): NULL; } 00477 static CSGObject* __new_CMulticlassSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassSVM(): NULL; } 00478 static CSGObject* __new_CMulticlassOneVsRestStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassOneVsRestStrategy(): NULL; } 00479 static CSGObject* __new_CMulticlassOneVsOneStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassOneVsOneStrategy(): NULL; } 00480 static CSGObject* __new_CMulticlassOCAS(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassOCAS(): NULL; } 00481 static CSGObject* __new_CMulticlassLibSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLibSVM(): NULL; } 00482 static CSGObject* __new_CMulticlassLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLibLinear(): NULL; } 00483 static CSGObject* __new_CLaRank(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLaRank(): NULL; } 00484 static CSGObject* __new_CKNN(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKNN(): NULL; } 00485 static CSGObject* __new_CGaussianNaiveBayes(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianNaiveBayes(): NULL; } 00486 static CSGObject* __new_CGMNPSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGMNPSVM(): NULL; } 00487 static CSGObject* __new_CGMNPLib(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGMNPLib(): NULL; } 00488 static CSGObject* __new_CConjugateIndex(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CConjugateIndex(): NULL; } 00489 static CSGObject* __new_CRandomSearchModelSelection(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRandomSearchModelSelection(): NULL; } 00490 static CSGObject* __new_CParameterCombination(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CParameterCombination(): NULL; } 00491 static CSGObject* __new_CModelSelectionParameters(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CModelSelectionParameters(): NULL; } 00492 static CSGObject* __new_CGridSearchModelSelection(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGridSearchModelSelection(): NULL; } 00493 static CSGObject* __new_CGradientModelSelection(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientModelSelection(): NULL; } 00494 static CSGObject* __new_CStatistics(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStatistics(): NULL; } 00495 static CSGObject* __new_CSparseInverseCovariance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSparseInverseCovariance(): NULL; } 00496 static CSGObject* __new_CMath(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMath(): NULL; } 00497 static CSGObject* __new_CStructuredOutputMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredOutputMachine(): NULL; } 00498 static CSGObject* __new_COnlineLinearMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COnlineLinearMachine(): NULL; } 00499 static CSGObject* __new_CNativeMulticlassMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNativeMulticlassMachine(): NULL; } 00500 static CSGObject* __new_CMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMachine(): NULL; } 00501 static CSGObject* __new_CLinearStructuredOutputMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearStructuredOutputMachine(): NULL; } 00502 static CSGObject* __new_CLinearMulticlassMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearMulticlassMachine(): NULL; } 00503 static CSGObject* __new_CLinearMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearMachine(): NULL; } 00504 static CSGObject* __new_CKernelStructuredOutputMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelStructuredOutputMachine(): NULL; } 00505 static CSGObject* __new_CKernelMulticlassMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelMulticlassMachine(): NULL; } 00506 static CSGObject* __new_CKernelMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelMachine(): NULL; } 00507 static CSGObject* __new_CDistanceMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDistanceMachine(): NULL; } 00508 static CSGObject* __new_CBaseMulticlassMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBaseMulticlassMachine(): NULL; } 00509 static CSGObject* __new_CSquaredLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSquaredLoss(): NULL; } 00510 static CSGObject* __new_CSquaredHingeLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSquaredHingeLoss(): NULL; } 00511 static CSGObject* __new_CSmoothHingeLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSmoothHingeLoss(): NULL; } 00512 static CSGObject* __new_CLogLossMargin(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogLossMargin(): NULL; } 00513 static CSGObject* __new_CLogLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogLoss(): NULL; } 00514 static CSGObject* __new_CHingeLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHingeLoss(): NULL; } 00515 static CSGObject* __new_CTime(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTime(): NULL; } 00516 static CSGObject* __new_CStructuredData(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredData(): NULL; } 00517 static CSGObject* __new_CSignal(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSignal(): NULL; } 00518 static CSGObject* __new_CListElement(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CListElement(): NULL; } 00519 static CSGObject* __new_CList(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CList(): NULL; } 00520 static CSGObject* __new_CIndexBlockTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexBlockTree(): NULL; } 00521 static CSGObject* __new_CIndexBlockGroup(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexBlockGroup(): NULL; } 00522 static CSGObject* __new_CIndexBlock(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexBlock(): NULL; } 00523 static CSGObject* __new_CHash(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHash(): NULL; } 00524 static CSGObject* __new_CFibonacciHeap(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFibonacciHeap(): NULL; } 00525 static CSGObject* __new_CDynamicObjectArray(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDynamicObjectArray(): NULL; } 00526 static CSGObject* __new_CData(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CData(): NULL; } 00527 static CSGObject* __new_CCompressor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCompressor(): NULL; } 00528 static CSGObject* __new_CBitString(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBitString(): NULL; } 00529 static CSGObject* __new_CLatentSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentSVM(): NULL; } 00530 static CSGObject* __new_CLatentSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentSOSVM(): NULL; } 00531 static CSGObject* __new_CStructuredLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredLabels(): NULL; } 00532 static CSGObject* __new_CRegressionLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRegressionLabels(): NULL; } 00533 static CSGObject* __new_CMulticlassMultipleOutputLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassMultipleOutputLabels(): NULL; } 00534 static CSGObject* __new_CMulticlassLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLabels(): NULL; } 00535 static CSGObject* __new_CLatentLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentLabels(): NULL; } 00536 static CSGObject* __new_CBinaryLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBinaryLabels(): NULL; } 00537 static CSGObject* __new_CWeightedDegreeStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWeightedDegreeStringKernel(): NULL; } 00538 static CSGObject* __new_CWeightedDegreePositionStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWeightedDegreePositionStringKernel(): NULL; } 00539 static CSGObject* __new_CWeightedCommWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWeightedCommWordStringKernel(): NULL; } 00540 static CSGObject* __new_CSpectrumRBFKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSpectrumRBFKernel(): NULL; } 00541 static CSGObject* __new_CSpectrumMismatchRBFKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSpectrumMismatchRBFKernel(): NULL; } 00542 static CSGObject* __new_CSparseSpatialSampleStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSparseSpatialSampleStringKernel(): NULL; } 00543 static CSGObject* __new_CSimpleLocalityImprovedStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSimpleLocalityImprovedStringKernel(): NULL; } 00544 static CSGObject* __new_CSalzbergWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSalzbergWordStringKernel(): NULL; } 00545 static CSGObject* __new_CSNPStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSNPStringKernel(): NULL; } 00546 static CSGObject* __new_CRegulatoryModulesStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRegulatoryModulesStringKernel(): NULL; } 00547 static CSGObject* __new_CPolyMatchWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPolyMatchWordStringKernel(): NULL; } 00548 static CSGObject* __new_CPolyMatchStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPolyMatchStringKernel(): NULL; } 00549 static CSGObject* __new_COligoStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COligoStringKernel(): NULL; } 00550 static CSGObject* __new_CMatchWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMatchWordStringKernel(): NULL; } 00551 static CSGObject* __new_CLocalityImprovedStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLocalityImprovedStringKernel(): NULL; } 00552 static CSGObject* __new_CLocalAlignmentStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLocalAlignmentStringKernel(): NULL; } 00553 static CSGObject* __new_CLinearStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearStringKernel(): NULL; } 00554 static CSGObject* __new_CHistogramWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHistogramWordStringKernel(): NULL; } 00555 static CSGObject* __new_CGaussianMatchStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianMatchStringKernel(): NULL; } 00556 static CSGObject* __new_CFixedDegreeStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFixedDegreeStringKernel(): NULL; } 00557 static CSGObject* __new_CDistantSegmentsKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDistantSegmentsKernel(): NULL; } 00558 static CSGObject* __new_CCommWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCommWordStringKernel(): NULL; } 00559 static CSGObject* __new_CCommUlongStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCommUlongStringKernel(): NULL; } 00560 static CSGObject* __new_CZeroMeanCenterKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CZeroMeanCenterKernelNormalizer(): NULL; } 00561 static CSGObject* __new_CVarianceKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVarianceKernelNormalizer(): NULL; } 00562 static CSGObject* __new_CTanimotoKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTanimotoKernelNormalizer(): NULL; } 00563 static CSGObject* __new_CSqrtDiagKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSqrtDiagKernelNormalizer(): NULL; } 00564 static CSGObject* __new_CScatterKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CScatterKernelNormalizer(): NULL; } 00565 static CSGObject* __new_CRidgeKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRidgeKernelNormalizer(): NULL; } 00566 static CSGObject* __new_CIdentityKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIdentityKernelNormalizer(): NULL; } 00567 static CSGObject* __new_CFirstElementKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFirstElementKernelNormalizer(): NULL; } 00568 static CSGObject* __new_CDiceKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDiceKernelNormalizer(): NULL; } 00569 static CSGObject* __new_CAvgDiagKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAvgDiagKernelNormalizer(): NULL; } 00570 static CSGObject* __new_CWeightedDegreeRBFKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWeightedDegreeRBFKernel(): NULL; } 00571 static CSGObject* __new_CWaveletKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWaveletKernel(): NULL; } 00572 static CSGObject* __new_CWaveKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWaveKernel(): NULL; } 00573 static CSGObject* __new_CTensorProductPairKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTensorProductPairKernel(): NULL; } 00574 static CSGObject* __new_CTStudentKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTStudentKernel(): NULL; } 00575 static CSGObject* __new_CSplineKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSplineKernel(): NULL; } 00576 static CSGObject* __new_CSphericalKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSphericalKernel(): NULL; } 00577 static CSGObject* __new_CSigmoidKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSigmoidKernel(): NULL; } 00578 static CSGObject* __new_CRationalQuadraticKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRationalQuadraticKernel(): NULL; } 00579 static CSGObject* __new_CPyramidChi2(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPyramidChi2(): NULL; } 00580 static CSGObject* __new_CProductKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CProductKernel(): NULL; } 00581 static CSGObject* __new_CPowerKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPowerKernel(): NULL; } 00582 static CSGObject* __new_CPolyKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPolyKernel(): NULL; } 00583 static CSGObject* __new_CMultiquadricKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultiquadricKernel(): NULL; } 00584 static CSGObject* __new_CLogKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogKernel(): NULL; } 00585 static CSGObject* __new_CLinearKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearKernel(): NULL; } 00586 static CSGObject* __new_CLinearARDKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearARDKernel(): NULL; } 00587 static CSGObject* __new_CJensenShannonKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJensenShannonKernel(): NULL; } 00588 static CSGObject* __new_CInverseMultiQuadricKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CInverseMultiQuadricKernel(): NULL; } 00589 static CSGObject* __new_CHistogramIntersectionKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHistogramIntersectionKernel(): NULL; } 00590 static CSGObject* __new_CGaussianShortRealKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianShortRealKernel(): NULL; } 00591 static CSGObject* __new_CGaussianShiftKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianShiftKernel(): NULL; } 00592 static CSGObject* __new_CGaussianKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianKernel(): NULL; } 00593 static CSGObject* __new_CGaussianARDKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianARDKernel(): NULL; } 00594 static CSGObject* __new_CExponentialKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CExponentialKernel(): NULL; } 00595 static CSGObject* __new_CDistanceKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDistanceKernel(): NULL; } 00596 static CSGObject* __new_CDiagKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDiagKernel(): NULL; } 00597 static CSGObject* __new_CCustomKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCustomKernel(): NULL; } 00598 static CSGObject* __new_CConstKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CConstKernel(): NULL; } 00599 static CSGObject* __new_CCombinedKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCombinedKernel(): NULL; } 00600 static CSGObject* __new_CCircularKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCircularKernel(): NULL; } 00601 static CSGObject* __new_CChi2Kernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CChi2Kernel(): NULL; } 00602 static CSGObject* __new_CCauchyKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCauchyKernel(): NULL; } 00603 static CSGObject* __new_CBesselKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBesselKernel(): NULL; } 00604 static CSGObject* __new_CAUCKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAUCKernel(): NULL; } 00605 static CSGObject* __new_CANOVAKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CANOVAKernel(): NULL; } 00606 static CSGObject* __new_CStreamingVwFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingVwFile(): NULL; } 00607 static CSGObject* __new_CStreamingVwCacheFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingVwCacheFile(): NULL; } 00608 static CSGObject* __new_CStreamingFileFromFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingFileFromFeatures(): NULL; } 00609 static CSGObject* __new_CStreamingFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingFile(): NULL; } 00610 static CSGObject* __new_CStreamingAsciiFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingAsciiFile(): NULL; } 00611 static CSGObject* __new_CSerializableAsciiFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSerializableAsciiFile(): NULL; } 00612 static CSGObject* __new_CIOBuffer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIOBuffer(): NULL; } 00613 static CSGObject* __new_CBinaryFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBinaryFile(): NULL; } 00614 static CSGObject* __new_CAsciiFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAsciiFile(): NULL; } 00615 static CSGObject* __new_CStreamingVwFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingVwFeatures(): NULL; } 00616 static CSGObject* __new_CWDFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWDFeatures(): NULL; } 00617 static CSGObject* __new_CTOPFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTOPFeatures(): NULL; } 00618 static CSGObject* __new_CSubsetStack(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSubsetStack(): NULL; } 00619 static CSGObject* __new_CSubset(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSubset(): NULL; } 00620 static CSGObject* __new_CSparsePolyFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSparsePolyFeatures(): NULL; } 00621 static CSGObject* __new_CSNPFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSNPFeatures(): NULL; } 00622 static CSGObject* __new_CRealFileFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRealFileFeatures(): NULL; } 00623 static CSGObject* __new_CPolyFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPolyFeatures(): NULL; } 00624 static CSGObject* __new_CLatentFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentFeatures(): NULL; } 00625 static CSGObject* __new_CLBPPyrDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLBPPyrDotFeatures(): NULL; } 00626 static CSGObject* __new_CImplicitWeightedSpecFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CImplicitWeightedSpecFeatures(): NULL; } 00627 static CSGObject* __new_CHashedWDFeaturesTransposed(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedWDFeaturesTransposed(): NULL; } 00628 static CSGObject* __new_CHashedWDFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedWDFeatures(): NULL; } 00629 static CSGObject* __new_CFKFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFKFeatures(): NULL; } 00630 static CSGObject* __new_CExplicitSpecFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CExplicitSpecFeatures(): NULL; } 00631 static CSGObject* __new_CDummyFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDummyFeatures(): NULL; } 00632 static CSGObject* __new_CDataGenerator(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDataGenerator(): NULL; } 00633 static CSGObject* __new_CCombinedFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCombinedFeatures(): NULL; } 00634 static CSGObject* __new_CCombinedDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCombinedDotFeatures(): NULL; } 00635 static CSGObject* __new_CBinnedDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBinnedDotFeatures(): NULL; } 00636 static CSGObject* __new_CAlphabet(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAlphabet(): NULL; } 00637 static CSGObject* __new_CStructuredAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredAccuracy(): NULL; } 00638 static CSGObject* __new_CStratifiedCrossValidationSplitting(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStratifiedCrossValidationSplitting(): NULL; } 00639 static CSGObject* __new_CROCEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CROCEvaluation(): NULL; } 00640 static CSGObject* __new_CPRCEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPRCEvaluation(): NULL; } 00641 static CSGObject* __new_CMulticlassOVREvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassOVREvaluation(): NULL; } 00642 static CSGObject* __new_CMulticlassAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassAccuracy(): NULL; } 00643 static CSGObject* __new_CMeanSquaredLogError(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanSquaredLogError(): NULL; } 00644 static CSGObject* __new_CMeanSquaredError(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanSquaredError(): NULL; } 00645 static CSGObject* __new_CMeanAbsoluteError(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanAbsoluteError(): NULL; } 00646 static CSGObject* __new_CGradientResult(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientResult(): NULL; } 00647 static CSGObject* __new_CGradientEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientEvaluation(): NULL; } 00648 static CSGObject* __new_CGradientCriterion(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientCriterion(): NULL; } 00649 static CSGObject* __new_CCrossValidationSplitting(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidationSplitting(): NULL; } 00650 static CSGObject* __new_CCrossValidationPrintOutput(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidationPrintOutput(): NULL; } 00651 static CSGObject* __new_CCrossValidationMulticlassStorage(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidationMulticlassStorage(): NULL; } 00652 static CSGObject* __new_CCrossValidationMKLStorage(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidationMKLStorage(): NULL; } 00653 static CSGObject* __new_CCrossValidationResult(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidationResult(): NULL; } 00654 static CSGObject* __new_CCrossValidation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidation(): NULL; } 00655 static CSGObject* __new_CContingencyTableEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CContingencyTableEvaluation(): NULL; } 00656 static CSGObject* __new_CAccuracyMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAccuracyMeasure(): NULL; } 00657 static CSGObject* __new_CErrorRateMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CErrorRateMeasure(): NULL; } 00658 static CSGObject* __new_CBALMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBALMeasure(): NULL; } 00659 static CSGObject* __new_CWRACCMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWRACCMeasure(): NULL; } 00660 static CSGObject* __new_CF1Measure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CF1Measure(): NULL; } 00661 static CSGObject* __new_CCrossCorrelationMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossCorrelationMeasure(): NULL; } 00662 static CSGObject* __new_CRecallMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRecallMeasure(): NULL; } 00663 static CSGObject* __new_CPrecisionMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPrecisionMeasure(): NULL; } 00664 static CSGObject* __new_CSpecificityMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSpecificityMeasure(): NULL; } 00665 static CSGObject* __new_CClusteringMutualInformation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CClusteringMutualInformation(): NULL; } 00666 static CSGObject* __new_CClusteringAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CClusteringAccuracy(): NULL; } 00667 static CSGObject* __new_CPositionalPWM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPositionalPWM(): NULL; } 00668 static CSGObject* __new_CLinearHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearHMM(): NULL; } 00669 static CSGObject* __new_CHistogram(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHistogram(): NULL; } 00670 static CSGObject* __new_CHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHMM(): NULL; } 00671 static CSGObject* __new_CGaussian(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussian(): NULL; } 00672 static CSGObject* __new_CGHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGHMM(): NULL; } 00673 static CSGObject* __new_CTanimotoDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTanimotoDistance(): NULL; } 00674 static CSGObject* __new_CSparseEuclideanDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSparseEuclideanDistance(): NULL; } 00675 static CSGObject* __new_CMinkowskiMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMinkowskiMetric(): NULL; } 00676 static CSGObject* __new_CManhattanWordDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CManhattanWordDistance(): NULL; } 00677 static CSGObject* __new_CManhattanMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CManhattanMetric(): NULL; } 00678 static CSGObject* __new_CMahalanobisDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMahalanobisDistance(): NULL; } 00679 static CSGObject* __new_CKernelDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelDistance(): NULL; } 00680 static CSGObject* __new_CJensenMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJensenMetric(): NULL; } 00681 static CSGObject* __new_CHammingWordDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHammingWordDistance(): NULL; } 00682 static CSGObject* __new_CGeodesicMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGeodesicMetric(): NULL; } 00683 static CSGObject* __new_CEuclideanDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CEuclideanDistance(): NULL; } 00684 static CSGObject* __new_CCustomDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCustomDistance(): NULL; } 00685 static CSGObject* __new_CCosineDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCosineDistance(): NULL; } 00686 static CSGObject* __new_CChiSquareDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CChiSquareDistance(): NULL; } 00687 static CSGObject* __new_CChebyshewMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CChebyshewMetric(): NULL; } 00688 static CSGObject* __new_CCanberraWordDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCanberraWordDistance(): NULL; } 00689 static CSGObject* __new_CCanberraMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCanberraMetric(): NULL; } 00690 static CSGObject* __new_CBrayCurtisDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBrayCurtisDistance(): NULL; } 00691 static CSGObject* __new_CAttenuatedEuclideanDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAttenuatedEuclideanDistance(): NULL; } 00692 static CSGObject* __new_CStochasticProximityEmbedding(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStochasticProximityEmbedding(): NULL; } 00693 static CSGObject* __new_CNeighborhoodPreservingEmbedding(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeighborhoodPreservingEmbedding(): NULL; } 00694 static CSGObject* __new_CMultidimensionalScaling(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultidimensionalScaling(): NULL; } 00695 static CSGObject* __new_CLocallyLinearEmbedding(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLocallyLinearEmbedding(): NULL; } 00696 static CSGObject* __new_CLocalityPreservingProjections(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLocalityPreservingProjections(): NULL; } 00697 static CSGObject* __new_CLocalTangentSpaceAlignment(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLocalTangentSpaceAlignment(): NULL; } 00698 static CSGObject* __new_CLinearLocalTangentSpaceAlignment(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearLocalTangentSpaceAlignment(): NULL; } 00699 static CSGObject* __new_CLaplacianEigenmaps(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLaplacianEigenmaps(): NULL; } 00700 static CSGObject* __new_CKernelLocallyLinearEmbedding(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelLocallyLinearEmbedding(): NULL; } 00701 static CSGObject* __new_CKernelLocalTangentSpaceAlignment(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelLocalTangentSpaceAlignment(): NULL; } 00702 static CSGObject* __new_CIsomap(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIsomap(): NULL; } 00703 static CSGObject* __new_CHessianLocallyLinearEmbedding(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHessianLocallyLinearEmbedding(): NULL; } 00704 static CSGObject* __new_CDiffusionMaps(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDiffusionMaps(): NULL; } 00705 static CSGObject* __new_CKMeans(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKMeans(): NULL; } 00706 static CSGObject* __new_CHierarchical(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHierarchical(): NULL; } 00707 static CSGObject* __new_CGMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGMM(): NULL; } 00708 static CSGObject* __new_CVwNonAdaptiveLearner(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwNonAdaptiveLearner(): NULL; } 00709 static CSGObject* __new_CVwAdaptiveLearner(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwAdaptiveLearner(): NULL; } 00710 static CSGObject* __new_CVwNativeCacheWriter(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwNativeCacheWriter(): NULL; } 00711 static CSGObject* __new_CVwNativeCacheReader(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwNativeCacheReader(): NULL; } 00712 static CSGObject* __new_CVwRegressor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwRegressor(): NULL; } 00713 static CSGObject* __new_CVwParser(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwParser(): NULL; } 00714 static CSGObject* __new_CVwEnvironment(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwEnvironment(): NULL; } 00715 static CSGObject* __new_CVowpalWabbit(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVowpalWabbit(): NULL; } 00716 static CSGObject* __new_CWDSVMOcas(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWDSVMOcas(): NULL; } 00717 static CSGObject* __new_CSubGradientSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSubGradientSVM(): NULL; } 00718 static CSGObject* __new_CSVMSGD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMSGD(): NULL; } 00719 static CSGObject* __new_CSVMOcas(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMOcas(): NULL; } 00720 static CSGObject* __new_CSVMLin(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMLin(): NULL; } 00721 static CSGObject* __new_CSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVM(): NULL; } 00722 static CSGObject* __new_CSGDQN(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSGDQN(): NULL; } 00723 static CSGObject* __new_CQPBSVMLib(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQPBSVMLib(): NULL; } 00724 static CSGObject* __new_COnlineSVMSGD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COnlineSVMSGD(): NULL; } 00725 static CSGObject* __new_COnlineLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COnlineLibLinear(): NULL; } 00726 static CSGObject* __new_CNewtonSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNewtonSVM(): NULL; } 00727 static CSGObject* __new_CMPDSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMPDSVM(): NULL; } 00728 static CSGObject* __new_CLibSVMOneClass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVMOneClass(): NULL; } 00729 static CSGObject* __new_CLibSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVM(): NULL; } 00730 static CSGObject* __new_CLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibLinear(): NULL; } 00731 static CSGObject* __new_CGPBTSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGPBTSVM(): NULL; } 00732 static CSGObject* __new_CGNPPSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGNPPSVM(): NULL; } 00733 static CSGObject* __new_CGNPPLib(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGNPPLib(): NULL; } 00734 static CSGObject* __new_CMKLOneClass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLOneClass(): NULL; } 00735 static CSGObject* __new_CMKLMulticlass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLMulticlass(): NULL; } 00736 static CSGObject* __new_CMKLClassification(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLClassification(): NULL; } 00737 static CSGObject* __new_CPluginEstimate(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPluginEstimate(): NULL; } 00738 static CSGObject* __new_CPerceptron(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPerceptron(): NULL; } 00739 static CSGObject* __new_CNearestCentroid(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNearestCentroid(): NULL; } 00740 static CSGObject* __new_CLDA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLDA(): NULL; } 00741 static CSGObject* __new_CFeatureBlockLogisticRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFeatureBlockLogisticRegression(): NULL; } 00742 static CSGObject* __new_CAveragedPerceptron(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAveragedPerceptron(): NULL; } 00743 static CSGObject* __new_CDecompressString(EPrimitiveType g) 00744 { 00745 switch (g) 00746 { 00747 case PT_BOOL: return new CDecompressString<bool>(); 00748 case PT_CHAR: return new CDecompressString<char>(); 00749 case PT_INT8: return new CDecompressString<int8_t>(); 00750 case PT_UINT8: return new CDecompressString<uint8_t>(); 00751 case PT_INT16: return new CDecompressString<int16_t>(); 00752 case PT_UINT16: return new CDecompressString<uint16_t>(); 00753 case PT_INT32: return new CDecompressString<int32_t>(); 00754 case PT_UINT32: return new CDecompressString<uint32_t>(); 00755 case PT_INT64: return new CDecompressString<int64_t>(); 00756 case PT_UINT64: return new CDecompressString<uint64_t>(); 00757 case PT_FLOAT32: return new CDecompressString<float32_t>(); 00758 case PT_FLOAT64: return new CDecompressString<float64_t>(); 00759 case PT_FLOATMAX: return new CDecompressString<floatmax_t>(); 00760 case PT_SGOBJECT: return NULL; 00761 } 00762 return NULL; 00763 } 00764 static CSGObject* __new_CTreeMachine(EPrimitiveType g) 00765 { 00766 switch (g) 00767 { 00768 case PT_BOOL: return new CTreeMachine<bool>(); 00769 case PT_CHAR: return new CTreeMachine<char>(); 00770 case PT_INT8: return new CTreeMachine<int8_t>(); 00771 case PT_UINT8: return new CTreeMachine<uint8_t>(); 00772 case PT_INT16: return new CTreeMachine<int16_t>(); 00773 case PT_UINT16: return new CTreeMachine<uint16_t>(); 00774 case PT_INT32: return new CTreeMachine<int32_t>(); 00775 case PT_UINT32: return new CTreeMachine<uint32_t>(); 00776 case PT_INT64: return new CTreeMachine<int64_t>(); 00777 case PT_UINT64: return new CTreeMachine<uint64_t>(); 00778 case PT_FLOAT32: return new CTreeMachine<float32_t>(); 00779 case PT_FLOAT64: return new CTreeMachine<float64_t>(); 00780 case PT_FLOATMAX: return new CTreeMachine<floatmax_t>(); 00781 case PT_SGOBJECT: return NULL; 00782 } 00783 return NULL; 00784 } 00785 static CSGObject* __new_CSet(EPrimitiveType g) 00786 { 00787 switch (g) 00788 { 00789 case PT_BOOL: return new CSet<bool>(); 00790 case PT_CHAR: return new CSet<char>(); 00791 case PT_INT8: return new CSet<int8_t>(); 00792 case PT_UINT8: return new CSet<uint8_t>(); 00793 case PT_INT16: return new CSet<int16_t>(); 00794 case PT_UINT16: return new CSet<uint16_t>(); 00795 case PT_INT32: return new CSet<int32_t>(); 00796 case PT_UINT32: return new CSet<uint32_t>(); 00797 case PT_INT64: return new CSet<int64_t>(); 00798 case PT_UINT64: return new CSet<uint64_t>(); 00799 case PT_FLOAT32: return new CSet<float32_t>(); 00800 case PT_FLOAT64: return new CSet<float64_t>(); 00801 case PT_FLOATMAX: return new CSet<floatmax_t>(); 00802 case PT_SGOBJECT: return NULL; 00803 } 00804 return NULL; 00805 } 00806 static CSGObject* __new_CDynamicArray(EPrimitiveType g) 00807 { 00808 switch (g) 00809 { 00810 case PT_BOOL: return new CDynamicArray<bool>(); 00811 case PT_CHAR: return new CDynamicArray<char>(); 00812 case PT_INT8: return new CDynamicArray<int8_t>(); 00813 case PT_UINT8: return new CDynamicArray<uint8_t>(); 00814 case PT_INT16: return new CDynamicArray<int16_t>(); 00815 case PT_UINT16: return new CDynamicArray<uint16_t>(); 00816 case PT_INT32: return new CDynamicArray<int32_t>(); 00817 case PT_UINT32: return new CDynamicArray<uint32_t>(); 00818 case PT_INT64: return new CDynamicArray<int64_t>(); 00819 case PT_UINT64: return new CDynamicArray<uint64_t>(); 00820 case PT_FLOAT32: return new CDynamicArray<float32_t>(); 00821 case PT_FLOAT64: return new CDynamicArray<float64_t>(); 00822 case PT_FLOATMAX: return new CDynamicArray<floatmax_t>(); 00823 case PT_SGOBJECT: return NULL; 00824 } 00825 return NULL; 00826 } 00827 static CSGObject* __new_CCache(EPrimitiveType g) 00828 { 00829 switch (g) 00830 { 00831 case PT_BOOL: return new CCache<bool>(); 00832 case PT_CHAR: return new CCache<char>(); 00833 case PT_INT8: return new CCache<int8_t>(); 00834 case PT_UINT8: return new CCache<uint8_t>(); 00835 case PT_INT16: return new CCache<int16_t>(); 00836 case PT_UINT16: return new CCache<uint16_t>(); 00837 case PT_INT32: return new CCache<int32_t>(); 00838 case PT_UINT32: return new CCache<uint32_t>(); 00839 case PT_INT64: return new CCache<int64_t>(); 00840 case PT_UINT64: return new CCache<uint64_t>(); 00841 case PT_FLOAT32: return new CCache<float32_t>(); 00842 case PT_FLOAT64: return new CCache<float64_t>(); 00843 case PT_FLOATMAX: return new CCache<floatmax_t>(); 00844 case PT_SGOBJECT: return NULL; 00845 } 00846 return NULL; 00847 } 00848 static CSGObject* __new_CStreamingFileFromStringFeatures(EPrimitiveType g) 00849 { 00850 switch (g) 00851 { 00852 case PT_BOOL: return new CStreamingFileFromStringFeatures<bool>(); 00853 case PT_CHAR: return new CStreamingFileFromStringFeatures<char>(); 00854 case PT_INT8: return new CStreamingFileFromStringFeatures<int8_t>(); 00855 case PT_UINT8: return new CStreamingFileFromStringFeatures<uint8_t>(); 00856 case PT_INT16: return new CStreamingFileFromStringFeatures<int16_t>(); 00857 case PT_UINT16: return new CStreamingFileFromStringFeatures<uint16_t>(); 00858 case PT_INT32: return new CStreamingFileFromStringFeatures<int32_t>(); 00859 case PT_UINT32: return new CStreamingFileFromStringFeatures<uint32_t>(); 00860 case PT_INT64: return new CStreamingFileFromStringFeatures<int64_t>(); 00861 case PT_UINT64: return new CStreamingFileFromStringFeatures<uint64_t>(); 00862 case PT_FLOAT32: return new CStreamingFileFromStringFeatures<float32_t>(); 00863 case PT_FLOAT64: return new CStreamingFileFromStringFeatures<float64_t>(); 00864 case PT_FLOATMAX: return new CStreamingFileFromStringFeatures<floatmax_t>(); 00865 case PT_SGOBJECT: return NULL; 00866 } 00867 return NULL; 00868 } 00869 static CSGObject* __new_CStreamingFileFromSparseFeatures(EPrimitiveType g) 00870 { 00871 switch (g) 00872 { 00873 case PT_BOOL: return new CStreamingFileFromSparseFeatures<bool>(); 00874 case PT_CHAR: return new CStreamingFileFromSparseFeatures<char>(); 00875 case PT_INT8: return new CStreamingFileFromSparseFeatures<int8_t>(); 00876 case PT_UINT8: return new CStreamingFileFromSparseFeatures<uint8_t>(); 00877 case PT_INT16: return new CStreamingFileFromSparseFeatures<int16_t>(); 00878 case PT_UINT16: return new CStreamingFileFromSparseFeatures<uint16_t>(); 00879 case PT_INT32: return new CStreamingFileFromSparseFeatures<int32_t>(); 00880 case PT_UINT32: return new CStreamingFileFromSparseFeatures<uint32_t>(); 00881 case PT_INT64: return new CStreamingFileFromSparseFeatures<int64_t>(); 00882 case PT_UINT64: return new CStreamingFileFromSparseFeatures<uint64_t>(); 00883 case PT_FLOAT32: return new CStreamingFileFromSparseFeatures<float32_t>(); 00884 case PT_FLOAT64: return new CStreamingFileFromSparseFeatures<float64_t>(); 00885 case PT_FLOATMAX: return new CStreamingFileFromSparseFeatures<floatmax_t>(); 00886 case PT_SGOBJECT: return NULL; 00887 } 00888 return NULL; 00889 } 00890 static CSGObject* __new_CStreamingFileFromDenseFeatures(EPrimitiveType g) 00891 { 00892 switch (g) 00893 { 00894 case PT_BOOL: return new CStreamingFileFromDenseFeatures<bool>(); 00895 case PT_CHAR: return new CStreamingFileFromDenseFeatures<char>(); 00896 case PT_INT8: return new CStreamingFileFromDenseFeatures<int8_t>(); 00897 case PT_UINT8: return new CStreamingFileFromDenseFeatures<uint8_t>(); 00898 case PT_INT16: return new CStreamingFileFromDenseFeatures<int16_t>(); 00899 case PT_UINT16: return new CStreamingFileFromDenseFeatures<uint16_t>(); 00900 case PT_INT32: return new CStreamingFileFromDenseFeatures<int32_t>(); 00901 case PT_UINT32: return new CStreamingFileFromDenseFeatures<uint32_t>(); 00902 case PT_INT64: return new CStreamingFileFromDenseFeatures<int64_t>(); 00903 case PT_UINT64: return new CStreamingFileFromDenseFeatures<uint64_t>(); 00904 case PT_FLOAT32: return new CStreamingFileFromDenseFeatures<float32_t>(); 00905 case PT_FLOAT64: return new CStreamingFileFromDenseFeatures<float64_t>(); 00906 case PT_FLOATMAX: return new CStreamingFileFromDenseFeatures<floatmax_t>(); 00907 case PT_SGOBJECT: return NULL; 00908 } 00909 return NULL; 00910 } 00911 static CSGObject* __new_CParseBuffer(EPrimitiveType g) 00912 { 00913 switch (g) 00914 { 00915 case PT_BOOL: return new CParseBuffer<bool>(); 00916 case PT_CHAR: return new CParseBuffer<char>(); 00917 case PT_INT8: return new CParseBuffer<int8_t>(); 00918 case PT_UINT8: return new CParseBuffer<uint8_t>(); 00919 case PT_INT16: return new CParseBuffer<int16_t>(); 00920 case PT_UINT16: return new CParseBuffer<uint16_t>(); 00921 case PT_INT32: return new CParseBuffer<int32_t>(); 00922 case PT_UINT32: return new CParseBuffer<uint32_t>(); 00923 case PT_INT64: return new CParseBuffer<int64_t>(); 00924 case PT_UINT64: return new CParseBuffer<uint64_t>(); 00925 case PT_FLOAT32: return new CParseBuffer<float32_t>(); 00926 case PT_FLOAT64: return new CParseBuffer<float64_t>(); 00927 case PT_FLOATMAX: return new CParseBuffer<floatmax_t>(); 00928 case PT_SGOBJECT: return NULL; 00929 } 00930 return NULL; 00931 } 00932 static CSGObject* __new_CSimpleFile(EPrimitiveType g) 00933 { 00934 switch (g) 00935 { 00936 case PT_BOOL: return new CSimpleFile<bool>(); 00937 case PT_CHAR: return new CSimpleFile<char>(); 00938 case PT_INT8: return new CSimpleFile<int8_t>(); 00939 case PT_UINT8: return new CSimpleFile<uint8_t>(); 00940 case PT_INT16: return new CSimpleFile<int16_t>(); 00941 case PT_UINT16: return new CSimpleFile<uint16_t>(); 00942 case PT_INT32: return new CSimpleFile<int32_t>(); 00943 case PT_UINT32: return new CSimpleFile<uint32_t>(); 00944 case PT_INT64: return new CSimpleFile<int64_t>(); 00945 case PT_UINT64: return new CSimpleFile<uint64_t>(); 00946 case PT_FLOAT32: return new CSimpleFile<float32_t>(); 00947 case PT_FLOAT64: return new CSimpleFile<float64_t>(); 00948 case PT_FLOATMAX: return new CSimpleFile<floatmax_t>(); 00949 case PT_SGOBJECT: return NULL; 00950 } 00951 return NULL; 00952 } 00953 static CSGObject* __new_CMemoryMappedFile(EPrimitiveType g) 00954 { 00955 switch (g) 00956 { 00957 case PT_BOOL: return new CMemoryMappedFile<bool>(); 00958 case PT_CHAR: return new CMemoryMappedFile<char>(); 00959 case PT_INT8: return new CMemoryMappedFile<int8_t>(); 00960 case PT_UINT8: return new CMemoryMappedFile<uint8_t>(); 00961 case PT_INT16: return new CMemoryMappedFile<int16_t>(); 00962 case PT_UINT16: return new CMemoryMappedFile<uint16_t>(); 00963 case PT_INT32: return new CMemoryMappedFile<int32_t>(); 00964 case PT_UINT32: return new CMemoryMappedFile<uint32_t>(); 00965 case PT_INT64: return new CMemoryMappedFile<int64_t>(); 00966 case PT_UINT64: return new CMemoryMappedFile<uint64_t>(); 00967 case PT_FLOAT32: return new CMemoryMappedFile<float32_t>(); 00968 case PT_FLOAT64: return new CMemoryMappedFile<float64_t>(); 00969 case PT_FLOATMAX: return new CMemoryMappedFile<floatmax_t>(); 00970 case PT_SGOBJECT: return NULL; 00971 } 00972 return NULL; 00973 } 00974 static CSGObject* __new_CBinaryStream(EPrimitiveType g) 00975 { 00976 switch (g) 00977 { 00978 case PT_BOOL: return new CBinaryStream<bool>(); 00979 case PT_CHAR: return new CBinaryStream<char>(); 00980 case PT_INT8: return new CBinaryStream<int8_t>(); 00981 case PT_UINT8: return new CBinaryStream<uint8_t>(); 00982 case PT_INT16: return new CBinaryStream<int16_t>(); 00983 case PT_UINT16: return new CBinaryStream<uint16_t>(); 00984 case PT_INT32: return new CBinaryStream<int32_t>(); 00985 case PT_UINT32: return new CBinaryStream<uint32_t>(); 00986 case PT_INT64: return new CBinaryStream<int64_t>(); 00987 case PT_UINT64: return new CBinaryStream<uint64_t>(); 00988 case PT_FLOAT32: return new CBinaryStream<float32_t>(); 00989 case PT_FLOAT64: return new CBinaryStream<float64_t>(); 00990 case PT_FLOATMAX: return new CBinaryStream<floatmax_t>(); 00991 case PT_SGOBJECT: return NULL; 00992 } 00993 return NULL; 00994 } 00995 static CSGObject* __new_CStreamingStringFeatures(EPrimitiveType g) 00996 { 00997 switch (g) 00998 { 00999 case PT_BOOL: return new CStreamingStringFeatures<bool>(); 01000 case PT_CHAR: return new CStreamingStringFeatures<char>(); 01001 case PT_INT8: return new CStreamingStringFeatures<int8_t>(); 01002 case PT_UINT8: return new CStreamingStringFeatures<uint8_t>(); 01003 case PT_INT16: return new CStreamingStringFeatures<int16_t>(); 01004 case PT_UINT16: return new CStreamingStringFeatures<uint16_t>(); 01005 case PT_INT32: return new CStreamingStringFeatures<int32_t>(); 01006 case PT_UINT32: return new CStreamingStringFeatures<uint32_t>(); 01007 case PT_INT64: return new CStreamingStringFeatures<int64_t>(); 01008 case PT_UINT64: return new CStreamingStringFeatures<uint64_t>(); 01009 case PT_FLOAT32: return new CStreamingStringFeatures<float32_t>(); 01010 case PT_FLOAT64: return new CStreamingStringFeatures<float64_t>(); 01011 case PT_FLOATMAX: return new CStreamingStringFeatures<floatmax_t>(); 01012 case PT_SGOBJECT: return NULL; 01013 } 01014 return NULL; 01015 } 01016 static CSGObject* __new_CStreamingSparseFeatures(EPrimitiveType g) 01017 { 01018 switch (g) 01019 { 01020 case PT_BOOL: return new CStreamingSparseFeatures<bool>(); 01021 case PT_CHAR: return new CStreamingSparseFeatures<char>(); 01022 case PT_INT8: return new CStreamingSparseFeatures<int8_t>(); 01023 case PT_UINT8: return new CStreamingSparseFeatures<uint8_t>(); 01024 case PT_INT16: return new CStreamingSparseFeatures<int16_t>(); 01025 case PT_UINT16: return new CStreamingSparseFeatures<uint16_t>(); 01026 case PT_INT32: return new CStreamingSparseFeatures<int32_t>(); 01027 case PT_UINT32: return new CStreamingSparseFeatures<uint32_t>(); 01028 case PT_INT64: return new CStreamingSparseFeatures<int64_t>(); 01029 case PT_UINT64: return new CStreamingSparseFeatures<uint64_t>(); 01030 case PT_FLOAT32: return new CStreamingSparseFeatures<float32_t>(); 01031 case PT_FLOAT64: return new CStreamingSparseFeatures<float64_t>(); 01032 case PT_FLOATMAX: return new CStreamingSparseFeatures<floatmax_t>(); 01033 case PT_SGOBJECT: return NULL; 01034 } 01035 return NULL; 01036 } 01037 static CSGObject* __new_CStreamingDenseFeatures(EPrimitiveType g) 01038 { 01039 switch (g) 01040 { 01041 case PT_BOOL: return new CStreamingDenseFeatures<bool>(); 01042 case PT_CHAR: return new CStreamingDenseFeatures<char>(); 01043 case PT_INT8: return new CStreamingDenseFeatures<int8_t>(); 01044 case PT_UINT8: return new CStreamingDenseFeatures<uint8_t>(); 01045 case PT_INT16: return new CStreamingDenseFeatures<int16_t>(); 01046 case PT_UINT16: return new CStreamingDenseFeatures<uint16_t>(); 01047 case PT_INT32: return new CStreamingDenseFeatures<int32_t>(); 01048 case PT_UINT32: return new CStreamingDenseFeatures<uint32_t>(); 01049 case PT_INT64: return new CStreamingDenseFeatures<int64_t>(); 01050 case PT_UINT64: return new CStreamingDenseFeatures<uint64_t>(); 01051 case PT_FLOAT32: return new CStreamingDenseFeatures<float32_t>(); 01052 case PT_FLOAT64: return new CStreamingDenseFeatures<float64_t>(); 01053 case PT_FLOATMAX: return new CStreamingDenseFeatures<floatmax_t>(); 01054 case PT_SGOBJECT: return NULL; 01055 } 01056 return NULL; 01057 } 01058 static CSGObject* __new_CStringFileFeatures(EPrimitiveType g) 01059 { 01060 switch (g) 01061 { 01062 case PT_BOOL: return new CStringFileFeatures<bool>(); 01063 case PT_CHAR: return new CStringFileFeatures<char>(); 01064 case PT_INT8: return new CStringFileFeatures<int8_t>(); 01065 case PT_UINT8: return new CStringFileFeatures<uint8_t>(); 01066 case PT_INT16: return new CStringFileFeatures<int16_t>(); 01067 case PT_UINT16: return new CStringFileFeatures<uint16_t>(); 01068 case PT_INT32: return new CStringFileFeatures<int32_t>(); 01069 case PT_UINT32: return new CStringFileFeatures<uint32_t>(); 01070 case PT_INT64: return new CStringFileFeatures<int64_t>(); 01071 case PT_UINT64: return new CStringFileFeatures<uint64_t>(); 01072 case PT_FLOAT32: return new CStringFileFeatures<float32_t>(); 01073 case PT_FLOAT64: return new CStringFileFeatures<float64_t>(); 01074 case PT_FLOATMAX: return new CStringFileFeatures<floatmax_t>(); 01075 case PT_SGOBJECT: return NULL; 01076 } 01077 return NULL; 01078 } 01079 static CSGObject* __new_CStringFeatures(EPrimitiveType g) 01080 { 01081 switch (g) 01082 { 01083 case PT_BOOL: return new CStringFeatures<bool>(); 01084 case PT_CHAR: return new CStringFeatures<char>(); 01085 case PT_INT8: return new CStringFeatures<int8_t>(); 01086 case PT_UINT8: return new CStringFeatures<uint8_t>(); 01087 case PT_INT16: return new CStringFeatures<int16_t>(); 01088 case PT_UINT16: return new CStringFeatures<uint16_t>(); 01089 case PT_INT32: return new CStringFeatures<int32_t>(); 01090 case PT_UINT32: return new CStringFeatures<uint32_t>(); 01091 case PT_INT64: return new CStringFeatures<int64_t>(); 01092 case PT_UINT64: return new CStringFeatures<uint64_t>(); 01093 case PT_FLOAT32: return new CStringFeatures<float32_t>(); 01094 case PT_FLOAT64: return new CStringFeatures<float64_t>(); 01095 case PT_FLOATMAX: return new CStringFeatures<floatmax_t>(); 01096 case PT_SGOBJECT: return NULL; 01097 } 01098 return NULL; 01099 } 01100 static CSGObject* __new_CSparseFeatures(EPrimitiveType g) 01101 { 01102 switch (g) 01103 { 01104 case PT_BOOL: return new CSparseFeatures<bool>(); 01105 case PT_CHAR: return new CSparseFeatures<char>(); 01106 case PT_INT8: return new CSparseFeatures<int8_t>(); 01107 case PT_UINT8: return new CSparseFeatures<uint8_t>(); 01108 case PT_INT16: return new CSparseFeatures<int16_t>(); 01109 case PT_UINT16: return new CSparseFeatures<uint16_t>(); 01110 case PT_INT32: return new CSparseFeatures<int32_t>(); 01111 case PT_UINT32: return new CSparseFeatures<uint32_t>(); 01112 case PT_INT64: return new CSparseFeatures<int64_t>(); 01113 case PT_UINT64: return new CSparseFeatures<uint64_t>(); 01114 case PT_FLOAT32: return new CSparseFeatures<float32_t>(); 01115 case PT_FLOAT64: return new CSparseFeatures<float64_t>(); 01116 case PT_FLOATMAX: return new CSparseFeatures<floatmax_t>(); 01117 case PT_SGOBJECT: return NULL; 01118 } 01119 return NULL; 01120 } 01121 static CSGObject* __new_CMatrixFeatures(EPrimitiveType g) 01122 { 01123 switch (g) 01124 { 01125 case PT_BOOL: return new CMatrixFeatures<bool>(); 01126 case PT_CHAR: return new CMatrixFeatures<char>(); 01127 case PT_INT8: return new CMatrixFeatures<int8_t>(); 01128 case PT_UINT8: return new CMatrixFeatures<uint8_t>(); 01129 case PT_INT16: return new CMatrixFeatures<int16_t>(); 01130 case PT_UINT16: return new CMatrixFeatures<uint16_t>(); 01131 case PT_INT32: return new CMatrixFeatures<int32_t>(); 01132 case PT_UINT32: return new CMatrixFeatures<uint32_t>(); 01133 case PT_INT64: return new CMatrixFeatures<int64_t>(); 01134 case PT_UINT64: return new CMatrixFeatures<uint64_t>(); 01135 case PT_FLOAT32: return new CMatrixFeatures<float32_t>(); 01136 case PT_FLOAT64: return new CMatrixFeatures<float64_t>(); 01137 case PT_FLOATMAX: return new CMatrixFeatures<floatmax_t>(); 01138 case PT_SGOBJECT: return NULL; 01139 } 01140 return NULL; 01141 } 01142 static CSGObject* __new_CDenseSubsetFeatures(EPrimitiveType g) 01143 { 01144 switch (g) 01145 { 01146 case PT_BOOL: return new CDenseSubsetFeatures<bool>(); 01147 case PT_CHAR: return new CDenseSubsetFeatures<char>(); 01148 case PT_INT8: return new CDenseSubsetFeatures<int8_t>(); 01149 case PT_UINT8: return new CDenseSubsetFeatures<uint8_t>(); 01150 case PT_INT16: return new CDenseSubsetFeatures<int16_t>(); 01151 case PT_UINT16: return new CDenseSubsetFeatures<uint16_t>(); 01152 case PT_INT32: return new CDenseSubsetFeatures<int32_t>(); 01153 case PT_UINT32: return new CDenseSubsetFeatures<uint32_t>(); 01154 case PT_INT64: return new CDenseSubsetFeatures<int64_t>(); 01155 case PT_UINT64: return new CDenseSubsetFeatures<uint64_t>(); 01156 case PT_FLOAT32: return new CDenseSubsetFeatures<float32_t>(); 01157 case PT_FLOAT64: return new CDenseSubsetFeatures<float64_t>(); 01158 case PT_FLOATMAX: return new CDenseSubsetFeatures<floatmax_t>(); 01159 case PT_SGOBJECT: return NULL; 01160 } 01161 return NULL; 01162 } 01163 static CSGObject* __new_CDenseFeatures(EPrimitiveType g) 01164 { 01165 switch (g) 01166 { 01167 case PT_BOOL: return new CDenseFeatures<bool>(); 01168 case PT_CHAR: return new CDenseFeatures<char>(); 01169 case PT_INT8: return new CDenseFeatures<int8_t>(); 01170 case PT_UINT8: return new CDenseFeatures<uint8_t>(); 01171 case PT_INT16: return new CDenseFeatures<int16_t>(); 01172 case PT_UINT16: return new CDenseFeatures<uint16_t>(); 01173 case PT_INT32: return new CDenseFeatures<int32_t>(); 01174 case PT_UINT32: return new CDenseFeatures<uint32_t>(); 01175 case PT_INT64: return new CDenseFeatures<int64_t>(); 01176 case PT_UINT64: return new CDenseFeatures<uint64_t>(); 01177 case PT_FLOAT32: return new CDenseFeatures<float32_t>(); 01178 case PT_FLOAT64: return new CDenseFeatures<float64_t>(); 01179 case PT_FLOATMAX: return new CDenseFeatures<floatmax_t>(); 01180 case PT_SGOBJECT: return NULL; 01181 } 01182 return NULL; 01183 } 01184 typedef CSGObject* (*new_sgserializable_t)(EPrimitiveType generic); 01185 #ifndef DOXYGEN_SHOULD_SKIP_THIS 01186 typedef struct 01187 { 01188 const char* m_class_name; 01189 new_sgserializable_t m_new_sgserializable; 01190 } class_list_entry_t; 01191 #endif 01192 01193 static class_list_entry_t class_list[] = { 01194 {"GUITime", __new_CGUITime}, 01195 {"GUIStructure", __new_CGUIStructure}, 01196 {"GUIPreprocessor", __new_CGUIPreprocessor}, 01197 {"GUIPluginEstimate", __new_CGUIPluginEstimate}, 01198 {"GUIMath", __new_CGUIMath}, 01199 {"GUILabels", __new_CGUILabels}, 01200 {"GUIKernel", __new_CGUIKernel}, 01201 {"GUIHMM", __new_CGUIHMM}, 01202 {"GUIFeatures", __new_CGUIFeatures}, 01203 {"GUIDistance", __new_CGUIDistance}, 01204 {"GUIConverter", __new_CGUIConverter}, 01205 {"GUIClassifier", __new_CGUIClassifier}, 01206 {"TaskTree", __new_CTaskTree}, 01207 {"TaskGroup", __new_CTaskGroup}, 01208 {"Task", __new_CTask}, 01209 {"MultitaskTraceLogisticRegression", __new_CMultitaskTraceLogisticRegression}, 01210 {"MultitaskROCEvaluation", __new_CMultitaskROCEvaluation}, 01211 {"MultitaskLogisticRegression", __new_CMultitaskLogisticRegression}, 01212 {"MultitaskLinearMachine", __new_CMultitaskLinearMachine}, 01213 {"MultitaskLeastSquaresRegression", __new_CMultitaskLeastSquaresRegression}, 01214 {"MultitaskL12LogisticRegression", __new_CMultitaskL12LogisticRegression}, 01215 {"Node", __new_CNode}, 01216 {"Taxonomy", __new_CTaxonomy}, 01217 {"MultitaskKernelTreeNormalizer", __new_CMultitaskKernelTreeNormalizer}, 01218 {"MultitaskKernelPlifNormalizer", __new_CMultitaskKernelPlifNormalizer}, 01219 {"MultitaskKernelNormalizer", __new_CMultitaskKernelNormalizer}, 01220 {"MultitaskKernelMaskPairNormalizer", __new_CMultitaskKernelMaskPairNormalizer}, 01221 {"MultitaskKernelMaskNormalizer", __new_CMultitaskKernelMaskNormalizer}, 01222 {"MultitaskCompositeMachine", __new_CMultitaskCompositeMachine}, 01223 {"MultitaskClusteredLogisticRegression", __new_CMultitaskClusteredLogisticRegression}, 01224 {"LibLinearMTL", __new_CLibLinearMTL}, 01225 {"DomainAdaptationSVMLinear", __new_CDomainAdaptationSVMLinear}, 01226 {"DomainAdaptationMulticlassLibLinear", __new_CDomainAdaptationMulticlassLibLinear}, 01227 {"TwoStateModel", __new_CTwoStateModel}, 01228 {"SegmentLoss", __new_CSegmentLoss}, 01229 {"PlifMatrix", __new_CPlifMatrix}, 01230 {"PlifArray", __new_CPlifArray}, 01231 {"Plif", __new_CPlif}, 01232 {"MulticlassSOLabels", __new_CMulticlassSOLabels}, 01233 {"MulticlassModel", __new_CMulticlassModel}, 01234 {"IntronList", __new_CIntronList}, 01235 {"HMSVMModel", __new_CHMSVMModel}, 01236 {"Sequence", __new_CSequence}, 01237 {"HMSVMLabels", __new_CHMSVMLabels}, 01238 {"DynProg", __new_CDynProg}, 01239 {"DualLibQPBMSOSVM", __new_CDualLibQPBMSOSVM}, 01240 {"QuadraticTimeMMD", __new_CQuadraticTimeMMD}, 01241 {"LinearTimeMMD", __new_CLinearTimeMMD}, 01242 {"KernelMeanMatching", __new_CKernelMeanMatching}, 01243 {"HSIC", __new_CHSIC}, 01244 {"MKLRegression", __new_CMKLRegression}, 01245 {"LibSVR", __new_CLibSVR}, 01246 {"LibLinearRegression", __new_CLibLinearRegression}, 01247 {"ZeroMean", __new_CZeroMean}, 01248 {"LinearRidgeRegression", __new_CLinearRidgeRegression}, 01249 {"LeastSquaresRegression", __new_CLeastSquaresRegression}, 01250 {"LeastAngleRegression", __new_CLeastAngleRegression}, 01251 {"KernelRidgeRegression", __new_CKernelRidgeRegression}, 01252 {"SumOne", __new_CSumOne}, 01253 {"SortWordString", __new_CSortWordString}, 01254 {"SortUlongString", __new_CSortUlongString}, 01255 {"RandomFourierGaussPreproc", __new_CRandomFourierGaussPreproc}, 01256 {"PruneVarSubMean", __new_CPruneVarSubMean}, 01257 {"PNorm", __new_CPNorm}, 01258 {"PCA", __new_CPCA}, 01259 {"NormOne", __new_CNormOne}, 01260 {"LogPlusOne", __new_CLogPlusOne}, 01261 {"KernelPCA", __new_CKernelPCA}, 01262 {"HomogeneousKernelMap", __new_CHomogeneousKernelMap}, 01263 {"DimensionReductionPreprocessor", __new_CDimensionReductionPreprocessor}, 01264 {"Tron", __new_CTron}, 01265 {"RelaxedTree", __new_CRelaxedTree}, 01266 {"RandomConditionalProbabilityTree", __new_CRandomConditionalProbabilityTree}, 01267 {"BalancedConditionalProbabilityTree", __new_CBalancedConditionalProbabilityTree}, 01268 {"ECOCStrategy", __new_CECOCStrategy}, 01269 {"ECOCRandomSparseEncoder", __new_CECOCRandomSparseEncoder}, 01270 {"ECOCRandomDenseEncoder", __new_CECOCRandomDenseEncoder}, 01271 {"ECOCOVREncoder", __new_CECOCOVREncoder}, 01272 {"ECOCOVOEncoder", __new_CECOCOVOEncoder}, 01273 {"ECOCLLBDecoder", __new_CECOCLLBDecoder}, 01274 {"ECOCIHDDecoder", __new_CECOCIHDDecoder}, 01275 {"ECOCHDDecoder", __new_CECOCHDDecoder}, 01276 {"ECOCForestEncoder", __new_CECOCForestEncoder}, 01277 {"ECOCEDDecoder", __new_CECOCEDDecoder}, 01278 {"ECOCDiscriminantEncoder", __new_CECOCDiscriminantEncoder}, 01279 {"ECOCAEDDecoder", __new_CECOCAEDDecoder}, 01280 {"ShareBoost", __new_CShareBoost}, 01281 {"ScatterSVM", __new_CScatterSVM}, 01282 {"ThresholdRejectionStrategy", __new_CThresholdRejectionStrategy}, 01283 {"DixonQTestRejectionStrategy", __new_CDixonQTestRejectionStrategy}, 01284 {"QDA", __new_CQDA}, 01285 {"MulticlassSVM", __new_CMulticlassSVM}, 01286 {"MulticlassOneVsRestStrategy", __new_CMulticlassOneVsRestStrategy}, 01287 {"MulticlassOneVsOneStrategy", __new_CMulticlassOneVsOneStrategy}, 01288 {"MulticlassOCAS", __new_CMulticlassOCAS}, 01289 {"MulticlassLibSVM", __new_CMulticlassLibSVM}, 01290 {"MulticlassLibLinear", __new_CMulticlassLibLinear}, 01291 {"LaRank", __new_CLaRank}, 01292 {"KNN", __new_CKNN}, 01293 {"GaussianNaiveBayes", __new_CGaussianNaiveBayes}, 01294 {"GMNPSVM", __new_CGMNPSVM}, 01295 {"GMNPLib", __new_CGMNPLib}, 01296 {"ConjugateIndex", __new_CConjugateIndex}, 01297 {"RandomSearchModelSelection", __new_CRandomSearchModelSelection}, 01298 {"ParameterCombination", __new_CParameterCombination}, 01299 {"ModelSelectionParameters", __new_CModelSelectionParameters}, 01300 {"GridSearchModelSelection", __new_CGridSearchModelSelection}, 01301 {"GradientModelSelection", __new_CGradientModelSelection}, 01302 {"Statistics", __new_CStatistics}, 01303 {"SparseInverseCovariance", __new_CSparseInverseCovariance}, 01304 {"Math", __new_CMath}, 01305 {"StructuredOutputMachine", __new_CStructuredOutputMachine}, 01306 {"OnlineLinearMachine", __new_COnlineLinearMachine}, 01307 {"NativeMulticlassMachine", __new_CNativeMulticlassMachine}, 01308 {"Machine", __new_CMachine}, 01309 {"LinearStructuredOutputMachine", __new_CLinearStructuredOutputMachine}, 01310 {"LinearMulticlassMachine", __new_CLinearMulticlassMachine}, 01311 {"LinearMachine", __new_CLinearMachine}, 01312 {"KernelStructuredOutputMachine", __new_CKernelStructuredOutputMachine}, 01313 {"KernelMulticlassMachine", __new_CKernelMulticlassMachine}, 01314 {"KernelMachine", __new_CKernelMachine}, 01315 {"DistanceMachine", __new_CDistanceMachine}, 01316 {"BaseMulticlassMachine", __new_CBaseMulticlassMachine}, 01317 {"SquaredLoss", __new_CSquaredLoss}, 01318 {"SquaredHingeLoss", __new_CSquaredHingeLoss}, 01319 {"SmoothHingeLoss", __new_CSmoothHingeLoss}, 01320 {"LogLossMargin", __new_CLogLossMargin}, 01321 {"LogLoss", __new_CLogLoss}, 01322 {"HingeLoss", __new_CHingeLoss}, 01323 {"Time", __new_CTime}, 01324 {"StructuredData", __new_CStructuredData}, 01325 {"Signal", __new_CSignal}, 01326 {"ListElement", __new_CListElement}, 01327 {"List", __new_CList}, 01328 {"IndexBlockTree", __new_CIndexBlockTree}, 01329 {"IndexBlockGroup", __new_CIndexBlockGroup}, 01330 {"IndexBlock", __new_CIndexBlock}, 01331 {"Hash", __new_CHash}, 01332 {"FibonacciHeap", __new_CFibonacciHeap}, 01333 {"DynamicObjectArray", __new_CDynamicObjectArray}, 01334 {"Data", __new_CData}, 01335 {"Compressor", __new_CCompressor}, 01336 {"BitString", __new_CBitString}, 01337 {"LatentSVM", __new_CLatentSVM}, 01338 {"LatentSOSVM", __new_CLatentSOSVM}, 01339 {"StructuredLabels", __new_CStructuredLabels}, 01340 {"RegressionLabels", __new_CRegressionLabels}, 01341 {"MulticlassMultipleOutputLabels", __new_CMulticlassMultipleOutputLabels}, 01342 {"MulticlassLabels", __new_CMulticlassLabels}, 01343 {"LatentLabels", __new_CLatentLabels}, 01344 {"BinaryLabels", __new_CBinaryLabels}, 01345 {"WeightedDegreeStringKernel", __new_CWeightedDegreeStringKernel}, 01346 {"WeightedDegreePositionStringKernel", __new_CWeightedDegreePositionStringKernel}, 01347 {"WeightedCommWordStringKernel", __new_CWeightedCommWordStringKernel}, 01348 {"SpectrumRBFKernel", __new_CSpectrumRBFKernel}, 01349 {"SpectrumMismatchRBFKernel", __new_CSpectrumMismatchRBFKernel}, 01350 {"SparseSpatialSampleStringKernel", __new_CSparseSpatialSampleStringKernel}, 01351 {"SimpleLocalityImprovedStringKernel", __new_CSimpleLocalityImprovedStringKernel}, 01352 {"SalzbergWordStringKernel", __new_CSalzbergWordStringKernel}, 01353 {"SNPStringKernel", __new_CSNPStringKernel}, 01354 {"RegulatoryModulesStringKernel", __new_CRegulatoryModulesStringKernel}, 01355 {"PolyMatchWordStringKernel", __new_CPolyMatchWordStringKernel}, 01356 {"PolyMatchStringKernel", __new_CPolyMatchStringKernel}, 01357 {"OligoStringKernel", __new_COligoStringKernel}, 01358 {"MatchWordStringKernel", __new_CMatchWordStringKernel}, 01359 {"LocalityImprovedStringKernel", __new_CLocalityImprovedStringKernel}, 01360 {"LocalAlignmentStringKernel", __new_CLocalAlignmentStringKernel}, 01361 {"LinearStringKernel", __new_CLinearStringKernel}, 01362 {"HistogramWordStringKernel", __new_CHistogramWordStringKernel}, 01363 {"GaussianMatchStringKernel", __new_CGaussianMatchStringKernel}, 01364 {"FixedDegreeStringKernel", __new_CFixedDegreeStringKernel}, 01365 {"DistantSegmentsKernel", __new_CDistantSegmentsKernel}, 01366 {"CommWordStringKernel", __new_CCommWordStringKernel}, 01367 {"CommUlongStringKernel", __new_CCommUlongStringKernel}, 01368 {"ZeroMeanCenterKernelNormalizer", __new_CZeroMeanCenterKernelNormalizer}, 01369 {"VarianceKernelNormalizer", __new_CVarianceKernelNormalizer}, 01370 {"TanimotoKernelNormalizer", __new_CTanimotoKernelNormalizer}, 01371 {"SqrtDiagKernelNormalizer", __new_CSqrtDiagKernelNormalizer}, 01372 {"ScatterKernelNormalizer", __new_CScatterKernelNormalizer}, 01373 {"RidgeKernelNormalizer", __new_CRidgeKernelNormalizer}, 01374 {"IdentityKernelNormalizer", __new_CIdentityKernelNormalizer}, 01375 {"FirstElementKernelNormalizer", __new_CFirstElementKernelNormalizer}, 01376 {"DiceKernelNormalizer", __new_CDiceKernelNormalizer}, 01377 {"AvgDiagKernelNormalizer", __new_CAvgDiagKernelNormalizer}, 01378 {"WeightedDegreeRBFKernel", __new_CWeightedDegreeRBFKernel}, 01379 {"WaveletKernel", __new_CWaveletKernel}, 01380 {"WaveKernel", __new_CWaveKernel}, 01381 {"TensorProductPairKernel", __new_CTensorProductPairKernel}, 01382 {"TStudentKernel", __new_CTStudentKernel}, 01383 {"SplineKernel", __new_CSplineKernel}, 01384 {"SphericalKernel", __new_CSphericalKernel}, 01385 {"SigmoidKernel", __new_CSigmoidKernel}, 01386 {"RationalQuadraticKernel", __new_CRationalQuadraticKernel}, 01387 {"PyramidChi2", __new_CPyramidChi2}, 01388 {"ProductKernel", __new_CProductKernel}, 01389 {"PowerKernel", __new_CPowerKernel}, 01390 {"PolyKernel", __new_CPolyKernel}, 01391 {"MultiquadricKernel", __new_CMultiquadricKernel}, 01392 {"LogKernel", __new_CLogKernel}, 01393 {"LinearKernel", __new_CLinearKernel}, 01394 {"LinearARDKernel", __new_CLinearARDKernel}, 01395 {"JensenShannonKernel", __new_CJensenShannonKernel}, 01396 {"InverseMultiQuadricKernel", __new_CInverseMultiQuadricKernel}, 01397 {"HistogramIntersectionKernel", __new_CHistogramIntersectionKernel}, 01398 {"GaussianShortRealKernel", __new_CGaussianShortRealKernel}, 01399 {"GaussianShiftKernel", __new_CGaussianShiftKernel}, 01400 {"GaussianKernel", __new_CGaussianKernel}, 01401 {"GaussianARDKernel", __new_CGaussianARDKernel}, 01402 {"ExponentialKernel", __new_CExponentialKernel}, 01403 {"DistanceKernel", __new_CDistanceKernel}, 01404 {"DiagKernel", __new_CDiagKernel}, 01405 {"CustomKernel", __new_CCustomKernel}, 01406 {"ConstKernel", __new_CConstKernel}, 01407 {"CombinedKernel", __new_CCombinedKernel}, 01408 {"CircularKernel", __new_CCircularKernel}, 01409 {"Chi2Kernel", __new_CChi2Kernel}, 01410 {"CauchyKernel", __new_CCauchyKernel}, 01411 {"BesselKernel", __new_CBesselKernel}, 01412 {"AUCKernel", __new_CAUCKernel}, 01413 {"ANOVAKernel", __new_CANOVAKernel}, 01414 {"StreamingVwFile", __new_CStreamingVwFile}, 01415 {"StreamingVwCacheFile", __new_CStreamingVwCacheFile}, 01416 {"StreamingFileFromFeatures", __new_CStreamingFileFromFeatures}, 01417 {"StreamingFile", __new_CStreamingFile}, 01418 {"StreamingAsciiFile", __new_CStreamingAsciiFile}, 01419 {"SerializableAsciiFile", __new_CSerializableAsciiFile}, 01420 {"IOBuffer", __new_CIOBuffer}, 01421 {"BinaryFile", __new_CBinaryFile}, 01422 {"AsciiFile", __new_CAsciiFile}, 01423 {"StreamingVwFeatures", __new_CStreamingVwFeatures}, 01424 {"WDFeatures", __new_CWDFeatures}, 01425 {"TOPFeatures", __new_CTOPFeatures}, 01426 {"SubsetStack", __new_CSubsetStack}, 01427 {"Subset", __new_CSubset}, 01428 {"SparsePolyFeatures", __new_CSparsePolyFeatures}, 01429 {"SNPFeatures", __new_CSNPFeatures}, 01430 {"RealFileFeatures", __new_CRealFileFeatures}, 01431 {"PolyFeatures", __new_CPolyFeatures}, 01432 {"LatentFeatures", __new_CLatentFeatures}, 01433 {"LBPPyrDotFeatures", __new_CLBPPyrDotFeatures}, 01434 {"ImplicitWeightedSpecFeatures", __new_CImplicitWeightedSpecFeatures}, 01435 {"HashedWDFeaturesTransposed", __new_CHashedWDFeaturesTransposed}, 01436 {"HashedWDFeatures", __new_CHashedWDFeatures}, 01437 {"FKFeatures", __new_CFKFeatures}, 01438 {"ExplicitSpecFeatures", __new_CExplicitSpecFeatures}, 01439 {"DummyFeatures", __new_CDummyFeatures}, 01440 {"DataGenerator", __new_CDataGenerator}, 01441 {"CombinedFeatures", __new_CCombinedFeatures}, 01442 {"CombinedDotFeatures", __new_CCombinedDotFeatures}, 01443 {"BinnedDotFeatures", __new_CBinnedDotFeatures}, 01444 {"Alphabet", __new_CAlphabet}, 01445 {"StructuredAccuracy", __new_CStructuredAccuracy}, 01446 {"StratifiedCrossValidationSplitting", __new_CStratifiedCrossValidationSplitting}, 01447 {"ROCEvaluation", __new_CROCEvaluation}, 01448 {"PRCEvaluation", __new_CPRCEvaluation}, 01449 {"MulticlassOVREvaluation", __new_CMulticlassOVREvaluation}, 01450 {"MulticlassAccuracy", __new_CMulticlassAccuracy}, 01451 {"MeanSquaredLogError", __new_CMeanSquaredLogError}, 01452 {"MeanSquaredError", __new_CMeanSquaredError}, 01453 {"MeanAbsoluteError", __new_CMeanAbsoluteError}, 01454 {"GradientResult", __new_CGradientResult}, 01455 {"GradientEvaluation", __new_CGradientEvaluation}, 01456 {"GradientCriterion", __new_CGradientCriterion}, 01457 {"CrossValidationSplitting", __new_CCrossValidationSplitting}, 01458 {"CrossValidationPrintOutput", __new_CCrossValidationPrintOutput}, 01459 {"CrossValidationMulticlassStorage", __new_CCrossValidationMulticlassStorage}, 01460 {"CrossValidationMKLStorage", __new_CCrossValidationMKLStorage}, 01461 {"CrossValidationResult", __new_CCrossValidationResult}, 01462 {"CrossValidation", __new_CCrossValidation}, 01463 {"ContingencyTableEvaluation", __new_CContingencyTableEvaluation}, 01464 {"AccuracyMeasure", __new_CAccuracyMeasure}, 01465 {"ErrorRateMeasure", __new_CErrorRateMeasure}, 01466 {"BALMeasure", __new_CBALMeasure}, 01467 {"WRACCMeasure", __new_CWRACCMeasure}, 01468 {"F1Measure", __new_CF1Measure}, 01469 {"CrossCorrelationMeasure", __new_CCrossCorrelationMeasure}, 01470 {"RecallMeasure", __new_CRecallMeasure}, 01471 {"PrecisionMeasure", __new_CPrecisionMeasure}, 01472 {"SpecificityMeasure", __new_CSpecificityMeasure}, 01473 {"ClusteringMutualInformation", __new_CClusteringMutualInformation}, 01474 {"ClusteringAccuracy", __new_CClusteringAccuracy}, 01475 {"PositionalPWM", __new_CPositionalPWM}, 01476 {"LinearHMM", __new_CLinearHMM}, 01477 {"Histogram", __new_CHistogram}, 01478 {"HMM", __new_CHMM}, 01479 {"Gaussian", __new_CGaussian}, 01480 {"GHMM", __new_CGHMM}, 01481 {"TanimotoDistance", __new_CTanimotoDistance}, 01482 {"SparseEuclideanDistance", __new_CSparseEuclideanDistance}, 01483 {"MinkowskiMetric", __new_CMinkowskiMetric}, 01484 {"ManhattanWordDistance", __new_CManhattanWordDistance}, 01485 {"ManhattanMetric", __new_CManhattanMetric}, 01486 {"MahalanobisDistance", __new_CMahalanobisDistance}, 01487 {"KernelDistance", __new_CKernelDistance}, 01488 {"JensenMetric", __new_CJensenMetric}, 01489 {"HammingWordDistance", __new_CHammingWordDistance}, 01490 {"GeodesicMetric", __new_CGeodesicMetric}, 01491 {"EuclideanDistance", __new_CEuclideanDistance}, 01492 {"CustomDistance", __new_CCustomDistance}, 01493 {"CosineDistance", __new_CCosineDistance}, 01494 {"ChiSquareDistance", __new_CChiSquareDistance}, 01495 {"ChebyshewMetric", __new_CChebyshewMetric}, 01496 {"CanberraWordDistance", __new_CCanberraWordDistance}, 01497 {"CanberraMetric", __new_CCanberraMetric}, 01498 {"BrayCurtisDistance", __new_CBrayCurtisDistance}, 01499 {"AttenuatedEuclideanDistance", __new_CAttenuatedEuclideanDistance}, 01500 {"StochasticProximityEmbedding", __new_CStochasticProximityEmbedding}, 01501 {"NeighborhoodPreservingEmbedding", __new_CNeighborhoodPreservingEmbedding}, 01502 {"MultidimensionalScaling", __new_CMultidimensionalScaling}, 01503 {"LocallyLinearEmbedding", __new_CLocallyLinearEmbedding}, 01504 {"LocalityPreservingProjections", __new_CLocalityPreservingProjections}, 01505 {"LocalTangentSpaceAlignment", __new_CLocalTangentSpaceAlignment}, 01506 {"LinearLocalTangentSpaceAlignment", __new_CLinearLocalTangentSpaceAlignment}, 01507 {"LaplacianEigenmaps", __new_CLaplacianEigenmaps}, 01508 {"KernelLocallyLinearEmbedding", __new_CKernelLocallyLinearEmbedding}, 01509 {"KernelLocalTangentSpaceAlignment", __new_CKernelLocalTangentSpaceAlignment}, 01510 {"Isomap", __new_CIsomap}, 01511 {"HessianLocallyLinearEmbedding", __new_CHessianLocallyLinearEmbedding}, 01512 {"DiffusionMaps", __new_CDiffusionMaps}, 01513 {"KMeans", __new_CKMeans}, 01514 {"Hierarchical", __new_CHierarchical}, 01515 {"GMM", __new_CGMM}, 01516 {"VwNonAdaptiveLearner", __new_CVwNonAdaptiveLearner}, 01517 {"VwAdaptiveLearner", __new_CVwAdaptiveLearner}, 01518 {"VwNativeCacheWriter", __new_CVwNativeCacheWriter}, 01519 {"VwNativeCacheReader", __new_CVwNativeCacheReader}, 01520 {"VwRegressor", __new_CVwRegressor}, 01521 {"VwParser", __new_CVwParser}, 01522 {"VwEnvironment", __new_CVwEnvironment}, 01523 {"VowpalWabbit", __new_CVowpalWabbit}, 01524 {"WDSVMOcas", __new_CWDSVMOcas}, 01525 {"SubGradientSVM", __new_CSubGradientSVM}, 01526 {"SVMSGD", __new_CSVMSGD}, 01527 {"SVMOcas", __new_CSVMOcas}, 01528 {"SVMLin", __new_CSVMLin}, 01529 {"SVM", __new_CSVM}, 01530 {"SGDQN", __new_CSGDQN}, 01531 {"QPBSVMLib", __new_CQPBSVMLib}, 01532 {"OnlineSVMSGD", __new_COnlineSVMSGD}, 01533 {"OnlineLibLinear", __new_COnlineLibLinear}, 01534 {"NewtonSVM", __new_CNewtonSVM}, 01535 {"MPDSVM", __new_CMPDSVM}, 01536 {"LibSVMOneClass", __new_CLibSVMOneClass}, 01537 {"LibSVM", __new_CLibSVM}, 01538 {"LibLinear", __new_CLibLinear}, 01539 {"GPBTSVM", __new_CGPBTSVM}, 01540 {"GNPPSVM", __new_CGNPPSVM}, 01541 {"GNPPLib", __new_CGNPPLib}, 01542 {"MKLOneClass", __new_CMKLOneClass}, 01543 {"MKLMulticlass", __new_CMKLMulticlass}, 01544 {"MKLClassification", __new_CMKLClassification}, 01545 {"PluginEstimate", __new_CPluginEstimate}, 01546 {"Perceptron", __new_CPerceptron}, 01547 {"NearestCentroid", __new_CNearestCentroid}, 01548 {"LDA", __new_CLDA}, 01549 {"FeatureBlockLogisticRegression", __new_CFeatureBlockLogisticRegression}, 01550 {"AveragedPerceptron", __new_CAveragedPerceptron}, 01551 {"DecompressString", __new_CDecompressString}, 01552 {"TreeMachine", __new_CTreeMachine}, 01553 {"Set", __new_CSet}, 01554 {"DynamicArray", __new_CDynamicArray}, 01555 {"Cache", __new_CCache}, 01556 {"StreamingFileFromStringFeatures", __new_CStreamingFileFromStringFeatures}, 01557 {"StreamingFileFromSparseFeatures", __new_CStreamingFileFromSparseFeatures}, 01558 {"StreamingFileFromDenseFeatures", __new_CStreamingFileFromDenseFeatures}, 01559 {"ParseBuffer", __new_CParseBuffer}, 01560 {"SimpleFile", __new_CSimpleFile}, 01561 {"MemoryMappedFile", __new_CMemoryMappedFile}, 01562 {"BinaryStream", __new_CBinaryStream}, 01563 {"StreamingStringFeatures", __new_CStreamingStringFeatures}, 01564 {"StreamingSparseFeatures", __new_CStreamingSparseFeatures}, 01565 {"StreamingDenseFeatures", __new_CStreamingDenseFeatures}, 01566 {"StringFileFeatures", __new_CStringFileFeatures}, 01567 {"StringFeatures", __new_CStringFeatures}, 01568 {"SparseFeatures", __new_CSparseFeatures}, 01569 {"MatrixFeatures", __new_CMatrixFeatures}, 01570 {"DenseSubsetFeatures", __new_CDenseSubsetFeatures}, 01571 {"DenseFeatures", __new_CDenseFeatures}, {NULL, NULL} 01572 }; 01573 01574 CSGObject* shogun::new_sgserializable(const char* sgserializable_name, 01575 EPrimitiveType generic) 01576 { 01577 for (class_list_entry_t* i=class_list; i->m_class_name != NULL; 01578 i++) 01579 { 01580 if (strncmp(i->m_class_name, sgserializable_name, STRING_LEN) == 0) 01581 return i->m_new_sgserializable(generic); 01582 } 01583 01584 return NULL; 01585 }