SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
class_list.cpp
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Written (W) 2009 Soeren Sonnenburg
8  * Copyright (C) 2009 Fraunhofer Institute FIRST and Max-Planck-Society
9  */
10 
11 #include "lib/common.h"
12 #include "base/class_list.h"
13 
14 #include <string.h>
15 
16 #include "kernel/Kernel.h"
17 
37 #include "machine/Machine.h"
42 #include "machine/KernelMachine.h"
45 #include "machine/LinearMachine.h"
48 #include "machine/BaggingMachine.h"
58 #include "machine/gp/ZeroMean.h"
61 #include "labels/LatentLabels.h"
64 #include "labels/BinaryLabels.h"
66 #include "labels/LabelsFactory.h"
73 #include "latent/LatentSOSVM.h"
74 #include "latent/LatentSVM.h"
76 #include "structure/IntronList.h"
77 #include "structure/SOSVMHelper.h"
79 #include "structure/MAPInference.h"
81 #include "structure/PlifArray.h"
82 #include "structure/SegmentLoss.h"
83 #include "structure/DisjointSet.h"
85 #include "structure/Plif.h"
86 #include "structure/FactorGraph.h"
87 #include "structure/HMSVMModel.h"
88 #include "structure/Factor.h"
90 #include "structure/FactorType.h"
91 #include "structure/DynProg.h"
92 #include "structure/CCSOSVM.h"
95 #include "structure/PlifMatrix.h"
96 #include "metric/LMNN.h"
97 #include "ui/GUIFeatures.h"
98 #include "ui/GUIStructure.h"
99 #include "ui/GUIConverter.h"
100 #include "ui/GUIPluginEstimate.h"
101 #include "ui/GUIClassifier.h"
102 #include "ui/GUIDistance.h"
103 #include "ui/GUIPreprocessor.h"
104 #include "ui/GUILabels.h"
105 #include "ui/GUIKernel.h"
106 #include "ui/GUITime.h"
107 #include "ui/GUIMath.h"
108 #include "ui/GUIHMM.h"
114 #include "statistics/HSIC.h"
123 #include "regression/svr/LibSVR.h"
126 #include "multiclass/KNN.h"
129 #include "multiclass/MCLDA.h"
130 #include "multiclass/GMNPSVM.h"
133 #include "multiclass/GMNPLib.h"
134 #include "multiclass/LaRank.h"
136 #include "multiclass/ShareBoost.h"
141 #include "multiclass/QDA.h"
142 #include "multiclass/ScatterSVM.h"
160 #include "loss/LogLossMargin.h"
161 #include "loss/LogLoss.h"
162 #include "loss/SquaredHingeLoss.h"
163 #include "loss/SmoothHingeLoss.h"
164 #include "loss/HingeLoss.h"
165 #include "loss/SquaredLoss.h"
166 #include "distributions/LinearHMM.h"
167 #include "distributions/Histogram.h"
168 #include "distributions/HMM.h"
169 #include "distributions/Gaussian.h"
171 #include "distributions/GHMM.h"
173 #include "ensemble/MajorityVote.h"
175 #include "ensemble/MeanRule.h"
177 #include "io/Parser.h"
178 #include "io/LibSVMFile.h"
179 #include "io/ProtobufFile.h"
180 #include "io/BinaryStream.h"
181 #include "io/IOBuffer.h"
182 #include "io/SimpleFile.h"
183 #include "io/MemoryMappedFile.h"
184 #include "io/BinaryFile.h"
185 #include "io/CSVFile.h"
186 #include "io/LineReader.h"
196 #include "mathematics/Math.h"
198 #include "mathematics/Integration.h"
199 #include "mathematics/Statistics.h"
200 #include "mathematics/Random.h"
204 #include "mathematics/ajd/UWedge.h"
205 #include "mathematics/ajd/QDiag.h"
206 #include "mathematics/ajd/FFDiag.h"
207 #include "mathematics/ajd/JADiag.h"
230 #include "classifier/Perceptron.h"
231 #include "classifier/LDA.h"
236 #include "classifier/svm/SGDQN.h"
237 #include "classifier/svm/LibSVM.h"
238 #include "classifier/svm/GNPPSVM.h"
239 #include "classifier/svm/SVM.h"
240 #include "classifier/svm/SVMLin.h"
241 #include "classifier/svm/GPBTSVM.h"
244 #include "classifier/svm/GNPPLib.h"
246 #include "classifier/svm/SVMOcas.h"
247 #include "classifier/svm/MPDSVM.h"
248 #include "classifier/svm/SVMSGD.h"
253 #include "classifier/vw/VwParser.h"
260 #include "kernel/TStudentKernel.h"
261 #include "kernel/CombinedKernel.h"
262 #include "kernel/SigmoidKernel.h"
263 #include "kernel/GaussianKernel.h"
264 #include "kernel/PolyKernel.h"
265 #include "kernel/BesselKernel.h"
266 #include "kernel/CauchyKernel.h"
268 #include "kernel/SplineKernel.h"
269 #include "kernel/DiagKernel.h"
271 #include "kernel/WaveletKernel.h"
272 #include "kernel/CircularKernel.h"
276 #include "kernel/AUCKernel.h"
277 #include "kernel/ConstKernel.h"
278 #include "kernel/CustomKernel.h"
279 #include "kernel/LinearKernel.h"
281 #include "kernel/DistanceKernel.h"
284 #include "kernel/SphericalKernel.h"
286 #include "kernel/LinearARDKernel.h"
287 #include "kernel/LogKernel.h"
288 #include "kernel/Chi2Kernel.h"
289 #include "kernel/PyramidChi2.h"
290 #include "kernel/WaveKernel.h"
292 #include "kernel/ProductKernel.h"
294 #include "kernel/PowerKernel.h"
295 #include "kernel/ANOVAKernel.h"
334 #include "features/PolyFeatures.h"
335 #include "features/StringFeatures.h"
337 #include "features/DummyFeatures.h"
338 #include "features/DenseFeatures.h"
339 #include "features/SNPFeatures.h"
345 #include "features/Alphabet.h"
348 #include "features/MatrixFeatures.h"
350 #include "features/DataGenerator.h"
351 #include "features/FKFeatures.h"
352 #include "features/SparseFeatures.h"
353 #include "features/Subset.h"
355 #include "features/TOPFeatures.h"
357 #include "features/WDFeatures.h"
359 #include "features/SubsetStack.h"
361 #include "features/LatentFeatures.h"
371 #include "clustering/Hierarchical.h"
372 #include "clustering/KMeans.h"
373 #include "clustering/GMM.h"
381 #include "converter/DiffusionMaps.h"
384 #include "converter/Isomap.h"
390 #include "converter/ica/FFSep.h"
391 #include "converter/ica/FastICA.h"
392 #include "converter/ica/JediSep.h"
393 #include "converter/ica/SOBI.h"
394 #include "converter/ica/UWedgeSep.h"
395 #include "converter/ica/Jade.h"
399 #include "distance/CanberraMetric.h"
404 #include "distance/JensenMetric.h"
406 #include "distance/CosineDistance.h"
407 #include "distance/CustomDistance.h"
411 #include "distance/GeodesicMetric.h"
413 #include "distance/KernelDistance.h"
438 #include "preprocessor/LogPlusOne.h"
439 #include "preprocessor/PCA.h"
441 #include "preprocessor/KernelPCA.h"
444 #include "preprocessor/PNorm.h"
445 #include "preprocessor/NormOne.h"
450 #include "preprocessor/SumOne.h"
451 #include "lib/Cache.h"
452 #include "lib/DynamicObjectArray.h"
453 #include "lib/BitString.h"
454 #include "lib/CircularBuffer.h"
455 #include "lib/IndexBlockTree.h"
456 #include "lib/IndexBlock.h"
457 #include "lib/Hash.h"
458 #include "lib/DelimiterTokenizer.h"
459 #include "lib/Data.h"
460 #include "lib/StructuredData.h"
461 #include "lib/Compressor.h"
462 #include "lib/Signal.h"
463 #include "lib/NGramTokenizer.h"
464 #include "lib/DynamicArray.h"
465 #include "lib/IndexBlockGroup.h"
466 #include "lib/Set.h"
467 #include "lib/Time.h"
468 #include "lib/List.h"
474 using namespace shogun;
475 
476 #define SHOGUN_TEMPLATE_CLASS
477 #define SHOGUN_BASIC_CLASS
483 static SHOGUN_BASIC_CLASS CSGObject* __new_CTask(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTask(): NULL; }
487 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibLinearMTL(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibLinearMTL(): NULL; }
488 static SHOGUN_BASIC_CLASS CSGObject* __new_CNode(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNode(): NULL; }
489 static SHOGUN_BASIC_CLASS CSGObject* __new_CTaxonomy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTaxonomy(): NULL; }
492 static SHOGUN_BASIC_CLASS CSGObject* __new_CTaskGroup(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTaskGroup(): NULL; }
495 static SHOGUN_BASIC_CLASS CSGObject* __new_CTaskTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTaskTree(): NULL; }
498 static SHOGUN_BASIC_CLASS CSGObject* __new_CTron(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTron(): NULL; }
500 static SHOGUN_BASIC_CLASS CSGObject* __new_CMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMachine(): NULL; }
503 static SHOGUN_BASIC_CLASS CSGObject* __new_CDistanceMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDistanceMachine(): NULL; }
505 static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelMachine(): NULL; }
506 static SHOGUN_BASIC_CLASS CSGObject* __new_COnlineLinearMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COnlineLinearMachine(): NULL; }
508 static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearMachine(): NULL; }
511 static SHOGUN_BASIC_CLASS CSGObject* __new_CBaggingMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBaggingMachine(): NULL; }
514 static SHOGUN_BASIC_CLASS CSGObject* __new_CProbitLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CProbitLikelihood(): NULL; }
515 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianLikelihood(): NULL; }
516 static SHOGUN_BASIC_CLASS CSGObject* __new_CEPInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CEPInferenceMethod(): NULL; }
517 static SHOGUN_BASIC_CLASS CSGObject* __new_CExactInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CExactInferenceMethod(): NULL; }
518 static SHOGUN_BASIC_CLASS CSGObject* __new_CFITCInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFITCInferenceMethod(): NULL; }
519 static SHOGUN_BASIC_CLASS CSGObject* __new_CLogitLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogitLikelihood(): NULL; }
520 static SHOGUN_BASIC_CLASS CSGObject* __new_CStudentsTLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStudentsTLikelihood(): NULL; }
521 static SHOGUN_BASIC_CLASS CSGObject* __new_CZeroMean(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CZeroMean(): NULL; }
522 static SHOGUN_BASIC_CLASS CSGObject* __new_CStructuredLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredLabels(): NULL; }
524 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraphLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraphLabels(): NULL; }
525 static SHOGUN_BASIC_CLASS CSGObject* __new_CLatentLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentLabels(): NULL; }
526 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLabels(): NULL; }
527 static SHOGUN_BASIC_CLASS CSGObject* __new_CMultilabelLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultilabelLabels(): NULL; }
528 static SHOGUN_BASIC_CLASS CSGObject* __new_CBinaryLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBinaryLabels(): NULL; }
529 static SHOGUN_BASIC_CLASS CSGObject* __new_CRegressionLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRegressionLabels(): NULL; }
530 static SHOGUN_BASIC_CLASS CSGObject* __new_CLabelsFactory(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLabelsFactory(): NULL; }
536 static SHOGUN_BASIC_CLASS CSGObject* __new_CParameterCombination(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CParameterCombination(): NULL; }
537 static SHOGUN_BASIC_CLASS CSGObject* __new_CLatentSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentSOSVM(): NULL; }
538 static SHOGUN_BASIC_CLASS CSGObject* __new_CLatentSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentSVM(): NULL; }
539 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraphModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraphModel(): NULL; }
540 static SHOGUN_BASIC_CLASS CSGObject* __new_CIntronList(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIntronList(): NULL; }
541 static SHOGUN_BASIC_CLASS CSGObject* __new_CSOSVMHelper(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSOSVMHelper(): NULL; }
542 static SHOGUN_BASIC_CLASS CSGObject* __new_CDualLibQPBMSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDualLibQPBMSOSVM(): NULL; }
543 static SHOGUN_BASIC_CLASS CSGObject* __new_CMAPInference(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMAPInference(): NULL; }
544 static SHOGUN_BASIC_CLASS CSGObject* __new_CSequence(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSequence(): NULL; }
545 static SHOGUN_BASIC_CLASS CSGObject* __new_CSequenceLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSequenceLabels(): NULL; }
546 static SHOGUN_BASIC_CLASS CSGObject* __new_CPlifArray(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPlifArray(): NULL; }
547 static SHOGUN_BASIC_CLASS CSGObject* __new_CSegmentLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSegmentLoss(): NULL; }
548 static SHOGUN_BASIC_CLASS CSGObject* __new_CDisjointSet(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDisjointSet(): NULL; }
549 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassModel(): NULL; }
550 static SHOGUN_BASIC_CLASS CSGObject* __new_CPlif(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPlif(): NULL; }
551 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraph(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraph(): NULL; }
552 static SHOGUN_BASIC_CLASS CSGObject* __new_CHMSVMModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHMSVMModel(): NULL; }
553 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorDataSource(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorDataSource(): NULL; }
554 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactor(): NULL; }
555 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassSOLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassSOLabels(): NULL; }
556 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorType(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorType(): NULL; }
557 static SHOGUN_BASIC_CLASS CSGObject* __new_CTableFactorType(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTableFactorType(): NULL; }
558 static SHOGUN_BASIC_CLASS CSGObject* __new_CDynProg(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDynProg(): NULL; }
559 static SHOGUN_BASIC_CLASS CSGObject* __new_CCCSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCCSOSVM(): NULL; }
560 static SHOGUN_BASIC_CLASS CSGObject* __new_CStochasticSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStochasticSOSVM(): NULL; }
561 static SHOGUN_BASIC_CLASS CSGObject* __new_CTwoStateModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTwoStateModel(): NULL; }
562 static SHOGUN_BASIC_CLASS CSGObject* __new_CPlifMatrix(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPlifMatrix(): NULL; }
563 static SHOGUN_BASIC_CLASS CSGObject* __new_CLMNN(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLMNN(): NULL; }
564 static SHOGUN_BASIC_CLASS CSGObject* __new_CLMNNStatistics(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLMNNStatistics(): NULL; }
565 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIFeatures(): NULL; }
566 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIStructure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIStructure(): NULL; }
567 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIConverter(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIConverter(): NULL; }
568 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIPluginEstimate(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIPluginEstimate(): NULL; }
569 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIClassifier(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIClassifier(): NULL; }
570 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIDistance(): NULL; }
571 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIPreprocessor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIPreprocessor(): NULL; }
572 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUILabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUILabels(): NULL; }
573 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIKernel(): NULL; }
574 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUITime(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUITime(): NULL; }
575 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIMath(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIMath(): NULL; }
576 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIHMM(): NULL; }
577 static SHOGUN_BASIC_CLASS CSGObject* __new_CQuadraticTimeMMD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQuadraticTimeMMD(): NULL; }
581 static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearTimeMMD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearTimeMMD(): NULL; }
582 static SHOGUN_BASIC_CLASS CSGObject* __new_CHSIC(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHSIC(): NULL; }
585 static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelMeanMatching(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelMeanMatching(): NULL; }
588 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibSVR(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVR(): NULL; }
589 static SHOGUN_BASIC_CLASS CSGObject* __new_CMKLRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLRegression(): NULL; }
590 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibLinearRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibLinearRegression(): NULL; }
592 static SHOGUN_BASIC_CLASS CSGObject* __new_CLeastAngleRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLeastAngleRegression(): NULL; }
594 static SHOGUN_BASIC_CLASS CSGObject* __new_CKNN(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKNN(): NULL; }
598 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassLibSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLibSVM(): NULL; }
599 static SHOGUN_BASIC_CLASS CSGObject* __new_CID3ClassifierTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CID3ClassifierTree(): NULL; }
601 static SHOGUN_BASIC_CLASS CSGObject* __new_CRelaxedTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRelaxedTree(): NULL; }
605 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCEDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCEDDecoder(): NULL; }
606 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCOVREncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCOVREncoder(): NULL; }
608 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCAEDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCAEDDecoder(): NULL; }
609 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCStrategy(): NULL; }
610 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCIHDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCIHDDecoder(): NULL; }
611 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCHDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCHDDecoder(): NULL; }
612 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCLLBDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCLLBDecoder(): NULL; }
613 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCForestEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCForestEncoder(): NULL; }
614 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCOVOEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCOVOEncoder(): NULL; }
615 static SHOGUN_BASIC_CLASS CSGObject* __new_CMCLDA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMCLDA(): NULL; }
616 static SHOGUN_BASIC_CLASS CSGObject* __new_CGMNPSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGMNPSVM(): NULL; }
617 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLibLinear(): NULL; }
618 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassOCAS(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassOCAS(): NULL; }
619 static SHOGUN_BASIC_CLASS CSGObject* __new_CGMNPLib(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGMNPLib(): NULL; }
620 static SHOGUN_BASIC_CLASS CSGObject* __new_CLaRank(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLaRank(): NULL; }
622 static SHOGUN_BASIC_CLASS CSGObject* __new_CShareBoost(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CShareBoost(): NULL; }
624 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassSVM(): NULL; }
626 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianNaiveBayes(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianNaiveBayes(): NULL; }
627 static SHOGUN_BASIC_CLASS CSGObject* __new_CQDA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQDA(): NULL; }
628 static SHOGUN_BASIC_CLASS CSGObject* __new_CScatterSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CScatterSVM(): NULL; }
629 static SHOGUN_BASIC_CLASS CSGObject* __new_CLogLossMargin(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogLossMargin(): NULL; }
630 static SHOGUN_BASIC_CLASS CSGObject* __new_CLogLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogLoss(): NULL; }
631 static SHOGUN_BASIC_CLASS CSGObject* __new_CSquaredHingeLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSquaredHingeLoss(): NULL; }
632 static SHOGUN_BASIC_CLASS CSGObject* __new_CSmoothHingeLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSmoothHingeLoss(): NULL; }
633 static SHOGUN_BASIC_CLASS CSGObject* __new_CHingeLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHingeLoss(): NULL; }
634 static SHOGUN_BASIC_CLASS CSGObject* __new_CSquaredLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSquaredLoss(): NULL; }
635 static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearHMM(): NULL; }
636 static SHOGUN_BASIC_CLASS CSGObject* __new_CHistogram(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHistogram(): NULL; }
637 static SHOGUN_BASIC_CLASS CSGObject* __new_CHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHMM(): NULL; }
638 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussian(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussian(): NULL; }
639 static SHOGUN_BASIC_CLASS CSGObject* __new_CPositionalPWM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPositionalPWM(): NULL; }
640 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianDistribution(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianDistribution(): NULL; }
641 static SHOGUN_BASIC_CLASS CSGObject* __new_CGHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGHMM(): NULL; }
642 static SHOGUN_BASIC_CLASS CSGObject* __new_CMajorityVote(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMajorityVote(): NULL; }
643 static SHOGUN_BASIC_CLASS CSGObject* __new_CWeightedMajorityVote(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWeightedMajorityVote(): NULL; }
644 static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanRule(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanRule(): NULL; }
646 static SHOGUN_BASIC_CLASS CSGObject* __new_CParser(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CParser(): NULL; }
647 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibSVMFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVMFile(): NULL; }
648 static SHOGUN_BASIC_CLASS CSGObject* __new_CProtobufFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CProtobufFile(): NULL; }
649 static SHOGUN_BASIC_CLASS CSGObject* __new_CIOBuffer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIOBuffer(): NULL; }
650 static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingFile(): NULL; }
652 static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingAsciiFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingAsciiFile(): NULL; }
653 static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingVwFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingVwFile(): NULL; }
654 static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingVwCacheFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingVwCacheFile(): NULL; }
655 static SHOGUN_BASIC_CLASS CSGObject* __new_CBinaryFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBinaryFile(): NULL; }
656 static SHOGUN_BASIC_CLASS CSGObject* __new_CCSVFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCSVFile(): NULL; }
657 static SHOGUN_BASIC_CLASS CSGObject* __new_CLineReader(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLineReader(): NULL; }
658 static SHOGUN_BASIC_CLASS CSGObject* __new_CMath(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMath(): NULL; }
660 static SHOGUN_BASIC_CLASS CSGObject* __new_CIntegration(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIntegration(): NULL; }
661 static SHOGUN_BASIC_CLASS CSGObject* __new_CJediDiag(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJediDiag(): NULL; }
662 static SHOGUN_BASIC_CLASS CSGObject* __new_CJADiagOrth(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJADiagOrth(): NULL; }
663 static SHOGUN_BASIC_CLASS CSGObject* __new_CUWedge(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CUWedge(): NULL; }
664 static SHOGUN_BASIC_CLASS CSGObject* __new_CQDiag(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQDiag(): NULL; }
665 static SHOGUN_BASIC_CLASS CSGObject* __new_CFFDiag(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFFDiag(): NULL; }
666 static SHOGUN_BASIC_CLASS CSGObject* __new_CJADiag(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJADiag(): NULL; }
667 static SHOGUN_BASIC_CLASS CSGObject* __new_CStatistics(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStatistics(): NULL; }
668 static SHOGUN_BASIC_CLASS CSGObject* __new_CRandom(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRandom(): NULL; }
670 static SHOGUN_BASIC_CLASS CSGObject* __new_CNormalSampler(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNormalSampler(): NULL; }
671 static SHOGUN_BASIC_CLASS CSGObject* __new_CProbingSampler(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CProbingSampler(): NULL; }
673 static SHOGUN_BASIC_CLASS CSGObject* __new_CDenseExactLogJob(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDenseExactLogJob(): NULL; }
676 static SHOGUN_BASIC_CLASS CSGObject* __new_CLogDetEstimator(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogDetEstimator(): NULL; }
677 static SHOGUN_BASIC_CLASS CSGObject* __new_CDenseMatrixExactLog(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDenseMatrixExactLog(): NULL; }
683 static SHOGUN_BASIC_CLASS CSGObject* __new_CLanczosEigenSolver(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLanczosEigenSolver(): NULL; }
684 static SHOGUN_BASIC_CLASS CSGObject* __new_CDirectEigenSolver(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDirectEigenSolver(): NULL; }
685 static SHOGUN_BASIC_CLASS CSGObject* __new_CAveragedPerceptron(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAveragedPerceptron(): NULL; }
687 static SHOGUN_BASIC_CLASS CSGObject* __new_CPluginEstimate(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPluginEstimate(): NULL; }
688 static SHOGUN_BASIC_CLASS CSGObject* __new_CMKLClassification(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLClassification(): NULL; }
689 static SHOGUN_BASIC_CLASS CSGObject* __new_CMKLOneClass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLOneClass(): NULL; }
690 static SHOGUN_BASIC_CLASS CSGObject* __new_CMKLMulticlass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLMulticlass(): NULL; }
692 static SHOGUN_BASIC_CLASS CSGObject* __new_CNearestCentroid(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNearestCentroid(): NULL; }
693 static SHOGUN_BASIC_CLASS CSGObject* __new_COnlineLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COnlineLibLinear(): NULL; }
694 static SHOGUN_BASIC_CLASS CSGObject* __new_CSGDQN(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSGDQN(): NULL; }
695 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVM(): NULL; }
696 static SHOGUN_BASIC_CLASS CSGObject* __new_CGNPPSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGNPPSVM(): NULL; }
697 static SHOGUN_BASIC_CLASS CSGObject* __new_CSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVM(): NULL; }
698 static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMLin(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMLin(): NULL; }
699 static SHOGUN_BASIC_CLASS CSGObject* __new_CGPBTSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGPBTSVM(): NULL; }
700 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibLinear(): NULL; }
701 static SHOGUN_BASIC_CLASS CSGObject* __new_COnlineSVMSGD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COnlineSVMSGD(): NULL; }
702 static SHOGUN_BASIC_CLASS CSGObject* __new_CGNPPLib(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGNPPLib(): NULL; }
703 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibSVMOneClass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVMOneClass(): NULL; }
704 static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMOcas(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMOcas(): NULL; }
705 static SHOGUN_BASIC_CLASS CSGObject* __new_CMPDSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMPDSVM(): NULL; }
706 static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMSGD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMSGD(): NULL; }
707 static SHOGUN_BASIC_CLASS CSGObject* __new_CWDSVMOcas(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWDSVMOcas(): NULL; }
708 static SHOGUN_BASIC_CLASS CSGObject* __new_CQPBSVMLib(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQPBSVMLib(): NULL; }
709 static SHOGUN_BASIC_CLASS CSGObject* __new_CNewtonSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNewtonSVM(): NULL; }
710 static SHOGUN_BASIC_CLASS CSGObject* __new_CPerceptron(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPerceptron(): NULL; }
711 static SHOGUN_BASIC_CLASS CSGObject* __new_CLDA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLDA(): NULL; }
712 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwEnvironment(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwEnvironment(): NULL; }
713 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwParser(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwParser(): NULL; }
714 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwNativeCacheWriter(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwNativeCacheWriter(): NULL; }
715 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwNativeCacheReader(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwNativeCacheReader(): NULL; }
716 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwNonAdaptiveLearner(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwNonAdaptiveLearner(): NULL; }
717 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwAdaptiveLearner(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwAdaptiveLearner(): NULL; }
718 static SHOGUN_BASIC_CLASS CSGObject* __new_CVowpalWabbit(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVowpalWabbit(): NULL; }
719 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwRegressor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwRegressor(): NULL; }
720 static SHOGUN_BASIC_CLASS CSGObject* __new_CTStudentKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTStudentKernel(): NULL; }
721 static SHOGUN_BASIC_CLASS CSGObject* __new_CCombinedKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCombinedKernel(): NULL; }
722 static SHOGUN_BASIC_CLASS CSGObject* __new_CSigmoidKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSigmoidKernel(): NULL; }
723 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianKernel(): NULL; }
724 static SHOGUN_BASIC_CLASS CSGObject* __new_CPolyKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPolyKernel(): NULL; }
725 static SHOGUN_BASIC_CLASS CSGObject* __new_CBesselKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBesselKernel(): NULL; }
726 static SHOGUN_BASIC_CLASS CSGObject* __new_CCauchyKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCauchyKernel(): NULL; }
728 static SHOGUN_BASIC_CLASS CSGObject* __new_CSplineKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSplineKernel(): NULL; }
729 static SHOGUN_BASIC_CLASS CSGObject* __new_CDiagKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDiagKernel(): NULL; }
731 static SHOGUN_BASIC_CLASS CSGObject* __new_CWaveletKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWaveletKernel(): NULL; }
732 static SHOGUN_BASIC_CLASS CSGObject* __new_CCircularKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCircularKernel(): NULL; }
733 static SHOGUN_BASIC_CLASS CSGObject* __new_CJensenShannonKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJensenShannonKernel(): NULL; }
735 static SHOGUN_BASIC_CLASS CSGObject* __new_CExponentialKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CExponentialKernel(): NULL; }
736 static SHOGUN_BASIC_CLASS CSGObject* __new_CAUCKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAUCKernel(): NULL; }
737 static SHOGUN_BASIC_CLASS CSGObject* __new_CConstKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CConstKernel(): NULL; }
738 static SHOGUN_BASIC_CLASS CSGObject* __new_CCustomKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCustomKernel(): NULL; }
739 static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearKernel(): NULL; }
744 static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearStringKernel(): NULL; }
747 static SHOGUN_BASIC_CLASS CSGObject* __new_CSNPStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSNPStringKernel(): NULL; }
748 static SHOGUN_BASIC_CLASS CSGObject* __new_CCommWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCommWordStringKernel(): NULL; }
757 static SHOGUN_BASIC_CLASS CSGObject* __new_COligoStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COligoStringKernel(): NULL; }
763 static SHOGUN_BASIC_CLASS CSGObject* __new_CSpectrumRBFKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSpectrumRBFKernel(): NULL; }
764 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianARDKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianARDKernel(): NULL; }
765 static SHOGUN_BASIC_CLASS CSGObject* __new_CDistanceKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDistanceKernel(): NULL; }
766 static SHOGUN_BASIC_CLASS CSGObject* __new_CMultiquadricKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultiquadricKernel(): NULL; }
767 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianShiftKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianShiftKernel(): NULL; }
768 static SHOGUN_BASIC_CLASS CSGObject* __new_CSphericalKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSphericalKernel(): NULL; }
770 static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearARDKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearARDKernel(): NULL; }
771 static SHOGUN_BASIC_CLASS CSGObject* __new_CLogKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogKernel(): NULL; }
772 static SHOGUN_BASIC_CLASS CSGObject* __new_CChi2Kernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CChi2Kernel(): NULL; }
773 static SHOGUN_BASIC_CLASS CSGObject* __new_CPyramidChi2(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPyramidChi2(): NULL; }
774 static SHOGUN_BASIC_CLASS CSGObject* __new_CWaveKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWaveKernel(): NULL; }
776 static SHOGUN_BASIC_CLASS CSGObject* __new_CProductKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CProductKernel(): NULL; }
779 static SHOGUN_BASIC_CLASS CSGObject* __new_CDiceKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDiceKernelNormalizer(): NULL; }
788 static SHOGUN_BASIC_CLASS CSGObject* __new_CPowerKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPowerKernel(): NULL; }
789 static SHOGUN_BASIC_CLASS CSGObject* __new_CANOVAKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CANOVAKernel(): NULL; }
790 static SHOGUN_BASIC_CLASS CSGObject* __new_CLBPPyrDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLBPPyrDotFeatures(): NULL; }
791 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraphFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraphFeatures(): NULL; }
792 static SHOGUN_BASIC_CLASS CSGObject* __new_CPolyFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPolyFeatures(): NULL; }
794 static SHOGUN_BASIC_CLASS CSGObject* __new_CDummyFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDummyFeatures(): NULL; }
795 static SHOGUN_BASIC_CLASS CSGObject* __new_CSNPFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSNPFeatures(): NULL; }
796 static SHOGUN_BASIC_CLASS CSGObject* __new_CCombinedDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCombinedDotFeatures(): NULL; }
797 static SHOGUN_BASIC_CLASS CSGObject* __new_CRealFileFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRealFileFeatures(): NULL; }
799 static SHOGUN_BASIC_CLASS CSGObject* __new_CBinnedDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBinnedDotFeatures(): NULL; }
800 static SHOGUN_BASIC_CLASS CSGObject* __new_CAlphabet(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAlphabet(): NULL; }
803 static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingVwFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingVwFeatures(): NULL; }
805 static SHOGUN_BASIC_CLASS CSGObject* __new_CHashedWDFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedWDFeatures(): NULL; }
806 static SHOGUN_BASIC_CLASS CSGObject* __new_CExplicitSpecFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CExplicitSpecFeatures(): NULL; }
807 static SHOGUN_BASIC_CLASS CSGObject* __new_CSparsePolyFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSparsePolyFeatures(): NULL; }
808 static SHOGUN_BASIC_CLASS CSGObject* __new_CDataGenerator(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDataGenerator(): NULL; }
809 static SHOGUN_BASIC_CLASS CSGObject* __new_CFKFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFKFeatures(): NULL; }
810 static SHOGUN_BASIC_CLASS CSGObject* __new_CSubset(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSubset(): NULL; }
811 static SHOGUN_BASIC_CLASS CSGObject* __new_CTOPFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTOPFeatures(): NULL; }
813 static SHOGUN_BASIC_CLASS CSGObject* __new_CWDFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWDFeatures(): NULL; }
814 static SHOGUN_BASIC_CLASS CSGObject* __new_CCombinedFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCombinedFeatures(): NULL; }
815 static SHOGUN_BASIC_CLASS CSGObject* __new_CSubsetStack(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSubsetStack(): NULL; }
816 static SHOGUN_BASIC_CLASS CSGObject* __new_CHashedDocDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedDocDotFeatures(): NULL; }
817 static SHOGUN_BASIC_CLASS CSGObject* __new_CLatentFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentFeatures(): NULL; }
818 static SHOGUN_BASIC_CLASS CSGObject* __new_CHierarchical(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHierarchical(): NULL; }
819 static SHOGUN_BASIC_CLASS CSGObject* __new_CKMeans(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKMeans(): NULL; }
820 static SHOGUN_BASIC_CLASS CSGObject* __new_CGMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGMM(): NULL; }
824 static SHOGUN_BASIC_CLASS CSGObject* __new_CLaplacianEigenmaps(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLaplacianEigenmaps(): NULL; }
828 static SHOGUN_BASIC_CLASS CSGObject* __new_CDiffusionMaps(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDiffusionMaps(): NULL; }
830 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorAnalysis(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorAnalysis(): NULL; }
831 static SHOGUN_BASIC_CLASS CSGObject* __new_CIsomap(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIsomap(): NULL; }
832 static SHOGUN_BASIC_CLASS CSGObject* __new_CHashedDocConverter(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedDocConverter(): NULL; }
836 static SHOGUN_BASIC_CLASS CSGObject* __new_CFFSep(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFFSep(): NULL; }
837 static SHOGUN_BASIC_CLASS CSGObject* __new_CFastICA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFastICA(): NULL; }
838 static SHOGUN_BASIC_CLASS CSGObject* __new_CJediSep(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJediSep(): NULL; }
839 static SHOGUN_BASIC_CLASS CSGObject* __new_CSOBI(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSOBI(): NULL; }
840 static SHOGUN_BASIC_CLASS CSGObject* __new_CUWedgeSep(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CUWedgeSep(): NULL; }
841 static SHOGUN_BASIC_CLASS CSGObject* __new_CJade(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJade(): NULL; }
842 static SHOGUN_BASIC_CLASS CSGObject* __new_CManifoldSculpting(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CManifoldSculpting(): NULL; }
844 static SHOGUN_BASIC_CLASS CSGObject* __new_CHammingWordDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHammingWordDistance(): NULL; }
846 static SHOGUN_BASIC_CLASS CSGObject* __new_CCanberraMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCanberraMetric(): NULL; }
847 static SHOGUN_BASIC_CLASS CSGObject* __new_CChebyshewMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CChebyshewMetric(): NULL; }
848 static SHOGUN_BASIC_CLASS CSGObject* __new_CBrayCurtisDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBrayCurtisDistance(): NULL; }
849 static SHOGUN_BASIC_CLASS CSGObject* __new_CEuclideanDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CEuclideanDistance(): NULL; }
850 static SHOGUN_BASIC_CLASS CSGObject* __new_CCanberraWordDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCanberraWordDistance(): NULL; }
851 static SHOGUN_BASIC_CLASS CSGObject* __new_CJensenMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJensenMetric(): NULL; }
852 static SHOGUN_BASIC_CLASS CSGObject* __new_CMahalanobisDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMahalanobisDistance(): NULL; }
853 static SHOGUN_BASIC_CLASS CSGObject* __new_CCosineDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCosineDistance(): NULL; }
854 static SHOGUN_BASIC_CLASS CSGObject* __new_CCustomDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCustomDistance(): NULL; }
855 static SHOGUN_BASIC_CLASS CSGObject* __new_CMinkowskiMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMinkowskiMetric(): NULL; }
856 static SHOGUN_BASIC_CLASS CSGObject* __new_CChiSquareDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CChiSquareDistance(): NULL; }
857 static SHOGUN_BASIC_CLASS CSGObject* __new_CManhattanMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CManhattanMetric(): NULL; }
858 static SHOGUN_BASIC_CLASS CSGObject* __new_CGeodesicMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGeodesicMetric(): NULL; }
860 static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelDistance(): NULL; }
862 static SHOGUN_BASIC_CLASS CSGObject* __new_CTanimotoDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTanimotoDistance(): NULL; }
863 static SHOGUN_BASIC_CLASS CSGObject* __new_CClusteringAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CClusteringAccuracy(): NULL; }
868 static SHOGUN_BASIC_CLASS CSGObject* __new_CROCEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CROCEvaluation(): NULL; }
869 static SHOGUN_BASIC_CLASS CSGObject* __new_CGradientEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientEvaluation(): NULL; }
871 static SHOGUN_BASIC_CLASS CSGObject* __new_CCrossValidation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidation(): NULL; }
873 static SHOGUN_BASIC_CLASS CSGObject* __new_CAccuracyMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAccuracyMeasure(): NULL; }
874 static SHOGUN_BASIC_CLASS CSGObject* __new_CErrorRateMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CErrorRateMeasure(): NULL; }
875 static SHOGUN_BASIC_CLASS CSGObject* __new_CBALMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBALMeasure(): NULL; }
876 static SHOGUN_BASIC_CLASS CSGObject* __new_CWRACCMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWRACCMeasure(): NULL; }
877 static SHOGUN_BASIC_CLASS CSGObject* __new_CF1Measure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CF1Measure(): NULL; }
879 static SHOGUN_BASIC_CLASS CSGObject* __new_CRecallMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRecallMeasure(): NULL; }
880 static SHOGUN_BASIC_CLASS CSGObject* __new_CPrecisionMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPrecisionMeasure(): NULL; }
881 static SHOGUN_BASIC_CLASS CSGObject* __new_CSpecificityMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSpecificityMeasure(): NULL; }
884 static SHOGUN_BASIC_CLASS CSGObject* __new_CGradientResult(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientResult(): NULL; }
885 static SHOGUN_BASIC_CLASS CSGObject* __new_CStructuredAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredAccuracy(): NULL; }
886 static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanSquaredError(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanSquaredError(): NULL; }
888 static SHOGUN_BASIC_CLASS CSGObject* __new_CPRCEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPRCEvaluation(): NULL; }
889 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassAccuracy(): NULL; }
890 static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanSquaredLogError(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanSquaredLogError(): NULL; }
891 static SHOGUN_BASIC_CLASS CSGObject* __new_CGradientCriterion(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientCriterion(): NULL; }
892 static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanAbsoluteError(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanAbsoluteError(): NULL; }
894 static SHOGUN_BASIC_CLASS CSGObject* __new_CSortUlongString(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSortUlongString(): NULL; }
895 static SHOGUN_BASIC_CLASS CSGObject* __new_CLogPlusOne(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogPlusOne(): NULL; }
896 static SHOGUN_BASIC_CLASS CSGObject* __new_CPCA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPCA(): NULL; }
897 static SHOGUN_BASIC_CLASS CSGObject* __new_CSortWordString(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSortWordString(): NULL; }
898 static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelPCA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelPCA(): NULL; }
900 static SHOGUN_BASIC_CLASS CSGObject* __new_CPNorm(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPNorm(): NULL; }
901 static SHOGUN_BASIC_CLASS CSGObject* __new_CNormOne(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNormOne(): NULL; }
902 static SHOGUN_BASIC_CLASS CSGObject* __new_CHomogeneousKernelMap(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHomogeneousKernelMap(): NULL; }
903 static SHOGUN_BASIC_CLASS CSGObject* __new_CPruneVarSubMean(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPruneVarSubMean(): NULL; }
904 static SHOGUN_BASIC_CLASS CSGObject* __new_CRescaleFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRescaleFeatures(): NULL; }
906 static SHOGUN_BASIC_CLASS CSGObject* __new_CSumOne(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSumOne(): NULL; }
907 static SHOGUN_BASIC_CLASS CSGObject* __new_CJobResult(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJobResult(): NULL; }
909 static SHOGUN_BASIC_CLASS CSGObject* __new_CDynamicObjectArray(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDynamicObjectArray(): NULL; }
910 static SHOGUN_BASIC_CLASS CSGObject* __new_CBitString(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBitString(): NULL; }
911 static SHOGUN_BASIC_CLASS CSGObject* __new_CCircularBuffer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCircularBuffer(): NULL; }
912 static SHOGUN_BASIC_CLASS CSGObject* __new_CIndexBlockTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexBlockTree(): NULL; }
913 static SHOGUN_BASIC_CLASS CSGObject* __new_CIndexBlock(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexBlock(): NULL; }
914 static SHOGUN_BASIC_CLASS CSGObject* __new_CHash(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHash(): NULL; }
915 static SHOGUN_BASIC_CLASS CSGObject* __new_CDelimiterTokenizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDelimiterTokenizer(): NULL; }
916 static SHOGUN_BASIC_CLASS CSGObject* __new_CData(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CData(): NULL; }
917 static SHOGUN_BASIC_CLASS CSGObject* __new_CStructuredData(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredData(): NULL; }
918 static SHOGUN_BASIC_CLASS CSGObject* __new_CCompressor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCompressor(): NULL; }
919 static SHOGUN_BASIC_CLASS CSGObject* __new_CSignal(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSignal(): NULL; }
920 static SHOGUN_BASIC_CLASS CSGObject* __new_CNGramTokenizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNGramTokenizer(): NULL; }
921 static SHOGUN_BASIC_CLASS CSGObject* __new_CIndexBlockGroup(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexBlockGroup(): NULL; }
922 static SHOGUN_BASIC_CLASS CSGObject* __new_CTime(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTime(): NULL; }
923 static SHOGUN_BASIC_CLASS CSGObject* __new_CListElement(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CListElement(): NULL; }
924 static SHOGUN_BASIC_CLASS CSGObject* __new_CList(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CList(): NULL; }
926 {
927  switch (g)
928  {
929  case PT_BOOL: return new CTreeMachine<bool>();
930  case PT_CHAR: return new CTreeMachine<char>();
931  case PT_INT8: return new CTreeMachine<int8_t>();
932  case PT_UINT8: return new CTreeMachine<uint8_t>();
933  case PT_INT16: return new CTreeMachine<int16_t>();
934  case PT_UINT16: return new CTreeMachine<uint16_t>();
935  case PT_INT32: return new CTreeMachine<int32_t>();
936  case PT_UINT32: return new CTreeMachine<uint32_t>();
937  case PT_INT64: return new CTreeMachine<int64_t>();
938  case PT_UINT64: return new CTreeMachine<uint64_t>();
939  case PT_FLOAT32: return new CTreeMachine<float32_t>();
940  case PT_FLOAT64: return new CTreeMachine<float64_t>();
941  case PT_FLOATMAX: return new CTreeMachine<floatmax_t>();
942  case PT_COMPLEX128: return NULL;
943  case PT_SGOBJECT:
944  case PT_UNDEFINED: return NULL;
945  }
946  return NULL;
947 }
949 {
950  switch (g)
951  {
952  case PT_BOOL: return new CBinaryStream<bool>();
953  case PT_CHAR: return new CBinaryStream<char>();
954  case PT_INT8: return new CBinaryStream<int8_t>();
955  case PT_UINT8: return new CBinaryStream<uint8_t>();
956  case PT_INT16: return new CBinaryStream<int16_t>();
957  case PT_UINT16: return new CBinaryStream<uint16_t>();
958  case PT_INT32: return new CBinaryStream<int32_t>();
959  case PT_UINT32: return new CBinaryStream<uint32_t>();
960  case PT_INT64: return new CBinaryStream<int64_t>();
961  case PT_UINT64: return new CBinaryStream<uint64_t>();
962  case PT_FLOAT32: return new CBinaryStream<float32_t>();
963  case PT_FLOAT64: return new CBinaryStream<float64_t>();
964  case PT_FLOATMAX: return new CBinaryStream<floatmax_t>();
965  case PT_COMPLEX128: return NULL;
966  case PT_SGOBJECT:
967  case PT_UNDEFINED: return NULL;
968  }
969  return NULL;
970 }
972 {
973  switch (g)
974  {
975  case PT_BOOL: return new CStreamingFileFromDenseFeatures<bool>();
976  case PT_CHAR: return new CStreamingFileFromDenseFeatures<char>();
977  case PT_INT8: return new CStreamingFileFromDenseFeatures<int8_t>();
978  case PT_UINT8: return new CStreamingFileFromDenseFeatures<uint8_t>();
979  case PT_INT16: return new CStreamingFileFromDenseFeatures<int16_t>();
980  case PT_UINT16: return new CStreamingFileFromDenseFeatures<uint16_t>();
981  case PT_INT32: return new CStreamingFileFromDenseFeatures<int32_t>();
982  case PT_UINT32: return new CStreamingFileFromDenseFeatures<uint32_t>();
983  case PT_INT64: return new CStreamingFileFromDenseFeatures<int64_t>();
984  case PT_UINT64: return new CStreamingFileFromDenseFeatures<uint64_t>();
985  case PT_FLOAT32: return new CStreamingFileFromDenseFeatures<float32_t>();
986  case PT_FLOAT64: return new CStreamingFileFromDenseFeatures<float64_t>();
987  case PT_FLOATMAX: return new CStreamingFileFromDenseFeatures<floatmax_t>();
988  case PT_COMPLEX128: return NULL;
989  case PT_SGOBJECT:
990  case PT_UNDEFINED: return NULL;
991  }
992  return NULL;
993 }
995 {
996  switch (g)
997  {
998  case PT_BOOL: return new CStreamingFileFromSparseFeatures<bool>();
999  case PT_CHAR: return new CStreamingFileFromSparseFeatures<char>();
1000  case PT_INT8: return new CStreamingFileFromSparseFeatures<int8_t>();
1001  case PT_UINT8: return new CStreamingFileFromSparseFeatures<uint8_t>();
1002  case PT_INT16: return new CStreamingFileFromSparseFeatures<int16_t>();
1003  case PT_UINT16: return new CStreamingFileFromSparseFeatures<uint16_t>();
1004  case PT_INT32: return new CStreamingFileFromSparseFeatures<int32_t>();
1005  case PT_UINT32: return new CStreamingFileFromSparseFeatures<uint32_t>();
1006  case PT_INT64: return new CStreamingFileFromSparseFeatures<int64_t>();
1007  case PT_UINT64: return new CStreamingFileFromSparseFeatures<uint64_t>();
1008  case PT_FLOAT32: return new CStreamingFileFromSparseFeatures<float32_t>();
1009  case PT_FLOAT64: return new CStreamingFileFromSparseFeatures<float64_t>();
1010  case PT_FLOATMAX: return new CStreamingFileFromSparseFeatures<floatmax_t>();
1011  case PT_COMPLEX128: return NULL;
1012  case PT_SGOBJECT:
1013  case PT_UNDEFINED: return NULL;
1014  }
1015  return NULL;
1016 }
1018 {
1019  switch (g)
1020  {
1021  case PT_BOOL: return new CParseBuffer<bool>();
1022  case PT_CHAR: return new CParseBuffer<char>();
1023  case PT_INT8: return new CParseBuffer<int8_t>();
1024  case PT_UINT8: return new CParseBuffer<uint8_t>();
1025  case PT_INT16: return new CParseBuffer<int16_t>();
1026  case PT_UINT16: return new CParseBuffer<uint16_t>();
1027  case PT_INT32: return new CParseBuffer<int32_t>();
1028  case PT_UINT32: return new CParseBuffer<uint32_t>();
1029  case PT_INT64: return new CParseBuffer<int64_t>();
1030  case PT_UINT64: return new CParseBuffer<uint64_t>();
1031  case PT_FLOAT32: return new CParseBuffer<float32_t>();
1032  case PT_FLOAT64: return new CParseBuffer<float64_t>();
1033  case PT_FLOATMAX: return new CParseBuffer<floatmax_t>();
1034  case PT_COMPLEX128: return NULL;
1035  case PT_SGOBJECT:
1036  case PT_UNDEFINED: return NULL;
1037  }
1038  return NULL;
1039 }
1041 {
1042  switch (g)
1043  {
1044  case PT_BOOL: return new CStreamingFileFromStringFeatures<bool>();
1045  case PT_CHAR: return new CStreamingFileFromStringFeatures<char>();
1046  case PT_INT8: return new CStreamingFileFromStringFeatures<int8_t>();
1047  case PT_UINT8: return new CStreamingFileFromStringFeatures<uint8_t>();
1048  case PT_INT16: return new CStreamingFileFromStringFeatures<int16_t>();
1049  case PT_UINT16: return new CStreamingFileFromStringFeatures<uint16_t>();
1050  case PT_INT32: return new CStreamingFileFromStringFeatures<int32_t>();
1051  case PT_UINT32: return new CStreamingFileFromStringFeatures<uint32_t>();
1052  case PT_INT64: return new CStreamingFileFromStringFeatures<int64_t>();
1053  case PT_UINT64: return new CStreamingFileFromStringFeatures<uint64_t>();
1054  case PT_FLOAT32: return new CStreamingFileFromStringFeatures<float32_t>();
1055  case PT_FLOAT64: return new CStreamingFileFromStringFeatures<float64_t>();
1056  case PT_FLOATMAX: return new CStreamingFileFromStringFeatures<floatmax_t>();
1057  case PT_COMPLEX128: return NULL;
1058  case PT_SGOBJECT:
1059  case PT_UNDEFINED: return NULL;
1060  }
1061  return NULL;
1062 }
1064 {
1065  switch (g)
1066  {
1067  case PT_BOOL: return new CSimpleFile<bool>();
1068  case PT_CHAR: return new CSimpleFile<char>();
1069  case PT_INT8: return new CSimpleFile<int8_t>();
1070  case PT_UINT8: return new CSimpleFile<uint8_t>();
1071  case PT_INT16: return new CSimpleFile<int16_t>();
1072  case PT_UINT16: return new CSimpleFile<uint16_t>();
1073  case PT_INT32: return new CSimpleFile<int32_t>();
1074  case PT_UINT32: return new CSimpleFile<uint32_t>();
1075  case PT_INT64: return new CSimpleFile<int64_t>();
1076  case PT_UINT64: return new CSimpleFile<uint64_t>();
1077  case PT_FLOAT32: return new CSimpleFile<float32_t>();
1078  case PT_FLOAT64: return new CSimpleFile<float64_t>();
1079  case PT_FLOATMAX: return new CSimpleFile<floatmax_t>();
1080  case PT_COMPLEX128: return NULL;
1081  case PT_SGOBJECT:
1082  case PT_UNDEFINED: return NULL;
1083  }
1084  return NULL;
1085 }
1087 {
1088  switch (g)
1089  {
1090  case PT_BOOL: return new CMemoryMappedFile<bool>();
1091  case PT_CHAR: return new CMemoryMappedFile<char>();
1092  case PT_INT8: return new CMemoryMappedFile<int8_t>();
1093  case PT_UINT8: return new CMemoryMappedFile<uint8_t>();
1094  case PT_INT16: return new CMemoryMappedFile<int16_t>();
1095  case PT_UINT16: return new CMemoryMappedFile<uint16_t>();
1096  case PT_INT32: return new CMemoryMappedFile<int32_t>();
1097  case PT_UINT32: return new CMemoryMappedFile<uint32_t>();
1098  case PT_INT64: return new CMemoryMappedFile<int64_t>();
1099  case PT_UINT64: return new CMemoryMappedFile<uint64_t>();
1100  case PT_FLOAT32: return new CMemoryMappedFile<float32_t>();
1101  case PT_FLOAT64: return new CMemoryMappedFile<float64_t>();
1102  case PT_FLOATMAX: return new CMemoryMappedFile<floatmax_t>();
1103  case PT_COMPLEX128: return NULL;
1104  case PT_SGOBJECT:
1105  case PT_UNDEFINED: return NULL;
1106  }
1107  return NULL;
1108 }
1110 {
1111  switch (g)
1112  {
1113  case PT_BOOL: return new CStringFileFeatures<bool>();
1114  case PT_CHAR: return new CStringFileFeatures<char>();
1115  case PT_INT8: return new CStringFileFeatures<int8_t>();
1116  case PT_UINT8: return new CStringFileFeatures<uint8_t>();
1117  case PT_INT16: return new CStringFileFeatures<int16_t>();
1118  case PT_UINT16: return new CStringFileFeatures<uint16_t>();
1119  case PT_INT32: return new CStringFileFeatures<int32_t>();
1120  case PT_UINT32: return new CStringFileFeatures<uint32_t>();
1121  case PT_INT64: return new CStringFileFeatures<int64_t>();
1122  case PT_UINT64: return new CStringFileFeatures<uint64_t>();
1123  case PT_FLOAT32: return new CStringFileFeatures<float32_t>();
1124  case PT_FLOAT64: return new CStringFileFeatures<float64_t>();
1125  case PT_FLOATMAX: return new CStringFileFeatures<floatmax_t>();
1126  case PT_COMPLEX128: return NULL;
1127  case PT_SGOBJECT:
1128  case PT_UNDEFINED: return NULL;
1129  }
1130  return NULL;
1131 }
1133 {
1134  switch (g)
1135  {
1136  case PT_BOOL: return new CHashedDenseFeatures<bool>();
1137  case PT_CHAR: return new CHashedDenseFeatures<char>();
1138  case PT_INT8: return new CHashedDenseFeatures<int8_t>();
1139  case PT_UINT8: return new CHashedDenseFeatures<uint8_t>();
1140  case PT_INT16: return new CHashedDenseFeatures<int16_t>();
1141  case PT_UINT16: return new CHashedDenseFeatures<uint16_t>();
1142  case PT_INT32: return new CHashedDenseFeatures<int32_t>();
1143  case PT_UINT32: return new CHashedDenseFeatures<uint32_t>();
1144  case PT_INT64: return new CHashedDenseFeatures<int64_t>();
1145  case PT_UINT64: return new CHashedDenseFeatures<uint64_t>();
1146  case PT_FLOAT32: return new CHashedDenseFeatures<float32_t>();
1147  case PT_FLOAT64: return new CHashedDenseFeatures<float64_t>();
1148  case PT_FLOATMAX: return new CHashedDenseFeatures<floatmax_t>();
1149  case PT_COMPLEX128: return NULL;
1150  case PT_SGOBJECT:
1151  case PT_UNDEFINED: return NULL;
1152  }
1153  return NULL;
1154 }
1156 {
1157  switch (g)
1158  {
1159  case PT_BOOL: return new CStringFeatures<bool>();
1160  case PT_CHAR: return new CStringFeatures<char>();
1161  case PT_INT8: return new CStringFeatures<int8_t>();
1162  case PT_UINT8: return new CStringFeatures<uint8_t>();
1163  case PT_INT16: return new CStringFeatures<int16_t>();
1164  case PT_UINT16: return new CStringFeatures<uint16_t>();
1165  case PT_INT32: return new CStringFeatures<int32_t>();
1166  case PT_UINT32: return new CStringFeatures<uint32_t>();
1167  case PT_INT64: return new CStringFeatures<int64_t>();
1168  case PT_UINT64: return new CStringFeatures<uint64_t>();
1169  case PT_FLOAT32: return new CStringFeatures<float32_t>();
1170  case PT_FLOAT64: return new CStringFeatures<float64_t>();
1171  case PT_FLOATMAX: return new CStringFeatures<floatmax_t>();
1172  case PT_COMPLEX128: return NULL;
1173  case PT_SGOBJECT:
1174  case PT_UNDEFINED: return NULL;
1175  }
1176  return NULL;
1177 }
1179 {
1180  switch (g)
1181  {
1182  case PT_BOOL: return new CDenseFeatures<bool>();
1183  case PT_CHAR: return new CDenseFeatures<char>();
1184  case PT_INT8: return new CDenseFeatures<int8_t>();
1185  case PT_UINT8: return new CDenseFeatures<uint8_t>();
1186  case PT_INT16: return new CDenseFeatures<int16_t>();
1187  case PT_UINT16: return new CDenseFeatures<uint16_t>();
1188  case PT_INT32: return new CDenseFeatures<int32_t>();
1189  case PT_UINT32: return new CDenseFeatures<uint32_t>();
1190  case PT_INT64: return new CDenseFeatures<int64_t>();
1191  case PT_UINT64: return new CDenseFeatures<uint64_t>();
1192  case PT_FLOAT32: return new CDenseFeatures<float32_t>();
1193  case PT_FLOAT64: return new CDenseFeatures<float64_t>();
1194  case PT_FLOATMAX: return new CDenseFeatures<floatmax_t>();
1195  case PT_COMPLEX128: return NULL;
1196  case PT_SGOBJECT:
1197  case PT_UNDEFINED: return NULL;
1198  }
1199  return NULL;
1200 }
1202 {
1203  switch (g)
1204  {
1205  case PT_BOOL: return new CDenseSubsetFeatures<bool>();
1206  case PT_CHAR: return new CDenseSubsetFeatures<char>();
1207  case PT_INT8: return new CDenseSubsetFeatures<int8_t>();
1208  case PT_UINT8: return new CDenseSubsetFeatures<uint8_t>();
1209  case PT_INT16: return new CDenseSubsetFeatures<int16_t>();
1210  case PT_UINT16: return new CDenseSubsetFeatures<uint16_t>();
1211  case PT_INT32: return new CDenseSubsetFeatures<int32_t>();
1212  case PT_UINT32: return new CDenseSubsetFeatures<uint32_t>();
1213  case PT_INT64: return new CDenseSubsetFeatures<int64_t>();
1214  case PT_UINT64: return new CDenseSubsetFeatures<uint64_t>();
1215  case PT_FLOAT32: return new CDenseSubsetFeatures<float32_t>();
1216  case PT_FLOAT64: return new CDenseSubsetFeatures<float64_t>();
1217  case PT_FLOATMAX: return new CDenseSubsetFeatures<floatmax_t>();
1218  case PT_COMPLEX128: return NULL;
1219  case PT_SGOBJECT:
1220  case PT_UNDEFINED: return NULL;
1221  }
1222  return NULL;
1223 }
1225 {
1226  switch (g)
1227  {
1228  case PT_BOOL: return new CStreamingHashedSparseFeatures<bool>();
1229  case PT_CHAR: return new CStreamingHashedSparseFeatures<char>();
1230  case PT_INT8: return new CStreamingHashedSparseFeatures<int8_t>();
1231  case PT_UINT8: return new CStreamingHashedSparseFeatures<uint8_t>();
1232  case PT_INT16: return new CStreamingHashedSparseFeatures<int16_t>();
1233  case PT_UINT16: return new CStreamingHashedSparseFeatures<uint16_t>();
1234  case PT_INT32: return new CStreamingHashedSparseFeatures<int32_t>();
1235  case PT_UINT32: return new CStreamingHashedSparseFeatures<uint32_t>();
1236  case PT_INT64: return new CStreamingHashedSparseFeatures<int64_t>();
1237  case PT_UINT64: return new CStreamingHashedSparseFeatures<uint64_t>();
1238  case PT_FLOAT32: return new CStreamingHashedSparseFeatures<float32_t>();
1239  case PT_FLOAT64: return new CStreamingHashedSparseFeatures<float64_t>();
1240  case PT_FLOATMAX: return new CStreamingHashedSparseFeatures<floatmax_t>();
1241  case PT_COMPLEX128: return NULL;
1242  case PT_SGOBJECT:
1243  case PT_UNDEFINED: return NULL;
1244  }
1245  return NULL;
1246 }
1248 {
1249  switch (g)
1250  {
1251  case PT_BOOL: return new CStreamingStringFeatures<bool>();
1252  case PT_CHAR: return new CStreamingStringFeatures<char>();
1253  case PT_INT8: return new CStreamingStringFeatures<int8_t>();
1254  case PT_UINT8: return new CStreamingStringFeatures<uint8_t>();
1255  case PT_INT16: return new CStreamingStringFeatures<int16_t>();
1256  case PT_UINT16: return new CStreamingStringFeatures<uint16_t>();
1257  case PT_INT32: return new CStreamingStringFeatures<int32_t>();
1258  case PT_UINT32: return new CStreamingStringFeatures<uint32_t>();
1259  case PT_INT64: return new CStreamingStringFeatures<int64_t>();
1260  case PT_UINT64: return new CStreamingStringFeatures<uint64_t>();
1261  case PT_FLOAT32: return new CStreamingStringFeatures<float32_t>();
1262  case PT_FLOAT64: return new CStreamingStringFeatures<float64_t>();
1263  case PT_FLOATMAX: return new CStreamingStringFeatures<floatmax_t>();
1264  case PT_COMPLEX128: return NULL;
1265  case PT_SGOBJECT:
1266  case PT_UNDEFINED: return NULL;
1267  }
1268  return NULL;
1269 }
1271 {
1272  switch (g)
1273  {
1274  case PT_BOOL: return new CStreamingDenseFeatures<bool>();
1275  case PT_CHAR: return new CStreamingDenseFeatures<char>();
1276  case PT_INT8: return new CStreamingDenseFeatures<int8_t>();
1277  case PT_UINT8: return new CStreamingDenseFeatures<uint8_t>();
1278  case PT_INT16: return new CStreamingDenseFeatures<int16_t>();
1279  case PT_UINT16: return new CStreamingDenseFeatures<uint16_t>();
1280  case PT_INT32: return new CStreamingDenseFeatures<int32_t>();
1281  case PT_UINT32: return new CStreamingDenseFeatures<uint32_t>();
1282  case PT_INT64: return new CStreamingDenseFeatures<int64_t>();
1283  case PT_UINT64: return new CStreamingDenseFeatures<uint64_t>();
1284  case PT_FLOAT32: return new CStreamingDenseFeatures<float32_t>();
1285  case PT_FLOAT64: return new CStreamingDenseFeatures<float64_t>();
1286  case PT_FLOATMAX: return new CStreamingDenseFeatures<floatmax_t>();
1287  case PT_COMPLEX128: return NULL;
1288  case PT_SGOBJECT:
1289  case PT_UNDEFINED: return NULL;
1290  }
1291  return NULL;
1292 }
1294 {
1295  switch (g)
1296  {
1297  case PT_BOOL: return new CStreamingSparseFeatures<bool>();
1298  case PT_CHAR: return new CStreamingSparseFeatures<char>();
1299  case PT_INT8: return new CStreamingSparseFeatures<int8_t>();
1300  case PT_UINT8: return new CStreamingSparseFeatures<uint8_t>();
1301  case PT_INT16: return new CStreamingSparseFeatures<int16_t>();
1302  case PT_UINT16: return new CStreamingSparseFeatures<uint16_t>();
1303  case PT_INT32: return new CStreamingSparseFeatures<int32_t>();
1304  case PT_UINT32: return new CStreamingSparseFeatures<uint32_t>();
1305  case PT_INT64: return new CStreamingSparseFeatures<int64_t>();
1306  case PT_UINT64: return new CStreamingSparseFeatures<uint64_t>();
1307  case PT_FLOAT32: return new CStreamingSparseFeatures<float32_t>();
1308  case PT_FLOAT64: return new CStreamingSparseFeatures<float64_t>();
1309  case PT_FLOATMAX: return new CStreamingSparseFeatures<floatmax_t>();
1310  case PT_COMPLEX128: return NULL;
1311  case PT_SGOBJECT:
1312  case PT_UNDEFINED: return NULL;
1313  }
1314  return NULL;
1315 }
1317 {
1318  switch (g)
1319  {
1320  case PT_BOOL: return new CStreamingHashedDenseFeatures<bool>();
1321  case PT_CHAR: return new CStreamingHashedDenseFeatures<char>();
1322  case PT_INT8: return new CStreamingHashedDenseFeatures<int8_t>();
1323  case PT_UINT8: return new CStreamingHashedDenseFeatures<uint8_t>();
1324  case PT_INT16: return new CStreamingHashedDenseFeatures<int16_t>();
1325  case PT_UINT16: return new CStreamingHashedDenseFeatures<uint16_t>();
1326  case PT_INT32: return new CStreamingHashedDenseFeatures<int32_t>();
1327  case PT_UINT32: return new CStreamingHashedDenseFeatures<uint32_t>();
1328  case PT_INT64: return new CStreamingHashedDenseFeatures<int64_t>();
1329  case PT_UINT64: return new CStreamingHashedDenseFeatures<uint64_t>();
1330  case PT_FLOAT32: return new CStreamingHashedDenseFeatures<float32_t>();
1331  case PT_FLOAT64: return new CStreamingHashedDenseFeatures<float64_t>();
1332  case PT_FLOATMAX: return new CStreamingHashedDenseFeatures<floatmax_t>();
1333  case PT_COMPLEX128: return NULL;
1334  case PT_SGOBJECT:
1335  case PT_UNDEFINED: return NULL;
1336  }
1337  return NULL;
1338 }
1340 {
1341  switch (g)
1342  {
1343  case PT_BOOL: return new CMatrixFeatures<bool>();
1344  case PT_CHAR: return new CMatrixFeatures<char>();
1345  case PT_INT8: return new CMatrixFeatures<int8_t>();
1346  case PT_UINT8: return new CMatrixFeatures<uint8_t>();
1347  case PT_INT16: return new CMatrixFeatures<int16_t>();
1348  case PT_UINT16: return new CMatrixFeatures<uint16_t>();
1349  case PT_INT32: return new CMatrixFeatures<int32_t>();
1350  case PT_UINT32: return new CMatrixFeatures<uint32_t>();
1351  case PT_INT64: return new CMatrixFeatures<int64_t>();
1352  case PT_UINT64: return new CMatrixFeatures<uint64_t>();
1353  case PT_FLOAT32: return new CMatrixFeatures<float32_t>();
1354  case PT_FLOAT64: return new CMatrixFeatures<float64_t>();
1355  case PT_FLOATMAX: return new CMatrixFeatures<floatmax_t>();
1356  case PT_COMPLEX128: return NULL;
1357  case PT_SGOBJECT:
1358  case PT_UNDEFINED: return NULL;
1359  }
1360  return NULL;
1361 }
1363 {
1364  switch (g)
1365  {
1366  case PT_BOOL: return new CSparseFeatures<bool>();
1367  case PT_CHAR: return new CSparseFeatures<char>();
1368  case PT_INT8: return new CSparseFeatures<int8_t>();
1369  case PT_UINT8: return new CSparseFeatures<uint8_t>();
1370  case PT_INT16: return new CSparseFeatures<int16_t>();
1371  case PT_UINT16: return new CSparseFeatures<uint16_t>();
1372  case PT_INT32: return new CSparseFeatures<int32_t>();
1373  case PT_UINT32: return new CSparseFeatures<uint32_t>();
1374  case PT_INT64: return new CSparseFeatures<int64_t>();
1375  case PT_UINT64: return new CSparseFeatures<uint64_t>();
1376  case PT_FLOAT32: return new CSparseFeatures<float32_t>();
1377  case PT_FLOAT64: return new CSparseFeatures<float64_t>();
1378  case PT_FLOATMAX: return new CSparseFeatures<floatmax_t>();
1379  case PT_COMPLEX128: return NULL;
1380  case PT_SGOBJECT:
1381  case PT_UNDEFINED: return NULL;
1382  }
1383  return NULL;
1384 }
1386 {
1387  switch (g)
1388  {
1389  case PT_BOOL: return new CHashedSparseFeatures<bool>();
1390  case PT_CHAR: return new CHashedSparseFeatures<char>();
1391  case PT_INT8: return new CHashedSparseFeatures<int8_t>();
1392  case PT_UINT8: return new CHashedSparseFeatures<uint8_t>();
1393  case PT_INT16: return new CHashedSparseFeatures<int16_t>();
1394  case PT_UINT16: return new CHashedSparseFeatures<uint16_t>();
1395  case PT_INT32: return new CHashedSparseFeatures<int32_t>();
1396  case PT_UINT32: return new CHashedSparseFeatures<uint32_t>();
1397  case PT_INT64: return new CHashedSparseFeatures<int64_t>();
1398  case PT_UINT64: return new CHashedSparseFeatures<uint64_t>();
1399  case PT_FLOAT32: return new CHashedSparseFeatures<float32_t>();
1400  case PT_FLOAT64: return new CHashedSparseFeatures<float64_t>();
1401  case PT_FLOATMAX: return new CHashedSparseFeatures<floatmax_t>();
1402  case PT_COMPLEX128: return NULL;
1403  case PT_SGOBJECT:
1404  case PT_UNDEFINED: return NULL;
1405  }
1406  return NULL;
1407 }
1409 {
1410  switch (g)
1411  {
1412  case PT_BOOL: return new CDecompressString<bool>();
1413  case PT_CHAR: return new CDecompressString<char>();
1414  case PT_INT8: return new CDecompressString<int8_t>();
1415  case PT_UINT8: return new CDecompressString<uint8_t>();
1416  case PT_INT16: return new CDecompressString<int16_t>();
1417  case PT_UINT16: return new CDecompressString<uint16_t>();
1418  case PT_INT32: return new CDecompressString<int32_t>();
1419  case PT_UINT32: return new CDecompressString<uint32_t>();
1420  case PT_INT64: return new CDecompressString<int64_t>();
1421  case PT_UINT64: return new CDecompressString<uint64_t>();
1422  case PT_FLOAT32: return new CDecompressString<float32_t>();
1423  case PT_FLOAT64: return new CDecompressString<float64_t>();
1424  case PT_FLOATMAX: return new CDecompressString<floatmax_t>();
1425  case PT_COMPLEX128: return NULL;
1426  case PT_SGOBJECT:
1427  case PT_UNDEFINED: return NULL;
1428  }
1429  return NULL;
1430 }
1432 {
1433  switch (g)
1434  {
1435  case PT_BOOL: return new CCache<bool>();
1436  case PT_CHAR: return new CCache<char>();
1437  case PT_INT8: return new CCache<int8_t>();
1438  case PT_UINT8: return new CCache<uint8_t>();
1439  case PT_INT16: return new CCache<int16_t>();
1440  case PT_UINT16: return new CCache<uint16_t>();
1441  case PT_INT32: return new CCache<int32_t>();
1442  case PT_UINT32: return new CCache<uint32_t>();
1443  case PT_INT64: return new CCache<int64_t>();
1444  case PT_UINT64: return new CCache<uint64_t>();
1445  case PT_FLOAT32: return new CCache<float32_t>();
1446  case PT_FLOAT64: return new CCache<float64_t>();
1447  case PT_FLOATMAX: return new CCache<floatmax_t>();
1448  case PT_COMPLEX128: return NULL;
1449  case PT_SGOBJECT:
1450  case PT_UNDEFINED: return NULL;
1451  }
1452  return NULL;
1453 }
1455 {
1456  switch (g)
1457  {
1458  case PT_BOOL: return new CDynamicArray<bool>();
1459  case PT_CHAR: return new CDynamicArray<char>();
1460  case PT_INT8: return new CDynamicArray<int8_t>();
1461  case PT_UINT8: return new CDynamicArray<uint8_t>();
1462  case PT_INT16: return new CDynamicArray<int16_t>();
1463  case PT_UINT16: return new CDynamicArray<uint16_t>();
1464  case PT_INT32: return new CDynamicArray<int32_t>();
1465  case PT_UINT32: return new CDynamicArray<uint32_t>();
1466  case PT_INT64: return new CDynamicArray<int64_t>();
1467  case PT_UINT64: return new CDynamicArray<uint64_t>();
1468  case PT_FLOAT32: return new CDynamicArray<float32_t>();
1469  case PT_FLOAT64: return new CDynamicArray<float64_t>();
1470  case PT_FLOATMAX: return new CDynamicArray<floatmax_t>();
1471  case PT_COMPLEX128: return NULL;
1472  case PT_SGOBJECT:
1473  case PT_UNDEFINED: return NULL;
1474  }
1475  return NULL;
1476 }
1477 static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CSet(EPrimitiveType g)
1478 {
1479  switch (g)
1480  {
1481  case PT_BOOL: return new CSet<bool>();
1482  case PT_CHAR: return new CSet<char>();
1483  case PT_INT8: return new CSet<int8_t>();
1484  case PT_UINT8: return new CSet<uint8_t>();
1485  case PT_INT16: return new CSet<int16_t>();
1486  case PT_UINT16: return new CSet<uint16_t>();
1487  case PT_INT32: return new CSet<int32_t>();
1488  case PT_UINT32: return new CSet<uint32_t>();
1489  case PT_INT64: return new CSet<int64_t>();
1490  case PT_UINT64: return new CSet<uint64_t>();
1491  case PT_FLOAT32: return new CSet<float32_t>();
1492  case PT_FLOAT64: return new CSet<float64_t>();
1493  case PT_FLOATMAX: return new CSet<floatmax_t>();
1494  case PT_COMPLEX128: return NULL;
1495  case PT_SGOBJECT:
1496  case PT_UNDEFINED: return NULL;
1497  }
1498  return NULL;
1499 }
1501 {
1502  switch (g)
1503  {
1504  case PT_BOOL: return new CDenseMatrixOperator<bool>();
1505  case PT_CHAR: return new CDenseMatrixOperator<char>();
1506  case PT_INT8: return new CDenseMatrixOperator<int8_t>();
1507  case PT_UINT8: return new CDenseMatrixOperator<uint8_t>();
1508  case PT_INT16: return new CDenseMatrixOperator<int16_t>();
1509  case PT_UINT16: return new CDenseMatrixOperator<uint16_t>();
1510  case PT_INT32: return new CDenseMatrixOperator<int32_t>();
1511  case PT_UINT32: return new CDenseMatrixOperator<uint32_t>();
1512  case PT_INT64: return new CDenseMatrixOperator<int64_t>();
1513  case PT_UINT64: return new CDenseMatrixOperator<uint64_t>();
1514  case PT_FLOAT32: return new CDenseMatrixOperator<float32_t>();
1515  case PT_FLOAT64: return new CDenseMatrixOperator<float64_t>();
1516  case PT_FLOATMAX: return new CDenseMatrixOperator<floatmax_t>();
1517  case PT_COMPLEX128: return new CDenseMatrixOperator<complex128_t>();
1518  case PT_SGOBJECT:
1519  case PT_UNDEFINED: return NULL;
1520  }
1521  return NULL;
1522 }
1524 {
1525  switch (g)
1526  {
1527  case PT_BOOL: return new CSparseMatrixOperator<bool>();
1528  case PT_CHAR: return new CSparseMatrixOperator<char>();
1529  case PT_INT8: return new CSparseMatrixOperator<int8_t>();
1530  case PT_UINT8: return new CSparseMatrixOperator<uint8_t>();
1531  case PT_INT16: return new CSparseMatrixOperator<int16_t>();
1532  case PT_UINT16: return new CSparseMatrixOperator<uint16_t>();
1533  case PT_INT32: return new CSparseMatrixOperator<int32_t>();
1534  case PT_UINT32: return new CSparseMatrixOperator<uint32_t>();
1535  case PT_INT64: return new CSparseMatrixOperator<int64_t>();
1536  case PT_UINT64: return new CSparseMatrixOperator<uint64_t>();
1537  case PT_FLOAT32: return new CSparseMatrixOperator<float32_t>();
1538  case PT_FLOAT64: return new CSparseMatrixOperator<float64_t>();
1539  case PT_FLOATMAX: return new CSparseMatrixOperator<floatmax_t>();
1540  case PT_COMPLEX128: return new CSparseMatrixOperator<complex128_t>();
1541  case PT_SGOBJECT:
1542  case PT_UNDEFINED: return NULL;
1543  }
1544  return NULL;
1545 }
1547 {
1548  switch (g)
1549  {
1550  case PT_BOOL: return new CVectorResult<bool>();
1551  case PT_CHAR: return new CVectorResult<char>();
1552  case PT_INT8: return new CVectorResult<int8_t>();
1553  case PT_UINT8: return new CVectorResult<uint8_t>();
1554  case PT_INT16: return new CVectorResult<int16_t>();
1555  case PT_UINT16: return new CVectorResult<uint16_t>();
1556  case PT_INT32: return new CVectorResult<int32_t>();
1557  case PT_UINT32: return new CVectorResult<uint32_t>();
1558  case PT_INT64: return new CVectorResult<int64_t>();
1559  case PT_UINT64: return new CVectorResult<uint64_t>();
1560  case PT_FLOAT32: return new CVectorResult<float32_t>();
1561  case PT_FLOAT64: return new CVectorResult<float64_t>();
1562  case PT_FLOATMAX: return new CVectorResult<floatmax_t>();
1563  case PT_COMPLEX128: return new CVectorResult<complex128_t>();
1564  case PT_SGOBJECT:
1565  case PT_UNDEFINED: return NULL;
1566  }
1567  return NULL;
1568 }
1570 {
1571  switch (g)
1572  {
1573  case PT_BOOL: return new CScalarResult<bool>();
1574  case PT_CHAR: return new CScalarResult<char>();
1575  case PT_INT8: return new CScalarResult<int8_t>();
1576  case PT_UINT8: return new CScalarResult<uint8_t>();
1577  case PT_INT16: return new CScalarResult<int16_t>();
1578  case PT_UINT16: return new CScalarResult<uint16_t>();
1579  case PT_INT32: return new CScalarResult<int32_t>();
1580  case PT_UINT32: return new CScalarResult<uint32_t>();
1581  case PT_INT64: return new CScalarResult<int64_t>();
1582  case PT_UINT64: return new CScalarResult<uint64_t>();
1583  case PT_FLOAT32: return new CScalarResult<float32_t>();
1584  case PT_FLOAT64: return new CScalarResult<float64_t>();
1585  case PT_FLOATMAX: return new CScalarResult<floatmax_t>();
1586  case PT_COMPLEX128: return new CScalarResult<complex128_t>();
1587  case PT_SGOBJECT:
1588  case PT_UNDEFINED: return NULL;
1589  }
1590  return NULL;
1591 }
1593 {
1594  switch (g)
1595  {
1596  case PT_BOOL: return new CStoreScalarAggregator<bool>();
1597  case PT_CHAR: return new CStoreScalarAggregator<char>();
1598  case PT_INT8: return new CStoreScalarAggregator<int8_t>();
1599  case PT_UINT8: return new CStoreScalarAggregator<uint8_t>();
1600  case PT_INT16: return new CStoreScalarAggregator<int16_t>();
1601  case PT_UINT16: return new CStoreScalarAggregator<uint16_t>();
1602  case PT_INT32: return new CStoreScalarAggregator<int32_t>();
1603  case PT_UINT32: return new CStoreScalarAggregator<uint32_t>();
1604  case PT_INT64: return new CStoreScalarAggregator<int64_t>();
1605  case PT_UINT64: return new CStoreScalarAggregator<uint64_t>();
1606  case PT_FLOAT32: return new CStoreScalarAggregator<float32_t>();
1607  case PT_FLOAT64: return new CStoreScalarAggregator<float64_t>();
1608  case PT_FLOATMAX: return new CStoreScalarAggregator<floatmax_t>();
1609  case PT_COMPLEX128: return new CStoreScalarAggregator<complex128_t>();
1610  case PT_SGOBJECT:
1611  case PT_UNDEFINED: return NULL;
1612  }
1613  return NULL;
1614 }
1615 typedef CSGObject* (*new_sgserializable_t)(EPrimitiveType generic);
1616 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1617 typedef struct
1618 {
1619  const char* m_class_name;
1620  new_sgserializable_t m_new_sgserializable;
1621 } class_list_entry_t;
1622 #endif
1623 
1624 static class_list_entry_t class_list[] = {
1625 {"MultitaskL12LogisticRegression", SHOGUN_BASIC_CLASS __new_CMultitaskL12LogisticRegression},
1626 {"MultitaskLeastSquaresRegression", SHOGUN_BASIC_CLASS __new_CMultitaskLeastSquaresRegression},
1627 {"MultitaskTraceLogisticRegression", SHOGUN_BASIC_CLASS __new_CMultitaskTraceLogisticRegression},
1628 {"MultitaskROCEvaluation", SHOGUN_BASIC_CLASS __new_CMultitaskROCEvaluation},
1629 {"MultitaskKernelPlifNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelPlifNormalizer},
1631 {"MultitaskLogisticRegression", SHOGUN_BASIC_CLASS __new_CMultitaskLogisticRegression},
1632 {"MultitaskKernelMaskNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelMaskNormalizer},
1633 {"MultitaskKernelNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelNormalizer},
1634 {"LibLinearMTL", SHOGUN_BASIC_CLASS __new_CLibLinearMTL},
1636 {"Taxonomy", SHOGUN_BASIC_CLASS __new_CTaxonomy},
1637 {"MultitaskKernelTreeNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelTreeNormalizer},
1638 {"MultitaskClusteredLogisticRegression", SHOGUN_BASIC_CLASS __new_CMultitaskClusteredLogisticRegression},
1639 {"TaskGroup", SHOGUN_BASIC_CLASS __new_CTaskGroup},
1640 {"MultitaskKernelMaskPairNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelMaskPairNormalizer},
1641 {"MultitaskLinearMachine", SHOGUN_BASIC_CLASS __new_CMultitaskLinearMachine},
1642 {"TaskTree", SHOGUN_BASIC_CLASS __new_CTaskTree},
1643 {"DomainAdaptationSVMLinear", SHOGUN_BASIC_CLASS __new_CDomainAdaptationSVMLinear},
1644 {"DomainAdaptationMulticlassLibLinear", SHOGUN_BASIC_CLASS __new_CDomainAdaptationMulticlassLibLinear},
1646 {"StructuredOutputMachine", SHOGUN_BASIC_CLASS __new_CStructuredOutputMachine},
1647 {"Machine", SHOGUN_BASIC_CLASS __new_CMachine},
1648 {"LinearMulticlassMachine", SHOGUN_BASIC_CLASS __new_CLinearMulticlassMachine},
1649 {"KernelMulticlassMachine", SHOGUN_BASIC_CLASS __new_CKernelMulticlassMachine},
1650 {"DistanceMachine", SHOGUN_BASIC_CLASS __new_CDistanceMachine},
1651 {"NativeMulticlassMachine", SHOGUN_BASIC_CLASS __new_CNativeMulticlassMachine},
1652 {"KernelMachine", SHOGUN_BASIC_CLASS __new_CKernelMachine},
1653 {"OnlineLinearMachine", SHOGUN_BASIC_CLASS __new_COnlineLinearMachine},
1654 {"BaseMulticlassMachine", SHOGUN_BASIC_CLASS __new_CBaseMulticlassMachine},
1655 {"LinearMachine", SHOGUN_BASIC_CLASS __new_CLinearMachine},
1656 {"LinearStructuredOutputMachine", SHOGUN_BASIC_CLASS __new_CLinearStructuredOutputMachine},
1657 {"GaussianProcessMachine", SHOGUN_BASIC_CLASS __new_CGaussianProcessMachine},
1658 {"BaggingMachine", SHOGUN_BASIC_CLASS __new_CBaggingMachine},
1659 {"KernelStructuredOutputMachine", SHOGUN_BASIC_CLASS __new_CKernelStructuredOutputMachine},
1660 {"LaplacianInferenceMethod", SHOGUN_BASIC_CLASS __new_CLaplacianInferenceMethod},
1661 {"ProbitLikelihood", SHOGUN_BASIC_CLASS __new_CProbitLikelihood},
1662 {"GaussianLikelihood", SHOGUN_BASIC_CLASS __new_CGaussianLikelihood},
1663 {"EPInferenceMethod", SHOGUN_BASIC_CLASS __new_CEPInferenceMethod},
1664 {"ExactInferenceMethod", SHOGUN_BASIC_CLASS __new_CExactInferenceMethod},
1665 {"FITCInferenceMethod", SHOGUN_BASIC_CLASS __new_CFITCInferenceMethod},
1666 {"LogitLikelihood", SHOGUN_BASIC_CLASS __new_CLogitLikelihood},
1667 {"StudentsTLikelihood", SHOGUN_BASIC_CLASS __new_CStudentsTLikelihood},
1668 {"ZeroMean", SHOGUN_BASIC_CLASS __new_CZeroMean},
1669 {"StructuredLabels", SHOGUN_BASIC_CLASS __new_CStructuredLabels},
1670 {"FactorGraphObservation", SHOGUN_BASIC_CLASS __new_CFactorGraphObservation},
1671 {"FactorGraphLabels", SHOGUN_BASIC_CLASS __new_CFactorGraphLabels},
1672 {"LatentLabels", SHOGUN_BASIC_CLASS __new_CLatentLabels},
1673 {"MulticlassLabels", SHOGUN_BASIC_CLASS __new_CMulticlassLabels},
1674 {"MultilabelLabels", SHOGUN_BASIC_CLASS __new_CMultilabelLabels},
1675 {"BinaryLabels", SHOGUN_BASIC_CLASS __new_CBinaryLabels},
1676 {"RegressionLabels", SHOGUN_BASIC_CLASS __new_CRegressionLabels},
1677 {"LabelsFactory", SHOGUN_BASIC_CLASS __new_CLabelsFactory},
1678 {"MulticlassMultipleOutputLabels", SHOGUN_BASIC_CLASS __new_CMulticlassMultipleOutputLabels},
1679 {"GridSearchModelSelection", SHOGUN_BASIC_CLASS __new_CGridSearchModelSelection},
1680 {"ModelSelectionParameters", SHOGUN_BASIC_CLASS __new_CModelSelectionParameters},
1681 {"RandomSearchModelSelection", SHOGUN_BASIC_CLASS __new_CRandomSearchModelSelection},
1682 {"GradientModelSelection", SHOGUN_BASIC_CLASS __new_CGradientModelSelection},
1683 {"ParameterCombination", SHOGUN_BASIC_CLASS __new_CParameterCombination},
1684 {"LatentSOSVM", SHOGUN_BASIC_CLASS __new_CLatentSOSVM},
1685 {"LatentSVM", SHOGUN_BASIC_CLASS __new_CLatentSVM},
1686 {"FactorGraphModel", SHOGUN_BASIC_CLASS __new_CFactorGraphModel},
1687 {"IntronList", SHOGUN_BASIC_CLASS __new_CIntronList},
1688 {"SOSVMHelper", SHOGUN_BASIC_CLASS __new_CSOSVMHelper},
1689 {"DualLibQPBMSOSVM", SHOGUN_BASIC_CLASS __new_CDualLibQPBMSOSVM},
1690 {"MAPInference", SHOGUN_BASIC_CLASS __new_CMAPInference},
1691 {"Sequence", SHOGUN_BASIC_CLASS __new_CSequence},
1692 {"SequenceLabels", SHOGUN_BASIC_CLASS __new_CSequenceLabels},
1693 {"PlifArray", SHOGUN_BASIC_CLASS __new_CPlifArray},
1694 {"SegmentLoss", SHOGUN_BASIC_CLASS __new_CSegmentLoss},
1695 {"DisjointSet", SHOGUN_BASIC_CLASS __new_CDisjointSet},
1696 {"MulticlassModel", SHOGUN_BASIC_CLASS __new_CMulticlassModel},
1698 {"FactorGraph", SHOGUN_BASIC_CLASS __new_CFactorGraph},
1699 {"HMSVMModel", SHOGUN_BASIC_CLASS __new_CHMSVMModel},
1700 {"FactorDataSource", SHOGUN_BASIC_CLASS __new_CFactorDataSource},
1701 {"Factor", SHOGUN_BASIC_CLASS __new_CFactor},
1702 {"MulticlassSOLabels", SHOGUN_BASIC_CLASS __new_CMulticlassSOLabels},
1703 {"FactorType", SHOGUN_BASIC_CLASS __new_CFactorType},
1704 {"TableFactorType", SHOGUN_BASIC_CLASS __new_CTableFactorType},
1705 {"DynProg", SHOGUN_BASIC_CLASS __new_CDynProg},
1706 {"CCSOSVM", SHOGUN_BASIC_CLASS __new_CCCSOSVM},
1707 {"StochasticSOSVM", SHOGUN_BASIC_CLASS __new_CStochasticSOSVM},
1708 {"TwoStateModel", SHOGUN_BASIC_CLASS __new_CTwoStateModel},
1709 {"PlifMatrix", SHOGUN_BASIC_CLASS __new_CPlifMatrix},
1711 {"LMNNStatistics", SHOGUN_BASIC_CLASS __new_CLMNNStatistics},
1712 {"GUIFeatures", SHOGUN_BASIC_CLASS __new_CGUIFeatures},
1713 {"GUIStructure", SHOGUN_BASIC_CLASS __new_CGUIStructure},
1714 {"GUIConverter", SHOGUN_BASIC_CLASS __new_CGUIConverter},
1715 {"GUIPluginEstimate", SHOGUN_BASIC_CLASS __new_CGUIPluginEstimate},
1716 {"GUIClassifier", SHOGUN_BASIC_CLASS __new_CGUIClassifier},
1717 {"GUIDistance", SHOGUN_BASIC_CLASS __new_CGUIDistance},
1718 {"GUIPreprocessor", SHOGUN_BASIC_CLASS __new_CGUIPreprocessor},
1719 {"GUILabels", SHOGUN_BASIC_CLASS __new_CGUILabels},
1720 {"GUIKernel", SHOGUN_BASIC_CLASS __new_CGUIKernel},
1721 {"GUITime", SHOGUN_BASIC_CLASS __new_CGUITime},
1722 {"GUIMath", SHOGUN_BASIC_CLASS __new_CGUIMath},
1723 {"GUIHMM", SHOGUN_BASIC_CLASS __new_CGUIHMM},
1724 {"QuadraticTimeMMD", SHOGUN_BASIC_CLASS __new_CQuadraticTimeMMD},
1725 {"MMDKernelSelectionCombMaxL2", SHOGUN_BASIC_CLASS __new_CMMDKernelSelectionCombMaxL2},
1726 {"MMDKernelSelectionCombOpt", SHOGUN_BASIC_CLASS __new_CMMDKernelSelectionCombOpt},
1727 {"MMDKernelSelectionOpt", SHOGUN_BASIC_CLASS __new_CMMDKernelSelectionOpt},
1728 {"LinearTimeMMD", SHOGUN_BASIC_CLASS __new_CLinearTimeMMD},
1730 {"MMDKernelSelectionMax", SHOGUN_BASIC_CLASS __new_CMMDKernelSelectionMax},
1731 {"MMDKernelSelectionMedian", SHOGUN_BASIC_CLASS __new_CMMDKernelSelectionMedian},
1732 {"KernelMeanMatching", SHOGUN_BASIC_CLASS __new_CKernelMeanMatching},
1733 {"LinearRidgeRegression", SHOGUN_BASIC_CLASS __new_CLinearRidgeRegression},
1734 {"GaussianProcessRegression", SHOGUN_BASIC_CLASS __new_CGaussianProcessRegression},
1735 {"LibSVR", SHOGUN_BASIC_CLASS __new_CLibSVR},
1736 {"MKLRegression", SHOGUN_BASIC_CLASS __new_CMKLRegression},
1737 {"LibLinearRegression", SHOGUN_BASIC_CLASS __new_CLibLinearRegression},
1738 {"LeastSquaresRegression", SHOGUN_BASIC_CLASS __new_CLeastSquaresRegression},
1739 {"LeastAngleRegression", SHOGUN_BASIC_CLASS __new_CLeastAngleRegression},
1740 {"KernelRidgeRegression", SHOGUN_BASIC_CLASS __new_CKernelRidgeRegression},
1742 {"ThresholdRejectionStrategy", SHOGUN_BASIC_CLASS __new_CThresholdRejectionStrategy},
1743 {"DixonQTestRejectionStrategy", SHOGUN_BASIC_CLASS __new_CDixonQTestRejectionStrategy},
1744 {"MulticlassLogisticRegression", SHOGUN_BASIC_CLASS __new_CMulticlassLogisticRegression},
1745 {"MulticlassLibSVM", SHOGUN_BASIC_CLASS __new_CMulticlassLibSVM},
1746 {"ID3ClassifierTree", SHOGUN_BASIC_CLASS __new_CID3ClassifierTree},
1747 {"BalancedConditionalProbabilityTree", SHOGUN_BASIC_CLASS __new_CBalancedConditionalProbabilityTree},
1748 {"RelaxedTree", SHOGUN_BASIC_CLASS __new_CRelaxedTree},
1749 {"RandomConditionalProbabilityTree", SHOGUN_BASIC_CLASS __new_CRandomConditionalProbabilityTree},
1750 {"ECOCRandomDenseEncoder", SHOGUN_BASIC_CLASS __new_CECOCRandomDenseEncoder},
1751 {"ECOCDiscriminantEncoder", SHOGUN_BASIC_CLASS __new_CECOCDiscriminantEncoder},
1752 {"ECOCEDDecoder", SHOGUN_BASIC_CLASS __new_CECOCEDDecoder},
1753 {"ECOCOVREncoder", SHOGUN_BASIC_CLASS __new_CECOCOVREncoder},
1754 {"ECOCRandomSparseEncoder", SHOGUN_BASIC_CLASS __new_CECOCRandomSparseEncoder},
1755 {"ECOCAEDDecoder", SHOGUN_BASIC_CLASS __new_CECOCAEDDecoder},
1756 {"ECOCStrategy", SHOGUN_BASIC_CLASS __new_CECOCStrategy},
1757 {"ECOCIHDDecoder", SHOGUN_BASIC_CLASS __new_CECOCIHDDecoder},
1758 {"ECOCHDDecoder", SHOGUN_BASIC_CLASS __new_CECOCHDDecoder},
1759 {"ECOCLLBDecoder", SHOGUN_BASIC_CLASS __new_CECOCLLBDecoder},
1760 {"ECOCForestEncoder", SHOGUN_BASIC_CLASS __new_CECOCForestEncoder},
1761 {"ECOCOVOEncoder", SHOGUN_BASIC_CLASS __new_CECOCOVOEncoder},
1762 {"MCLDA", SHOGUN_BASIC_CLASS __new_CMCLDA},
1763 {"GMNPSVM", SHOGUN_BASIC_CLASS __new_CGMNPSVM},
1764 {"MulticlassLibLinear", SHOGUN_BASIC_CLASS __new_CMulticlassLibLinear},
1765 {"MulticlassOCAS", SHOGUN_BASIC_CLASS __new_CMulticlassOCAS},
1766 {"GMNPLib", SHOGUN_BASIC_CLASS __new_CGMNPLib},
1767 {"LaRank", SHOGUN_BASIC_CLASS __new_CLaRank},
1768 {"MulticlassOneVsOneStrategy", SHOGUN_BASIC_CLASS __new_CMulticlassOneVsOneStrategy},
1769 {"ShareBoost", SHOGUN_BASIC_CLASS __new_CShareBoost},
1770 {"MulticlassOneVsRestStrategy", SHOGUN_BASIC_CLASS __new_CMulticlassOneVsRestStrategy},
1771 {"MulticlassSVM", SHOGUN_BASIC_CLASS __new_CMulticlassSVM},
1772 {"MulticlassTreeGuidedLogisticRegression", SHOGUN_BASIC_CLASS __new_CMulticlassTreeGuidedLogisticRegression},
1773 {"GaussianNaiveBayes", SHOGUN_BASIC_CLASS __new_CGaussianNaiveBayes},
1775 {"ScatterSVM", SHOGUN_BASIC_CLASS __new_CScatterSVM},
1776 {"LogLossMargin", SHOGUN_BASIC_CLASS __new_CLogLossMargin},
1777 {"LogLoss", SHOGUN_BASIC_CLASS __new_CLogLoss},
1778 {"SquaredHingeLoss", SHOGUN_BASIC_CLASS __new_CSquaredHingeLoss},
1779 {"SmoothHingeLoss", SHOGUN_BASIC_CLASS __new_CSmoothHingeLoss},
1780 {"HingeLoss", SHOGUN_BASIC_CLASS __new_CHingeLoss},
1781 {"SquaredLoss", SHOGUN_BASIC_CLASS __new_CSquaredLoss},
1782 {"LinearHMM", SHOGUN_BASIC_CLASS __new_CLinearHMM},
1783 {"Histogram", SHOGUN_BASIC_CLASS __new_CHistogram},
1785 {"Gaussian", SHOGUN_BASIC_CLASS __new_CGaussian},
1786 {"PositionalPWM", SHOGUN_BASIC_CLASS __new_CPositionalPWM},
1787 {"GaussianDistribution", SHOGUN_BASIC_CLASS __new_CGaussianDistribution},
1789 {"MajorityVote", SHOGUN_BASIC_CLASS __new_CMajorityVote},
1790 {"WeightedMajorityVote", SHOGUN_BASIC_CLASS __new_CWeightedMajorityVote},
1791 {"MeanRule", SHOGUN_BASIC_CLASS __new_CMeanRule},
1792 {"SerializableAsciiFile", SHOGUN_BASIC_CLASS __new_CSerializableAsciiFile},
1793 {"Parser", SHOGUN_BASIC_CLASS __new_CParser},
1794 {"LibSVMFile", SHOGUN_BASIC_CLASS __new_CLibSVMFile},
1795 {"ProtobufFile", SHOGUN_BASIC_CLASS __new_CProtobufFile},
1796 {"IOBuffer", SHOGUN_BASIC_CLASS __new_CIOBuffer},
1797 {"StreamingFile", SHOGUN_BASIC_CLASS __new_CStreamingFile},
1798 {"StreamingFileFromFeatures", SHOGUN_BASIC_CLASS __new_CStreamingFileFromFeatures},
1799 {"StreamingAsciiFile", SHOGUN_BASIC_CLASS __new_CStreamingAsciiFile},
1800 {"StreamingVwFile", SHOGUN_BASIC_CLASS __new_CStreamingVwFile},
1801 {"StreamingVwCacheFile", SHOGUN_BASIC_CLASS __new_CStreamingVwCacheFile},
1802 {"BinaryFile", SHOGUN_BASIC_CLASS __new_CBinaryFile},
1803 {"CSVFile", SHOGUN_BASIC_CLASS __new_CCSVFile},
1804 {"LineReader", SHOGUN_BASIC_CLASS __new_CLineReader},
1806 {"SparseInverseCovariance", SHOGUN_BASIC_CLASS __new_CSparseInverseCovariance},
1807 {"Integration", SHOGUN_BASIC_CLASS __new_CIntegration},
1808 {"JediDiag", SHOGUN_BASIC_CLASS __new_CJediDiag},
1809 {"JADiagOrth", SHOGUN_BASIC_CLASS __new_CJADiagOrth},
1810 {"UWedge", SHOGUN_BASIC_CLASS __new_CUWedge},
1811 {"QDiag", SHOGUN_BASIC_CLASS __new_CQDiag},
1812 {"FFDiag", SHOGUN_BASIC_CLASS __new_CFFDiag},
1813 {"JADiag", SHOGUN_BASIC_CLASS __new_CJADiag},
1814 {"Statistics", SHOGUN_BASIC_CLASS __new_CStatistics},
1815 {"Random", SHOGUN_BASIC_CLASS __new_CRandom},
1816 {"JacobiEllipticFunctions", SHOGUN_BASIC_CLASS __new_CJacobiEllipticFunctions},
1817 {"NormalSampler", SHOGUN_BASIC_CLASS __new_CNormalSampler},
1818 {"ProbingSampler", SHOGUN_BASIC_CLASS __new_CProbingSampler},
1819 {"RationalApproximationCGMJob", SHOGUN_BASIC_CLASS __new_CRationalApproximationCGMJob},
1820 {"DenseExactLogJob", SHOGUN_BASIC_CLASS __new_CDenseExactLogJob},
1821 {"RationalApproximationIndividualJob", SHOGUN_BASIC_CLASS __new_CRationalApproximationIndividualJob},
1822 {"IndividualJobResultAggregator", SHOGUN_BASIC_CLASS __new_CIndividualJobResultAggregator},
1823 {"LogDetEstimator", SHOGUN_BASIC_CLASS __new_CLogDetEstimator},
1824 {"DenseMatrixExactLog", SHOGUN_BASIC_CLASS __new_CDenseMatrixExactLog},
1825 {"LogRationalApproximationIndividual", SHOGUN_BASIC_CLASS __new_CLogRationalApproximationIndividual},
1826 {"LogRationalApproximationCGM", SHOGUN_BASIC_CLASS __new_CLogRationalApproximationCGM},
1827 {"ConjugateGradientSolver", SHOGUN_BASIC_CLASS __new_CConjugateGradientSolver},
1828 {"DirectLinearSolverComplex", SHOGUN_BASIC_CLASS __new_CDirectLinearSolverComplex},
1829 {"DirectSparseLinearSolver", SHOGUN_BASIC_CLASS __new_CDirectSparseLinearSolver},
1830 {"LanczosEigenSolver", SHOGUN_BASIC_CLASS __new_CLanczosEigenSolver},
1831 {"DirectEigenSolver", SHOGUN_BASIC_CLASS __new_CDirectEigenSolver},
1832 {"AveragedPerceptron", SHOGUN_BASIC_CLASS __new_CAveragedPerceptron},
1833 {"FeatureBlockLogisticRegression", SHOGUN_BASIC_CLASS __new_CFeatureBlockLogisticRegression},
1834 {"PluginEstimate", SHOGUN_BASIC_CLASS __new_CPluginEstimate},
1835 {"MKLClassification", SHOGUN_BASIC_CLASS __new_CMKLClassification},
1836 {"MKLOneClass", SHOGUN_BASIC_CLASS __new_CMKLOneClass},
1837 {"MKLMulticlass", SHOGUN_BASIC_CLASS __new_CMKLMulticlass},
1838 {"GaussianProcessBinaryClassification", SHOGUN_BASIC_CLASS __new_CGaussianProcessBinaryClassification},
1839 {"NearestCentroid", SHOGUN_BASIC_CLASS __new_CNearestCentroid},
1840 {"OnlineLibLinear", SHOGUN_BASIC_CLASS __new_COnlineLibLinear},
1841 {"SGDQN", SHOGUN_BASIC_CLASS __new_CSGDQN},
1842 {"LibSVM", SHOGUN_BASIC_CLASS __new_CLibSVM},
1843 {"GNPPSVM", SHOGUN_BASIC_CLASS __new_CGNPPSVM},
1845 {"SVMLin", SHOGUN_BASIC_CLASS __new_CSVMLin},
1846 {"GPBTSVM", SHOGUN_BASIC_CLASS __new_CGPBTSVM},
1847 {"LibLinear", SHOGUN_BASIC_CLASS __new_CLibLinear},
1848 {"OnlineSVMSGD", SHOGUN_BASIC_CLASS __new_COnlineSVMSGD},
1849 {"GNPPLib", SHOGUN_BASIC_CLASS __new_CGNPPLib},
1850 {"LibSVMOneClass", SHOGUN_BASIC_CLASS __new_CLibSVMOneClass},
1851 {"SVMOcas", SHOGUN_BASIC_CLASS __new_CSVMOcas},
1852 {"MPDSVM", SHOGUN_BASIC_CLASS __new_CMPDSVM},
1853 {"SVMSGD", SHOGUN_BASIC_CLASS __new_CSVMSGD},
1854 {"WDSVMOcas", SHOGUN_BASIC_CLASS __new_CWDSVMOcas},
1855 {"QPBSVMLib", SHOGUN_BASIC_CLASS __new_CQPBSVMLib},
1856 {"NewtonSVM", SHOGUN_BASIC_CLASS __new_CNewtonSVM},
1857 {"Perceptron", SHOGUN_BASIC_CLASS __new_CPerceptron},
1859 {"VwEnvironment", SHOGUN_BASIC_CLASS __new_CVwEnvironment},
1860 {"VwParser", SHOGUN_BASIC_CLASS __new_CVwParser},
1861 {"VwNativeCacheWriter", SHOGUN_BASIC_CLASS __new_CVwNativeCacheWriter},
1862 {"VwNativeCacheReader", SHOGUN_BASIC_CLASS __new_CVwNativeCacheReader},
1863 {"VwNonAdaptiveLearner", SHOGUN_BASIC_CLASS __new_CVwNonAdaptiveLearner},
1864 {"VwAdaptiveLearner", SHOGUN_BASIC_CLASS __new_CVwAdaptiveLearner},
1865 {"VowpalWabbit", SHOGUN_BASIC_CLASS __new_CVowpalWabbit},
1866 {"VwRegressor", SHOGUN_BASIC_CLASS __new_CVwRegressor},
1867 {"TStudentKernel", SHOGUN_BASIC_CLASS __new_CTStudentKernel},
1868 {"CombinedKernel", SHOGUN_BASIC_CLASS __new_CCombinedKernel},
1869 {"SigmoidKernel", SHOGUN_BASIC_CLASS __new_CSigmoidKernel},
1870 {"GaussianKernel", SHOGUN_BASIC_CLASS __new_CGaussianKernel},
1871 {"PolyKernel", SHOGUN_BASIC_CLASS __new_CPolyKernel},
1872 {"BesselKernel", SHOGUN_BASIC_CLASS __new_CBesselKernel},
1873 {"CauchyKernel", SHOGUN_BASIC_CLASS __new_CCauchyKernel},
1874 {"RationalQuadraticKernel", SHOGUN_BASIC_CLASS __new_CRationalQuadraticKernel},
1875 {"SplineKernel", SHOGUN_BASIC_CLASS __new_CSplineKernel},
1876 {"DiagKernel", SHOGUN_BASIC_CLASS __new_CDiagKernel},
1877 {"WeightedDegreeRBFKernel", SHOGUN_BASIC_CLASS __new_CWeightedDegreeRBFKernel},
1878 {"WaveletKernel", SHOGUN_BASIC_CLASS __new_CWaveletKernel},
1879 {"CircularKernel", SHOGUN_BASIC_CLASS __new_CCircularKernel},
1880 {"JensenShannonKernel", SHOGUN_BASIC_CLASS __new_CJensenShannonKernel},
1881 {"GaussianShortRealKernel", SHOGUN_BASIC_CLASS __new_CGaussianShortRealKernel},
1882 {"ExponentialKernel", SHOGUN_BASIC_CLASS __new_CExponentialKernel},
1883 {"AUCKernel", SHOGUN_BASIC_CLASS __new_CAUCKernel},
1884 {"ConstKernel", SHOGUN_BASIC_CLASS __new_CConstKernel},
1885 {"CustomKernel", SHOGUN_BASIC_CLASS __new_CCustomKernel},
1886 {"LinearKernel", SHOGUN_BASIC_CLASS __new_CLinearKernel},
1887 {"LocalityImprovedStringKernel", SHOGUN_BASIC_CLASS __new_CLocalityImprovedStringKernel},
1888 {"PolyMatchStringKernel", SHOGUN_BASIC_CLASS __new_CPolyMatchStringKernel},
1889 {"SubsequenceStringKernel", SHOGUN_BASIC_CLASS __new_CSubsequenceStringKernel},
1890 {"LocalAlignmentStringKernel", SHOGUN_BASIC_CLASS __new_CLocalAlignmentStringKernel},
1891 {"LinearStringKernel", SHOGUN_BASIC_CLASS __new_CLinearStringKernel},
1892 {"MatchWordStringKernel", SHOGUN_BASIC_CLASS __new_CMatchWordStringKernel},
1893 {"HistogramWordStringKernel", SHOGUN_BASIC_CLASS __new_CHistogramWordStringKernel},
1894 {"SNPStringKernel", SHOGUN_BASIC_CLASS __new_CSNPStringKernel},
1895 {"CommWordStringKernel", SHOGUN_BASIC_CLASS __new_CCommWordStringKernel},
1896 {"PolyMatchWordStringKernel", SHOGUN_BASIC_CLASS __new_CPolyMatchWordStringKernel},
1897 {"SimpleLocalityImprovedStringKernel", SHOGUN_BASIC_CLASS __new_CSimpleLocalityImprovedStringKernel},
1898 {"CommUlongStringKernel", SHOGUN_BASIC_CLASS __new_CCommUlongStringKernel},
1899 {"GaussianMatchStringKernel", SHOGUN_BASIC_CLASS __new_CGaussianMatchStringKernel},
1900 {"RegulatoryModulesStringKernel", SHOGUN_BASIC_CLASS __new_CRegulatoryModulesStringKernel},
1901 {"WeightedDegreeStringKernel", SHOGUN_BASIC_CLASS __new_CWeightedDegreeStringKernel},
1902 {"WeightedCommWordStringKernel", SHOGUN_BASIC_CLASS __new_CWeightedCommWordStringKernel},
1903 {"SparseSpatialSampleStringKernel", SHOGUN_BASIC_CLASS __new_CSparseSpatialSampleStringKernel},
1904 {"OligoStringKernel", SHOGUN_BASIC_CLASS __new_COligoStringKernel},
1905 {"SalzbergWordStringKernel", SHOGUN_BASIC_CLASS __new_CSalzbergWordStringKernel},
1906 {"DistantSegmentsKernel", SHOGUN_BASIC_CLASS __new_CDistantSegmentsKernel},
1907 {"WeightedDegreePositionStringKernel", SHOGUN_BASIC_CLASS __new_CWeightedDegreePositionStringKernel},
1908 {"SpectrumMismatchRBFKernel", SHOGUN_BASIC_CLASS __new_CSpectrumMismatchRBFKernel},
1909 {"FixedDegreeStringKernel", SHOGUN_BASIC_CLASS __new_CFixedDegreeStringKernel},
1910 {"SpectrumRBFKernel", SHOGUN_BASIC_CLASS __new_CSpectrumRBFKernel},
1911 {"GaussianARDKernel", SHOGUN_BASIC_CLASS __new_CGaussianARDKernel},
1912 {"DistanceKernel", SHOGUN_BASIC_CLASS __new_CDistanceKernel},
1913 {"MultiquadricKernel", SHOGUN_BASIC_CLASS __new_CMultiquadricKernel},
1914 {"GaussianShiftKernel", SHOGUN_BASIC_CLASS __new_CGaussianShiftKernel},
1915 {"SphericalKernel", SHOGUN_BASIC_CLASS __new_CSphericalKernel},
1916 {"HistogramIntersectionKernel", SHOGUN_BASIC_CLASS __new_CHistogramIntersectionKernel},
1917 {"LinearARDKernel", SHOGUN_BASIC_CLASS __new_CLinearARDKernel},
1918 {"LogKernel", SHOGUN_BASIC_CLASS __new_CLogKernel},
1919 {"Chi2Kernel", SHOGUN_BASIC_CLASS __new_CChi2Kernel},
1920 {"PyramidChi2", SHOGUN_BASIC_CLASS __new_CPyramidChi2},
1921 {"WaveKernel", SHOGUN_BASIC_CLASS __new_CWaveKernel},
1922 {"InverseMultiQuadricKernel", SHOGUN_BASIC_CLASS __new_CInverseMultiQuadricKernel},
1923 {"ProductKernel", SHOGUN_BASIC_CLASS __new_CProductKernel},
1924 {"TensorProductPairKernel", SHOGUN_BASIC_CLASS __new_CTensorProductPairKernel},
1925 {"RidgeKernelNormalizer", SHOGUN_BASIC_CLASS __new_CRidgeKernelNormalizer},
1926 {"DiceKernelNormalizer", SHOGUN_BASIC_CLASS __new_CDiceKernelNormalizer},
1927 {"IdentityKernelNormalizer", SHOGUN_BASIC_CLASS __new_CIdentityKernelNormalizer},
1928 {"TanimotoKernelNormalizer", SHOGUN_BASIC_CLASS __new_CTanimotoKernelNormalizer},
1929 {"ZeroMeanCenterKernelNormalizer", SHOGUN_BASIC_CLASS __new_CZeroMeanCenterKernelNormalizer},
1930 {"AvgDiagKernelNormalizer", SHOGUN_BASIC_CLASS __new_CAvgDiagKernelNormalizer},
1931 {"SqrtDiagKernelNormalizer", SHOGUN_BASIC_CLASS __new_CSqrtDiagKernelNormalizer},
1932 {"ScatterKernelNormalizer", SHOGUN_BASIC_CLASS __new_CScatterKernelNormalizer},
1933 {"FirstElementKernelNormalizer", SHOGUN_BASIC_CLASS __new_CFirstElementKernelNormalizer},
1934 {"VarianceKernelNormalizer", SHOGUN_BASIC_CLASS __new_CVarianceKernelNormalizer},
1935 {"PowerKernel", SHOGUN_BASIC_CLASS __new_CPowerKernel},
1936 {"ANOVAKernel", SHOGUN_BASIC_CLASS __new_CANOVAKernel},
1937 {"LBPPyrDotFeatures", SHOGUN_BASIC_CLASS __new_CLBPPyrDotFeatures},
1938 {"FactorGraphFeatures", SHOGUN_BASIC_CLASS __new_CFactorGraphFeatures},
1939 {"PolyFeatures", SHOGUN_BASIC_CLASS __new_CPolyFeatures},
1940 {"HashedWDFeaturesTransposed", SHOGUN_BASIC_CLASS __new_CHashedWDFeaturesTransposed},
1941 {"DummyFeatures", SHOGUN_BASIC_CLASS __new_CDummyFeatures},
1942 {"SNPFeatures", SHOGUN_BASIC_CLASS __new_CSNPFeatures},
1943 {"CombinedDotFeatures", SHOGUN_BASIC_CLASS __new_CCombinedDotFeatures},
1944 {"RealFileFeatures", SHOGUN_BASIC_CLASS __new_CRealFileFeatures},
1945 {"ImplicitWeightedSpecFeatures", SHOGUN_BASIC_CLASS __new_CImplicitWeightedSpecFeatures},
1946 {"BinnedDotFeatures", SHOGUN_BASIC_CLASS __new_CBinnedDotFeatures},
1947 {"Alphabet", SHOGUN_BASIC_CLASS __new_CAlphabet},
1948 {"GaussianBlobsDataGenerator", SHOGUN_BASIC_CLASS __new_CGaussianBlobsDataGenerator},
1949 {"MeanShiftDataGenerator", SHOGUN_BASIC_CLASS __new_CMeanShiftDataGenerator},
1950 {"StreamingVwFeatures", SHOGUN_BASIC_CLASS __new_CStreamingVwFeatures},
1951 {"StreamingHashedDocDotFeatures", SHOGUN_BASIC_CLASS __new_CStreamingHashedDocDotFeatures},
1952 {"HashedWDFeatures", SHOGUN_BASIC_CLASS __new_CHashedWDFeatures},
1953 {"ExplicitSpecFeatures", SHOGUN_BASIC_CLASS __new_CExplicitSpecFeatures},
1954 {"SparsePolyFeatures", SHOGUN_BASIC_CLASS __new_CSparsePolyFeatures},
1955 {"DataGenerator", SHOGUN_BASIC_CLASS __new_CDataGenerator},
1956 {"FKFeatures", SHOGUN_BASIC_CLASS __new_CFKFeatures},
1957 {"Subset", SHOGUN_BASIC_CLASS __new_CSubset},
1958 {"TOPFeatures", SHOGUN_BASIC_CLASS __new_CTOPFeatures},
1959 {"RandomFourierDotFeatures", SHOGUN_BASIC_CLASS __new_CRandomFourierDotFeatures},
1960 {"WDFeatures", SHOGUN_BASIC_CLASS __new_CWDFeatures},
1961 {"CombinedFeatures", SHOGUN_BASIC_CLASS __new_CCombinedFeatures},
1962 {"SubsetStack", SHOGUN_BASIC_CLASS __new_CSubsetStack},
1963 {"HashedDocDotFeatures", SHOGUN_BASIC_CLASS __new_CHashedDocDotFeatures},
1964 {"LatentFeatures", SHOGUN_BASIC_CLASS __new_CLatentFeatures},
1965 {"Hierarchical", SHOGUN_BASIC_CLASS __new_CHierarchical},
1966 {"KMeans", SHOGUN_BASIC_CLASS __new_CKMeans},
1968 {"HessianLocallyLinearEmbedding", SHOGUN_BASIC_CLASS __new_CHessianLocallyLinearEmbedding},
1969 {"LocalityPreservingProjections", SHOGUN_BASIC_CLASS __new_CLocalityPreservingProjections},
1970 {"LinearLocalTangentSpaceAlignment", SHOGUN_BASIC_CLASS __new_CLinearLocalTangentSpaceAlignment},
1971 {"LaplacianEigenmaps", SHOGUN_BASIC_CLASS __new_CLaplacianEigenmaps},
1972 {"StochasticProximityEmbedding", SHOGUN_BASIC_CLASS __new_CStochasticProximityEmbedding},
1973 {"LocalTangentSpaceAlignment", SHOGUN_BASIC_CLASS __new_CLocalTangentSpaceAlignment},
1974 {"MultidimensionalScaling", SHOGUN_BASIC_CLASS __new_CMultidimensionalScaling},
1975 {"DiffusionMaps", SHOGUN_BASIC_CLASS __new_CDiffusionMaps},
1976 {"TDistributedStochasticNeighborEmbedding", SHOGUN_BASIC_CLASS __new_CTDistributedStochasticNeighborEmbedding},
1977 {"FactorAnalysis", SHOGUN_BASIC_CLASS __new_CFactorAnalysis},
1978 {"Isomap", SHOGUN_BASIC_CLASS __new_CIsomap},
1979 {"HashedDocConverter", SHOGUN_BASIC_CLASS __new_CHashedDocConverter},
1980 {"LocallyLinearEmbedding", SHOGUN_BASIC_CLASS __new_CLocallyLinearEmbedding},
1981 {"NeighborhoodPreservingEmbedding", SHOGUN_BASIC_CLASS __new_CNeighborhoodPreservingEmbedding},
1982 {"KernelLocallyLinearEmbedding", SHOGUN_BASIC_CLASS __new_CKernelLocallyLinearEmbedding},
1983 {"FFSep", SHOGUN_BASIC_CLASS __new_CFFSep},
1984 {"FastICA", SHOGUN_BASIC_CLASS __new_CFastICA},
1985 {"JediSep", SHOGUN_BASIC_CLASS __new_CJediSep},
1987 {"UWedgeSep", SHOGUN_BASIC_CLASS __new_CUWedgeSep},
1989 {"ManifoldSculpting", SHOGUN_BASIC_CLASS __new_CManifoldSculpting},
1990 {"SparseEuclideanDistance", SHOGUN_BASIC_CLASS __new_CSparseEuclideanDistance},
1991 {"HammingWordDistance", SHOGUN_BASIC_CLASS __new_CHammingWordDistance},
1992 {"ManhattanWordDistance", SHOGUN_BASIC_CLASS __new_CManhattanWordDistance},
1993 {"CanberraMetric", SHOGUN_BASIC_CLASS __new_CCanberraMetric},
1994 {"ChebyshewMetric", SHOGUN_BASIC_CLASS __new_CChebyshewMetric},
1995 {"BrayCurtisDistance", SHOGUN_BASIC_CLASS __new_CBrayCurtisDistance},
1996 {"EuclideanDistance", SHOGUN_BASIC_CLASS __new_CEuclideanDistance},
1997 {"CanberraWordDistance", SHOGUN_BASIC_CLASS __new_CCanberraWordDistance},
1998 {"JensenMetric", SHOGUN_BASIC_CLASS __new_CJensenMetric},
1999 {"MahalanobisDistance", SHOGUN_BASIC_CLASS __new_CMahalanobisDistance},
2000 {"CosineDistance", SHOGUN_BASIC_CLASS __new_CCosineDistance},
2001 {"CustomDistance", SHOGUN_BASIC_CLASS __new_CCustomDistance},
2002 {"MinkowskiMetric", SHOGUN_BASIC_CLASS __new_CMinkowskiMetric},
2003 {"ChiSquareDistance", SHOGUN_BASIC_CLASS __new_CChiSquareDistance},
2004 {"ManhattanMetric", SHOGUN_BASIC_CLASS __new_CManhattanMetric},
2005 {"GeodesicMetric", SHOGUN_BASIC_CLASS __new_CGeodesicMetric},
2006 {"CustomMahalanobisDistance", SHOGUN_BASIC_CLASS __new_CCustomMahalanobisDistance},
2007 {"KernelDistance", SHOGUN_BASIC_CLASS __new_CKernelDistance},
2008 {"AttenuatedEuclideanDistance", SHOGUN_BASIC_CLASS __new_CAttenuatedEuclideanDistance},
2009 {"TanimotoDistance", SHOGUN_BASIC_CLASS __new_CTanimotoDistance},
2010 {"ClusteringAccuracy", SHOGUN_BASIC_CLASS __new_CClusteringAccuracy},
2011 {"CrossValidationMulticlassStorage", SHOGUN_BASIC_CLASS __new_CCrossValidationMulticlassStorage},
2012 {"CrossValidationSplitting", SHOGUN_BASIC_CLASS __new_CCrossValidationSplitting},
2013 {"ClusteringMutualInformation", SHOGUN_BASIC_CLASS __new_CClusteringMutualInformation},
2014 {"MulticlassOVREvaluation", SHOGUN_BASIC_CLASS __new_CMulticlassOVREvaluation},
2015 {"ROCEvaluation", SHOGUN_BASIC_CLASS __new_CROCEvaluation},
2016 {"GradientEvaluation", SHOGUN_BASIC_CLASS __new_CGradientEvaluation},
2017 {"CrossValidationResult", SHOGUN_BASIC_CLASS __new_CCrossValidationResult},
2018 {"CrossValidation", SHOGUN_BASIC_CLASS __new_CCrossValidation},
2019 {"ContingencyTableEvaluation", SHOGUN_BASIC_CLASS __new_CContingencyTableEvaluation},
2020 {"AccuracyMeasure", SHOGUN_BASIC_CLASS __new_CAccuracyMeasure},
2021 {"ErrorRateMeasure", SHOGUN_BASIC_CLASS __new_CErrorRateMeasure},
2022 {"BALMeasure", SHOGUN_BASIC_CLASS __new_CBALMeasure},
2023 {"WRACCMeasure", SHOGUN_BASIC_CLASS __new_CWRACCMeasure},
2024 {"F1Measure", SHOGUN_BASIC_CLASS __new_CF1Measure},
2025 {"CrossCorrelationMeasure", SHOGUN_BASIC_CLASS __new_CCrossCorrelationMeasure},
2026 {"RecallMeasure", SHOGUN_BASIC_CLASS __new_CRecallMeasure},
2027 {"PrecisionMeasure", SHOGUN_BASIC_CLASS __new_CPrecisionMeasure},
2028 {"SpecificityMeasure", SHOGUN_BASIC_CLASS __new_CSpecificityMeasure},
2029 {"CrossValidationPrintOutput", SHOGUN_BASIC_CLASS __new_CCrossValidationPrintOutput},
2030 {"CrossValidationMKLStorage", SHOGUN_BASIC_CLASS __new_CCrossValidationMKLStorage},
2031 {"GradientResult", SHOGUN_BASIC_CLASS __new_CGradientResult},
2032 {"StructuredAccuracy", SHOGUN_BASIC_CLASS __new_CStructuredAccuracy},
2033 {"MeanSquaredError", SHOGUN_BASIC_CLASS __new_CMeanSquaredError},
2034 {"LOOCrossValidationSplitting", SHOGUN_BASIC_CLASS __new_CLOOCrossValidationSplitting},
2035 {"PRCEvaluation", SHOGUN_BASIC_CLASS __new_CPRCEvaluation},
2036 {"MulticlassAccuracy", SHOGUN_BASIC_CLASS __new_CMulticlassAccuracy},
2037 {"MeanSquaredLogError", SHOGUN_BASIC_CLASS __new_CMeanSquaredLogError},
2038 {"GradientCriterion", SHOGUN_BASIC_CLASS __new_CGradientCriterion},
2039 {"MeanAbsoluteError", SHOGUN_BASIC_CLASS __new_CMeanAbsoluteError},
2040 {"StratifiedCrossValidationSplitting", SHOGUN_BASIC_CLASS __new_CStratifiedCrossValidationSplitting},
2041 {"SortUlongString", SHOGUN_BASIC_CLASS __new_CSortUlongString},
2042 {"LogPlusOne", SHOGUN_BASIC_CLASS __new_CLogPlusOne},
2044 {"SortWordString", SHOGUN_BASIC_CLASS __new_CSortWordString},
2045 {"KernelPCA", SHOGUN_BASIC_CLASS __new_CKernelPCA},
2046 {"RandomFourierGaussPreproc", SHOGUN_BASIC_CLASS __new_CRandomFourierGaussPreproc},
2047 {"PNorm", SHOGUN_BASIC_CLASS __new_CPNorm},
2048 {"NormOne", SHOGUN_BASIC_CLASS __new_CNormOne},
2049 {"HomogeneousKernelMap", SHOGUN_BASIC_CLASS __new_CHomogeneousKernelMap},
2050 {"PruneVarSubMean", SHOGUN_BASIC_CLASS __new_CPruneVarSubMean},
2051 {"RescaleFeatures", SHOGUN_BASIC_CLASS __new_CRescaleFeatures},
2052 {"DimensionReductionPreprocessor", SHOGUN_BASIC_CLASS __new_CDimensionReductionPreprocessor},
2053 {"SumOne", SHOGUN_BASIC_CLASS __new_CSumOne},
2054 {"JobResult", SHOGUN_BASIC_CLASS __new_CJobResult},
2055 {"SerialComputationEngine", SHOGUN_BASIC_CLASS __new_CSerialComputationEngine},
2056 {"DynamicObjectArray", SHOGUN_BASIC_CLASS __new_CDynamicObjectArray},
2057 {"BitString", SHOGUN_BASIC_CLASS __new_CBitString},
2058 {"CircularBuffer", SHOGUN_BASIC_CLASS __new_CCircularBuffer},
2059 {"IndexBlockTree", SHOGUN_BASIC_CLASS __new_CIndexBlockTree},
2060 {"IndexBlock", SHOGUN_BASIC_CLASS __new_CIndexBlock},
2062 {"DelimiterTokenizer", SHOGUN_BASIC_CLASS __new_CDelimiterTokenizer},
2064 {"StructuredData", SHOGUN_BASIC_CLASS __new_CStructuredData},
2065 {"Compressor", SHOGUN_BASIC_CLASS __new_CCompressor},
2066 {"Signal", SHOGUN_BASIC_CLASS __new_CSignal},
2067 {"NGramTokenizer", SHOGUN_BASIC_CLASS __new_CNGramTokenizer},
2068 {"IndexBlockGroup", SHOGUN_BASIC_CLASS __new_CIndexBlockGroup},
2070 {"ListElement", SHOGUN_BASIC_CLASS __new_CListElement},
2072 {"TreeMachine", SHOGUN_TEMPLATE_CLASS __new_CTreeMachine},
2073 {"BinaryStream", SHOGUN_TEMPLATE_CLASS __new_CBinaryStream},
2074 {"StreamingFileFromDenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingFileFromDenseFeatures},
2075 {"StreamingFileFromSparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingFileFromSparseFeatures},
2076 {"ParseBuffer", SHOGUN_TEMPLATE_CLASS __new_CParseBuffer},
2077 {"StreamingFileFromStringFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingFileFromStringFeatures},
2079 {"MemoryMappedFile", SHOGUN_TEMPLATE_CLASS __new_CMemoryMappedFile},
2080 {"StringFileFeatures", SHOGUN_TEMPLATE_CLASS __new_CStringFileFeatures},
2081 {"HashedDenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CHashedDenseFeatures},
2082 {"StringFeatures", SHOGUN_TEMPLATE_CLASS __new_CStringFeatures},
2083 {"DenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CDenseFeatures},
2084 {"DenseSubsetFeatures", SHOGUN_TEMPLATE_CLASS __new_CDenseSubsetFeatures},
2085 {"StreamingHashedSparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingHashedSparseFeatures},
2086 {"StreamingStringFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingStringFeatures},
2087 {"StreamingDenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingDenseFeatures},
2088 {"StreamingSparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingSparseFeatures},
2089 {"StreamingHashedDenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingHashedDenseFeatures},
2090 {"MatrixFeatures", SHOGUN_TEMPLATE_CLASS __new_CMatrixFeatures},
2091 {"SparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CSparseFeatures},
2092 {"HashedSparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CHashedSparseFeatures},
2093 {"DecompressString", SHOGUN_TEMPLATE_CLASS __new_CDecompressString},
2095 {"DynamicArray", SHOGUN_TEMPLATE_CLASS __new_CDynamicArray},
2097 {"DenseMatrixOperator", SHOGUN_TEMPLATE_CLASS __new_CDenseMatrixOperator},
2098 {"SparseMatrixOperator", SHOGUN_TEMPLATE_CLASS __new_CSparseMatrixOperator},
2099 {"VectorResult", SHOGUN_TEMPLATE_CLASS __new_CVectorResult},
2100 {"ScalarResult", SHOGUN_TEMPLATE_CLASS __new_CScalarResult},
2101 {"StoreScalarAggregator", SHOGUN_TEMPLATE_CLASS __new_CStoreScalarAggregator}, {NULL, NULL}
2102 };
2103 
2104 CSGObject* shogun::new_sgserializable(const char* sgserializable_name,
2105  EPrimitiveType generic)
2106 {
2107  for (class_list_entry_t* i=class_list; i->m_class_name != NULL;
2108  i++)
2109  {
2110  if (strncmp(i->m_class_name, sgserializable_name, STRING_LEN) == 0)
2111  return i->m_new_sgserializable(generic);
2112  }
2113 
2114  return NULL;
2115 }

SHOGUN Machine Learning Toolbox - Documentation