SHOGUN  v3.0.0
 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 
18 #include "ui/GUIKernel.h"
19 #include "ui/GUIMath.h"
20 #include "ui/GUITime.h"
21 #include "ui/GUIHMM.h"
22 #include "ui/GUIDistance.h"
23 #include "ui/GUIFeatures.h"
24 #include "ui/GUILabels.h"
25 #include "ui/GUIPreprocessor.h"
26 #include "ui/GUIPluginEstimate.h"
27 #include "ui/GUIConverter.h"
28 #include "ui/GUIClassifier.h"
29 #include "ui/GUIStructure.h"
31 #include "ensemble/MajorityVote.h"
32 #include "ensemble/MeanRule.h"
34 #include "machine/BaggingMachine.h"
42 #include "machine/LinearMachine.h"
44 #include "machine/Machine.h"
45 #include "machine/KernelMachine.h"
48 #include "machine/gp/ZeroMean.h"
61 #include "statistics/HSIC.h"
66 #include "kernel/DistanceKernel.h"
67 #include "kernel/WaveletKernel.h"
69 #include "kernel/BesselKernel.h"
70 #include "kernel/ConstKernel.h"
71 #include "kernel/DiagKernel.h"
72 #include "kernel/SigmoidKernel.h"
74 #include "kernel/SplineKernel.h"
75 #include "kernel/CombinedKernel.h"
76 #include "kernel/ProductKernel.h"
77 #include "kernel/PolyKernel.h"
78 #include "kernel/GaussianKernel.h"
79 #include "kernel/LinearARDKernel.h"
80 #include "kernel/Chi2Kernel.h"
82 #include "kernel/PyramidChi2.h"
83 #include "kernel/LogKernel.h"
84 #include "kernel/PowerKernel.h"
85 #include "kernel/WaveKernel.h"
86 #include "kernel/CircularKernel.h"
87 #include "kernel/AUCKernel.h"
88 #include "kernel/ANOVAKernel.h"
91 #include "kernel/LinearKernel.h"
92 #include "kernel/SphericalKernel.h"
93 #include "kernel/CauchyKernel.h"
99 #include "kernel/CustomKernel.h"
100 #include "kernel/TStudentKernel.h"
134 #include "io/SimpleFile.h"
136 #include "io/MemoryMappedFile.h"
137 #include "io/Parser.h"
138 #include "io/BinaryFile.h"
139 #include "io/BinaryStream.h"
140 #include "io/LineReader.h"
141 #include "io/LibSVMFile.h"
142 #include "io/IOBuffer.h"
143 #include "io/CSVFile.h"
153 #include "latent/LatentSVM.h"
154 #include "latent/LatentSOSVM.h"
155 #include "distributions/HMM.h"
156 #include "distributions/GHMM.h"
157 #include "distributions/Histogram.h"
158 #include "distributions/Gaussian.h"
160 #include "distributions/LinearHMM.h"
168 #include "regression/svr/SVRLight.h"
170 #include "regression/svr/LibSVR.h"
171 #include "preprocessor/LogPlusOne.h"
172 #include "preprocessor/PNorm.h"
176 #include "preprocessor/KernelPCA.h"
177 #include "preprocessor/NormOne.h"
181 #include "preprocessor/SumOne.h"
182 #include "preprocessor/PCA.h"
187 #include "distance/JensenMetric.h"
190 #include "distance/CanberraMetric.h"
201 #include "distance/CosineDistance.h"
202 #include "distance/GeodesicMetric.h"
203 #include "distance/CustomDistance.h"
204 #include "distance/KernelDistance.h"
205 #include "metric/LMNN.h"
206 #include "lib/Set.h"
207 #include "lib/IndexBlockTree.h"
208 #include "lib/NGramTokenizer.h"
209 #include "lib/IndexBlock.h"
210 #include "lib/Data.h"
211 #include "lib/Signal.h"
212 #include "lib/IndexBlockGroup.h"
213 #include "lib/Hash.h"
214 #include "lib/BitString.h"
215 #include "lib/Compressor.h"
216 #include "lib/DynamicArray.h"
217 #include "lib/Time.h"
218 #include "lib/DynamicObjectArray.h"
219 #include "lib/CircularBuffer.h"
220 #include "lib/DelimiterTokenizer.h"
221 #include "lib/Cache.h"
222 #include "lib/StructuredData.h"
223 #include "lib/List.h"
255 #include "transfer/multitask/Task.h"
268 #include "classifier/LDA.h"
269 #include "classifier/Perceptron.h"
279 #include "classifier/vw/VwParser.h"
286 #include "classifier/svm/SGDQN.h"
288 #include "classifier/svm/LibSVM.h"
291 #include "classifier/svm/GPBTSVM.h"
293 #include "classifier/svm/SVMOcas.h"
294 #include "classifier/svm/SVMLin.h"
296 #include "classifier/svm/GNPPLib.h"
298 #include "classifier/svm/MPDSVM.h"
299 #include "classifier/svm/GNPPSVM.h"
300 #include "classifier/svm/SVMLight.h"
303 #include "classifier/svm/SVM.h"
304 #include "classifier/svm/SVMSGD.h"
310 #include "converter/DiffusionMaps.h"
314 #include "converter/Isomap.h"
321 #include "converter/ica/Jade.h"
322 #include "converter/ica/UWedgeSep.h"
323 #include "converter/ica/FastICA.h"
324 #include "converter/ica/FFSep.h"
325 #include "converter/ica/JediSep.h"
326 #include "converter/ica/SOBI.h"
327 #include "labels/LabelsFactory.h"
329 #include "labels/LatentLabels.h"
330 #include "labels/BinaryLabels.h"
331 #include "labels/StructuredLabels.h"
333 #include "labels/RegressionLabels.h"
334 #include "labels/MulticlassLabels.h"
340 #include "loss/SmoothHingeLoss.h"
341 #include "loss/LogLoss.h"
342 #include "loss/SquaredHingeLoss.h"
343 #include "loss/LogLossMargin.h"
344 #include "loss/SquaredLoss.h"
345 #include "loss/HingeLoss.h"
349 #include "features/FKFeatures.h"
351 #include "features/SNPFeatures.h"
353 #include "features/Alphabet.h"
357 #include "features/LatentFeatures.h"
360 #include "features/MatrixFeatures.h"
361 #include "features/Subset.h"
364 #include "features/SubsetStack.h"
365 #include "features/DataGenerator.h"
368 #include "features/DummyFeatures.h"
369 #include "features/DenseFeatures.h"
371 #include "features/StringFeatures.h"
372 #include "features/WDFeatures.h"
373 #include "features/SparseFeatures.h"
374 #include "features/PolyFeatures.h"
375 #include "features/TOPFeatures.h"
387 #include "clustering/GMM.h"
388 #include "clustering/KMeans.h"
389 #include "clustering/Hierarchical.h"
391 #include "mathematics/Random.h"
392 #include "mathematics/Integration.h"
394 #include "mathematics/Statistics.h"
395 #include "mathematics/Math.h"
396 #include "mathematics/ajd/QDiag.h"
399 #include "mathematics/ajd/JADiag.h"
400 #include "mathematics/ajd/FFDiag.h"
401 #include "mathematics/ajd/UWedge.h"
418 #include "multiclass/ShareBoost.h"
419 #include "multiclass/ScatterSVM.h"
421 #include "multiclass/GMNPSVM.h"
423 #include "multiclass/MCLDA.h"
424 #include "multiclass/QDA.h"
428 #include "multiclass/LaRank.h"
431 #include "multiclass/GMNPLib.h"
434 #include "multiclass/KNN.h"
451 #include "structure/MAPInference.h"
452 #include "structure/TwoStateModel.h"
453 #include "structure/DynProg.h"
455 #include "structure/DisjointSet.h"
456 #include "structure/PlifArray.h"
457 #include "structure/FactorGraph.h"
458 #include "structure/CCSOSVM.h"
460 #include "structure/FactorType.h"
463 #include "structure/SegmentLoss.h"
464 #include "structure/Plif.h"
465 #include "structure/HMSVMModel.h"
466 #include "structure/PlifMatrix.h"
468 #include "structure/IntronList.h"
469 #include "structure/Factor.h"
470 using namespace shogun;
471 
472 #define SHOGUN_TEMPLATE_CLASS
473 #define SHOGUN_BASIC_CLASS
474 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIKernel(): NULL; }
475 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIMath(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIMath(): NULL; }
476 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUITime(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUITime(): NULL; }
477 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIHMM(): NULL; }
478 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIDistance(): NULL; }
479 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIFeatures(): NULL; }
480 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUILabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUILabels(): NULL; }
481 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIPreprocessor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIPreprocessor(): NULL; }
482 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIPluginEstimate(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIPluginEstimate(): NULL; }
483 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIConverter(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIConverter(): NULL; }
484 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIClassifier(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIClassifier(): NULL; }
485 static SHOGUN_BASIC_CLASS CSGObject* __new_CGUIStructure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGUIStructure(): NULL; }
486 static SHOGUN_BASIC_CLASS CSGObject* __new_CWeightedMajorityVote(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWeightedMajorityVote(): NULL; }
487 static SHOGUN_BASIC_CLASS CSGObject* __new_CMajorityVote(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMajorityVote(): NULL; }
488 static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanRule(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanRule(): NULL; }
489 static SHOGUN_BASIC_CLASS CSGObject* __new_CTron(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTron(): NULL; }
490 static SHOGUN_BASIC_CLASS CSGObject* __new_CDistanceMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDistanceMachine(): NULL; }
491 static SHOGUN_BASIC_CLASS CSGObject* __new_CBaggingMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBaggingMachine(): NULL; }
496 static SHOGUN_BASIC_CLASS CSGObject* __new_COnlineLinearMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COnlineLinearMachine(): NULL; }
499 static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearMachine(): NULL; }
500 static SHOGUN_BASIC_CLASS CSGObject* __new_CProbitLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CProbitLikelihood(): NULL; }
501 static SHOGUN_BASIC_CLASS CSGObject* __new_CZeroMean(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CZeroMean(): NULL; }
502 static SHOGUN_BASIC_CLASS CSGObject* __new_CExactInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CExactInferenceMethod(): NULL; }
503 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianLikelihood(): NULL; }
504 static SHOGUN_BASIC_CLASS CSGObject* __new_CStudentsTLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStudentsTLikelihood(): NULL; }
505 static SHOGUN_BASIC_CLASS CSGObject* __new_CLogitLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogitLikelihood(): NULL; }
506 static SHOGUN_BASIC_CLASS CSGObject* __new_CEPInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CEPInferenceMethod(): NULL; }
507 static SHOGUN_BASIC_CLASS CSGObject* __new_CFITCInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFITCInferenceMethod(): NULL; }
510 static SHOGUN_BASIC_CLASS CSGObject* __new_CMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMachine(): NULL; }
511 static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelMachine(): NULL; }
514 static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearTimeMMD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearTimeMMD(): NULL; }
516 static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelMeanMatching(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelMeanMatching(): NULL; }
518 static SHOGUN_BASIC_CLASS CSGObject* __new_CHSIC(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHSIC(): NULL; }
520 static SHOGUN_BASIC_CLASS CSGObject* __new_CQuadraticTimeMMD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQuadraticTimeMMD(): NULL; }
522 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianARDKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianARDKernel(): NULL; }
523 static SHOGUN_BASIC_CLASS CSGObject* __new_CDistanceKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDistanceKernel(): NULL; }
524 static SHOGUN_BASIC_CLASS CSGObject* __new_CWaveletKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWaveletKernel(): NULL; }
526 static SHOGUN_BASIC_CLASS CSGObject* __new_CBesselKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBesselKernel(): NULL; }
528 static SHOGUN_BASIC_CLASS CSGObject* __new_CDiceKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDiceKernelNormalizer(): NULL; }
537 static SHOGUN_BASIC_CLASS CSGObject* __new_CConstKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CConstKernel(): NULL; }
538 static SHOGUN_BASIC_CLASS CSGObject* __new_CDiagKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDiagKernel(): NULL; }
539 static SHOGUN_BASIC_CLASS CSGObject* __new_CSigmoidKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSigmoidKernel(): NULL; }
541 static SHOGUN_BASIC_CLASS CSGObject* __new_CSplineKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSplineKernel(): NULL; }
542 static SHOGUN_BASIC_CLASS CSGObject* __new_CCombinedKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCombinedKernel(): NULL; }
543 static SHOGUN_BASIC_CLASS CSGObject* __new_CProductKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CProductKernel(): NULL; }
544 static SHOGUN_BASIC_CLASS CSGObject* __new_CPolyKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPolyKernel(): NULL; }
545 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianKernel(): NULL; }
546 static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearARDKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearARDKernel(): NULL; }
547 static SHOGUN_BASIC_CLASS CSGObject* __new_CChi2Kernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CChi2Kernel(): NULL; }
551 static SHOGUN_BASIC_CLASS CSGObject* __new_CSNPStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSNPStringKernel(): NULL; }
554 static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearStringKernel(): NULL; }
555 static SHOGUN_BASIC_CLASS CSGObject* __new_CCommWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCommWordStringKernel(): NULL; }
565 static SHOGUN_BASIC_CLASS CSGObject* __new_CSpectrumRBFKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSpectrumRBFKernel(): NULL; }
568 static SHOGUN_BASIC_CLASS CSGObject* __new_COligoStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COligoStringKernel(): NULL; }
572 static SHOGUN_BASIC_CLASS CSGObject* __new_CPyramidChi2(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPyramidChi2(): NULL; }
573 static SHOGUN_BASIC_CLASS CSGObject* __new_CLogKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogKernel(): NULL; }
574 static SHOGUN_BASIC_CLASS CSGObject* __new_CPowerKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPowerKernel(): NULL; }
575 static SHOGUN_BASIC_CLASS CSGObject* __new_CWaveKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWaveKernel(): NULL; }
576 static SHOGUN_BASIC_CLASS CSGObject* __new_CCircularKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCircularKernel(): NULL; }
577 static SHOGUN_BASIC_CLASS CSGObject* __new_CAUCKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAUCKernel(): NULL; }
578 static SHOGUN_BASIC_CLASS CSGObject* __new_CANOVAKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CANOVAKernel(): NULL; }
579 static SHOGUN_BASIC_CLASS CSGObject* __new_CMultiquadricKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultiquadricKernel(): NULL; }
581 static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearKernel(): NULL; }
582 static SHOGUN_BASIC_CLASS CSGObject* __new_CSphericalKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSphericalKernel(): NULL; }
583 static SHOGUN_BASIC_CLASS CSGObject* __new_CCauchyKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCauchyKernel(): NULL; }
585 static SHOGUN_BASIC_CLASS CSGObject* __new_CExponentialKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CExponentialKernel(): NULL; }
586 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianShiftKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianShiftKernel(): NULL; }
587 static SHOGUN_BASIC_CLASS CSGObject* __new_CJensenShannonKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJensenShannonKernel(): NULL; }
589 static SHOGUN_BASIC_CLASS CSGObject* __new_CCustomKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCustomKernel(): NULL; }
590 static SHOGUN_BASIC_CLASS CSGObject* __new_CTStudentKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTStudentKernel(): NULL; }
591 static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingVwCacheFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingVwCacheFile(): NULL; }
592 static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingFile(): NULL; }
593 static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingVwFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingVwFile(): NULL; }
594 static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingAsciiFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingAsciiFile(): NULL; }
597 static SHOGUN_BASIC_CLASS CSGObject* __new_CParser(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CParser(): NULL; }
598 static SHOGUN_BASIC_CLASS CSGObject* __new_CBinaryFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBinaryFile(): NULL; }
599 static SHOGUN_BASIC_CLASS CSGObject* __new_CLineReader(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLineReader(): NULL; }
600 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibSVMFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVMFile(): NULL; }
601 static SHOGUN_BASIC_CLASS CSGObject* __new_CIOBuffer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIOBuffer(): NULL; }
602 static SHOGUN_BASIC_CLASS CSGObject* __new_CCSVFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCSVFile(): NULL; }
603 static SHOGUN_BASIC_CLASS CSGObject* __new_CLatentSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentSVM(): NULL; }
604 static SHOGUN_BASIC_CLASS CSGObject* __new_CLatentSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentSOSVM(): NULL; }
605 static SHOGUN_BASIC_CLASS CSGObject* __new_CHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHMM(): NULL; }
606 static SHOGUN_BASIC_CLASS CSGObject* __new_CGHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGHMM(): NULL; }
607 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianDistribution(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianDistribution(): NULL; }
608 static SHOGUN_BASIC_CLASS CSGObject* __new_CHistogram(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHistogram(): NULL; }
609 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussian(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussian(): NULL; }
610 static SHOGUN_BASIC_CLASS CSGObject* __new_CPositionalPWM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPositionalPWM(): NULL; }
611 static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearHMM(): NULL; }
612 static SHOGUN_BASIC_CLASS CSGObject* __new_CMKLRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLRegression(): NULL; }
613 static SHOGUN_BASIC_CLASS CSGObject* __new_CSVRLight(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVRLight(): NULL; }
614 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibLinearRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibLinearRegression(): NULL; }
615 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibSVR(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVR(): NULL; }
616 static SHOGUN_BASIC_CLASS CSGObject* __new_CLeastAngleRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLeastAngleRegression(): NULL; }
621 static SHOGUN_BASIC_CLASS CSGObject* __new_CLogPlusOne(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogPlusOne(): NULL; }
622 static SHOGUN_BASIC_CLASS CSGObject* __new_CPNorm(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPNorm(): NULL; }
623 static SHOGUN_BASIC_CLASS CSGObject* __new_CSortUlongString(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSortUlongString(): NULL; }
624 static SHOGUN_BASIC_CLASS CSGObject* __new_CRescaleFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRescaleFeatures(): NULL; }
625 static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelPCA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelPCA(): NULL; }
626 static SHOGUN_BASIC_CLASS CSGObject* __new_CNormOne(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNormOne(): NULL; }
628 static SHOGUN_BASIC_CLASS CSGObject* __new_CHomogeneousKernelMap(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHomogeneousKernelMap(): NULL; }
629 static SHOGUN_BASIC_CLASS CSGObject* __new_CSortWordString(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSortWordString(): NULL; }
630 static SHOGUN_BASIC_CLASS CSGObject* __new_CSumOne(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSumOne(): NULL; }
631 static SHOGUN_BASIC_CLASS CSGObject* __new_CPCA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPCA(): NULL; }
632 static SHOGUN_BASIC_CLASS CSGObject* __new_CPruneVarSubMean(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPruneVarSubMean(): NULL; }
634 static SHOGUN_BASIC_CLASS CSGObject* __new_CManhattanMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CManhattanMetric(): NULL; }
636 static SHOGUN_BASIC_CLASS CSGObject* __new_CJensenMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJensenMetric(): NULL; }
637 static SHOGUN_BASIC_CLASS CSGObject* __new_CMahalanobisDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMahalanobisDistance(): NULL; }
638 static SHOGUN_BASIC_CLASS CSGObject* __new_CTanimotoDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTanimotoDistance(): NULL; }
639 static SHOGUN_BASIC_CLASS CSGObject* __new_CCanberraMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCanberraMetric(): NULL; }
640 static SHOGUN_BASIC_CLASS CSGObject* __new_CCanberraWordDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCanberraWordDistance(): NULL; }
641 static SHOGUN_BASIC_CLASS CSGObject* __new_CChebyshewMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CChebyshewMetric(): NULL; }
642 static SHOGUN_BASIC_CLASS CSGObject* __new_CBrayCurtisDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBrayCurtisDistance(): NULL; }
643 static SHOGUN_BASIC_CLASS CSGObject* __new_CMinkowskiMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMinkowskiMetric(): NULL; }
646 static SHOGUN_BASIC_CLASS CSGObject* __new_CHammingWordDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHammingWordDistance(): NULL; }
648 static SHOGUN_BASIC_CLASS CSGObject* __new_CEuclideanDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CEuclideanDistance(): NULL; }
649 static SHOGUN_BASIC_CLASS CSGObject* __new_CChiSquareDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CChiSquareDistance(): NULL; }
650 static SHOGUN_BASIC_CLASS CSGObject* __new_CCosineDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCosineDistance(): NULL; }
651 static SHOGUN_BASIC_CLASS CSGObject* __new_CGeodesicMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGeodesicMetric(): NULL; }
652 static SHOGUN_BASIC_CLASS CSGObject* __new_CCustomDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCustomDistance(): NULL; }
653 static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelDistance(): NULL; }
654 static SHOGUN_BASIC_CLASS CSGObject* __new_CLMNN(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLMNN(): NULL; }
655 static SHOGUN_BASIC_CLASS CSGObject* __new_CLMNNStatistics(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLMNNStatistics(): NULL; }
656 static SHOGUN_BASIC_CLASS CSGObject* __new_CIndexBlockTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexBlockTree(): NULL; }
657 static SHOGUN_BASIC_CLASS CSGObject* __new_CNGramTokenizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNGramTokenizer(): NULL; }
658 static SHOGUN_BASIC_CLASS CSGObject* __new_CIndexBlock(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexBlock(): NULL; }
659 static SHOGUN_BASIC_CLASS CSGObject* __new_CData(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CData(): NULL; }
660 static SHOGUN_BASIC_CLASS CSGObject* __new_CSignal(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSignal(): NULL; }
661 static SHOGUN_BASIC_CLASS CSGObject* __new_CIndexBlockGroup(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexBlockGroup(): NULL; }
662 static SHOGUN_BASIC_CLASS CSGObject* __new_CHash(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHash(): NULL; }
663 static SHOGUN_BASIC_CLASS CSGObject* __new_CBitString(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBitString(): NULL; }
664 static SHOGUN_BASIC_CLASS CSGObject* __new_CCompressor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCompressor(): NULL; }
665 static SHOGUN_BASIC_CLASS CSGObject* __new_CTime(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTime(): NULL; }
666 static SHOGUN_BASIC_CLASS CSGObject* __new_CDynamicObjectArray(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDynamicObjectArray(): NULL; }
667 static SHOGUN_BASIC_CLASS CSGObject* __new_CCircularBuffer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCircularBuffer(): NULL; }
669 static SHOGUN_BASIC_CLASS CSGObject* __new_CJobResult(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJobResult(): NULL; }
670 static SHOGUN_BASIC_CLASS CSGObject* __new_CDelimiterTokenizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDelimiterTokenizer(): NULL; }
671 static SHOGUN_BASIC_CLASS CSGObject* __new_CStructuredData(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredData(): NULL; }
672 static SHOGUN_BASIC_CLASS CSGObject* __new_CListElement(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CListElement(): NULL; }
673 static SHOGUN_BASIC_CLASS CSGObject* __new_CList(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CList(): NULL; }
675 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassAccuracy(): NULL; }
676 static SHOGUN_BASIC_CLASS CSGObject* __new_CROCEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CROCEvaluation(): NULL; }
677 static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanSquaredLogError(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanSquaredLogError(): NULL; }
680 static SHOGUN_BASIC_CLASS CSGObject* __new_CAccuracyMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAccuracyMeasure(): NULL; }
681 static SHOGUN_BASIC_CLASS CSGObject* __new_CErrorRateMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CErrorRateMeasure(): NULL; }
682 static SHOGUN_BASIC_CLASS CSGObject* __new_CBALMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBALMeasure(): NULL; }
683 static SHOGUN_BASIC_CLASS CSGObject* __new_CWRACCMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWRACCMeasure(): NULL; }
684 static SHOGUN_BASIC_CLASS CSGObject* __new_CF1Measure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CF1Measure(): NULL; }
686 static SHOGUN_BASIC_CLASS CSGObject* __new_CRecallMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRecallMeasure(): NULL; }
687 static SHOGUN_BASIC_CLASS CSGObject* __new_CPrecisionMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPrecisionMeasure(): NULL; }
688 static SHOGUN_BASIC_CLASS CSGObject* __new_CSpecificityMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSpecificityMeasure(): NULL; }
689 static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanAbsoluteError(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanAbsoluteError(): NULL; }
690 static SHOGUN_BASIC_CLASS CSGObject* __new_CGradientResult(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientResult(): NULL; }
691 static SHOGUN_BASIC_CLASS CSGObject* __new_CGradientEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientEvaluation(): NULL; }
693 static SHOGUN_BASIC_CLASS CSGObject* __new_CCrossValidation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidation(): NULL; }
696 static SHOGUN_BASIC_CLASS CSGObject* __new_CClusteringAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CClusteringAccuracy(): NULL; }
697 static SHOGUN_BASIC_CLASS CSGObject* __new_CGradientCriterion(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientCriterion(): NULL; }
701 static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanSquaredError(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanSquaredError(): NULL; }
702 static SHOGUN_BASIC_CLASS CSGObject* __new_CPRCEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPRCEvaluation(): NULL; }
703 static SHOGUN_BASIC_CLASS CSGObject* __new_CStructuredAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredAccuracy(): NULL; }
704 static SHOGUN_BASIC_CLASS CSGObject* __new_CTaskGroup(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTaskGroup(): NULL; }
709 static SHOGUN_BASIC_CLASS CSGObject* __new_CNode(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNode(): NULL; }
710 static SHOGUN_BASIC_CLASS CSGObject* __new_CTaxonomy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTaxonomy(): NULL; }
712 static SHOGUN_BASIC_CLASS CSGObject* __new_CTask(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTask(): NULL; }
717 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibLinearMTL(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibLinearMTL(): NULL; }
719 static SHOGUN_BASIC_CLASS CSGObject* __new_CTaskTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTaskTree(): NULL; }
723 static SHOGUN_BASIC_CLASS CSGObject* __new_CDomainAdaptationSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDomainAdaptationSVM(): NULL; }
725 static SHOGUN_BASIC_CLASS CSGObject* __new_CLDA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLDA(): NULL; }
726 static SHOGUN_BASIC_CLASS CSGObject* __new_CMKLOneClass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLOneClass(): NULL; }
727 static SHOGUN_BASIC_CLASS CSGObject* __new_CMKLClassification(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLClassification(): NULL; }
728 static SHOGUN_BASIC_CLASS CSGObject* __new_CMKLMulticlass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLMulticlass(): NULL; }
729 static SHOGUN_BASIC_CLASS CSGObject* __new_CPerceptron(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPerceptron(): NULL; }
730 static SHOGUN_BASIC_CLASS CSGObject* __new_CNearestCentroid(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNearestCentroid(): NULL; }
733 static SHOGUN_BASIC_CLASS CSGObject* __new_CVowpalWabbit(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVowpalWabbit(): NULL; }
734 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwParser(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwParser(): NULL; }
735 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwNativeCacheReader(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwNativeCacheReader(): NULL; }
736 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwNativeCacheWriter(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwNativeCacheWriter(): NULL; }
737 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwRegressor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwRegressor(): NULL; }
738 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwEnvironment(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwEnvironment(): NULL; }
739 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwNonAdaptiveLearner(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwNonAdaptiveLearner(): NULL; }
740 static SHOGUN_BASIC_CLASS CSGObject* __new_CVwAdaptiveLearner(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwAdaptiveLearner(): NULL; }
741 static SHOGUN_BASIC_CLASS CSGObject* __new_CSGDQN(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSGDQN(): NULL; }
742 static SHOGUN_BASIC_CLASS CSGObject* __new_CQPBSVMLib(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQPBSVMLib(): NULL; }
743 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVM(): NULL; }
744 static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMLightOneClass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMLightOneClass(): NULL; }
745 static SHOGUN_BASIC_CLASS CSGObject* __new_CWDSVMOcas(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWDSVMOcas(): NULL; }
746 static SHOGUN_BASIC_CLASS CSGObject* __new_CGPBTSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGPBTSVM(): NULL; }
747 static SHOGUN_BASIC_CLASS CSGObject* __new_COnlineLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COnlineLibLinear(): NULL; }
748 static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMOcas(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMOcas(): NULL; }
749 static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMLin(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMLin(): NULL; }
750 static SHOGUN_BASIC_CLASS CSGObject* __new_CNewtonSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNewtonSVM(): NULL; }
751 static SHOGUN_BASIC_CLASS CSGObject* __new_CGNPPLib(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGNPPLib(): NULL; }
752 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibSVMOneClass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVMOneClass(): NULL; }
753 static SHOGUN_BASIC_CLASS CSGObject* __new_CMPDSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMPDSVM(): NULL; }
754 static SHOGUN_BASIC_CLASS CSGObject* __new_CGNPPSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGNPPSVM(): NULL; }
755 static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMLight(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMLight(): NULL; }
756 static SHOGUN_BASIC_CLASS CSGObject* __new_CLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibLinear(): NULL; }
757 static SHOGUN_BASIC_CLASS CSGObject* __new_COnlineSVMSGD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COnlineSVMSGD(): NULL; }
758 static SHOGUN_BASIC_CLASS CSGObject* __new_CSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVM(): NULL; }
759 static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMSGD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMSGD(): NULL; }
760 static SHOGUN_BASIC_CLASS CSGObject* __new_CAveragedPerceptron(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAveragedPerceptron(): NULL; }
761 static SHOGUN_BASIC_CLASS CSGObject* __new_CPluginEstimate(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPluginEstimate(): NULL; }
764 static SHOGUN_BASIC_CLASS CSGObject* __new_CLaplacianEigenmaps(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLaplacianEigenmaps(): NULL; }
767 static SHOGUN_BASIC_CLASS CSGObject* __new_CDiffusionMaps(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDiffusionMaps(): NULL; }
770 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorAnalysis(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorAnalysis(): NULL; }
771 static SHOGUN_BASIC_CLASS CSGObject* __new_CJade(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJade(): NULL; }
772 static SHOGUN_BASIC_CLASS CSGObject* __new_CUWedgeSep(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CUWedgeSep(): NULL; }
773 static SHOGUN_BASIC_CLASS CSGObject* __new_CFastICA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFastICA(): NULL; }
774 static SHOGUN_BASIC_CLASS CSGObject* __new_CFFSep(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFFSep(): NULL; }
775 static SHOGUN_BASIC_CLASS CSGObject* __new_CJediSep(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJediSep(): NULL; }
776 static SHOGUN_BASIC_CLASS CSGObject* __new_CSOBI(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSOBI(): NULL; }
777 static SHOGUN_BASIC_CLASS CSGObject* __new_CIsomap(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIsomap(): NULL; }
778 static SHOGUN_BASIC_CLASS CSGObject* __new_CHashedDocConverter(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedDocConverter(): NULL; }
783 static SHOGUN_BASIC_CLASS CSGObject* __new_CManifoldSculpting(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CManifoldSculpting(): NULL; }
784 static SHOGUN_BASIC_CLASS CSGObject* __new_CLabelsFactory(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLabelsFactory(): NULL; }
786 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraphLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraphLabels(): NULL; }
787 static SHOGUN_BASIC_CLASS CSGObject* __new_CLatentLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentLabels(): NULL; }
788 static SHOGUN_BASIC_CLASS CSGObject* __new_CBinaryLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBinaryLabels(): NULL; }
789 static SHOGUN_BASIC_CLASS CSGObject* __new_CStructuredLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredLabels(): NULL; }
791 static SHOGUN_BASIC_CLASS CSGObject* __new_CRegressionLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRegressionLabels(): NULL; }
792 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLabels(): NULL; }
795 static SHOGUN_BASIC_CLASS CSGObject* __new_CParameterCombination(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CParameterCombination(): NULL; }
798 static SHOGUN_BASIC_CLASS CSGObject* __new_CSmoothHingeLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSmoothHingeLoss(): NULL; }
799 static SHOGUN_BASIC_CLASS CSGObject* __new_CLogLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogLoss(): NULL; }
800 static SHOGUN_BASIC_CLASS CSGObject* __new_CSquaredHingeLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSquaredHingeLoss(): NULL; }
801 static SHOGUN_BASIC_CLASS CSGObject* __new_CLogLossMargin(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogLossMargin(): NULL; }
802 static SHOGUN_BASIC_CLASS CSGObject* __new_CSquaredLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSquaredLoss(): NULL; }
803 static SHOGUN_BASIC_CLASS CSGObject* __new_CHingeLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHingeLoss(): NULL; }
808 static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingVwFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingVwFeatures(): NULL; }
809 static SHOGUN_BASIC_CLASS CSGObject* __new_CCombinedDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCombinedDotFeatures(): NULL; }
810 static SHOGUN_BASIC_CLASS CSGObject* __new_CFKFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFKFeatures(): NULL; }
811 static SHOGUN_BASIC_CLASS CSGObject* __new_CHashedWDFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedWDFeatures(): NULL; }
812 static SHOGUN_BASIC_CLASS CSGObject* __new_CSNPFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSNPFeatures(): NULL; }
813 static SHOGUN_BASIC_CLASS CSGObject* __new_CBinnedDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBinnedDotFeatures(): NULL; }
814 static SHOGUN_BASIC_CLASS CSGObject* __new_CAlphabet(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAlphabet(): NULL; }
816 static SHOGUN_BASIC_CLASS CSGObject* __new_CRealFileFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRealFileFeatures(): NULL; }
817 static SHOGUN_BASIC_CLASS CSGObject* __new_CSparsePolyFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSparsePolyFeatures(): NULL; }
818 static SHOGUN_BASIC_CLASS CSGObject* __new_CLatentFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentFeatures(): NULL; }
819 static SHOGUN_BASIC_CLASS CSGObject* __new_CHashedDocDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedDocDotFeatures(): NULL; }
820 static SHOGUN_BASIC_CLASS CSGObject* __new_CCombinedFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCombinedFeatures(): NULL; }
821 static SHOGUN_BASIC_CLASS CSGObject* __new_CSubset(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSubset(): NULL; }
822 static SHOGUN_BASIC_CLASS CSGObject* __new_CExplicitSpecFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CExplicitSpecFeatures(): NULL; }
823 static SHOGUN_BASIC_CLASS CSGObject* __new_CSubsetStack(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSubsetStack(): NULL; }
824 static SHOGUN_BASIC_CLASS CSGObject* __new_CDataGenerator(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDataGenerator(): NULL; }
825 static SHOGUN_BASIC_CLASS CSGObject* __new_CDummyFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDummyFeatures(): NULL; }
826 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraphFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraphFeatures(): NULL; }
827 static SHOGUN_BASIC_CLASS CSGObject* __new_CWDFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWDFeatures(): NULL; }
828 static SHOGUN_BASIC_CLASS CSGObject* __new_CPolyFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPolyFeatures(): NULL; }
829 static SHOGUN_BASIC_CLASS CSGObject* __new_CTOPFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTOPFeatures(): NULL; }
830 static SHOGUN_BASIC_CLASS CSGObject* __new_CLBPPyrDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLBPPyrDotFeatures(): NULL; }
832 static SHOGUN_BASIC_CLASS CSGObject* __new_CGMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGMM(): NULL; }
833 static SHOGUN_BASIC_CLASS CSGObject* __new_CKMeans(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKMeans(): NULL; }
834 static SHOGUN_BASIC_CLASS CSGObject* __new_CHierarchical(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHierarchical(): NULL; }
836 static SHOGUN_BASIC_CLASS CSGObject* __new_CRandom(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRandom(): NULL; }
837 static SHOGUN_BASIC_CLASS CSGObject* __new_CIntegration(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIntegration(): NULL; }
839 static SHOGUN_BASIC_CLASS CSGObject* __new_CQDiag(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQDiag(): NULL; }
840 static SHOGUN_BASIC_CLASS CSGObject* __new_CJediDiag(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJediDiag(): NULL; }
841 static SHOGUN_BASIC_CLASS CSGObject* __new_CJADiagOrth(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJADiagOrth(): NULL; }
842 static SHOGUN_BASIC_CLASS CSGObject* __new_CJADiag(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJADiag(): NULL; }
843 static SHOGUN_BASIC_CLASS CSGObject* __new_CFFDiag(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFFDiag(): NULL; }
844 static SHOGUN_BASIC_CLASS CSGObject* __new_CUWedge(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CUWedge(): NULL; }
845 static SHOGUN_BASIC_CLASS CSGObject* __new_CStatistics(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStatistics(): NULL; }
846 static SHOGUN_BASIC_CLASS CSGObject* __new_CDirectEigenSolver(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDirectEigenSolver(): NULL; }
847 static SHOGUN_BASIC_CLASS CSGObject* __new_CLanczosEigenSolver(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLanczosEigenSolver(): NULL; }
848 static SHOGUN_BASIC_CLASS CSGObject* __new_CNormalSampler(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNormalSampler(): NULL; }
851 static SHOGUN_BASIC_CLASS CSGObject* __new_CDenseExactLogJob(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDenseExactLogJob(): NULL; }
853 static SHOGUN_BASIC_CLASS CSGObject* __new_CLogDetEstimator(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogDetEstimator(): NULL; }
854 static SHOGUN_BASIC_CLASS CSGObject* __new_CDenseMatrixExactLog(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDenseMatrixExactLog(): NULL; }
860 static SHOGUN_BASIC_CLASS CSGObject* __new_CMath(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMath(): NULL; }
861 static SHOGUN_BASIC_CLASS CSGObject* __new_CShareBoost(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CShareBoost(): NULL; }
864 static SHOGUN_BASIC_CLASS CSGObject* __new_CRelaxedTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRelaxedTree(): NULL; }
865 static SHOGUN_BASIC_CLASS CSGObject* __new_CScatterSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CScatterSVM(): NULL; }
866 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassLibSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLibSVM(): NULL; }
867 static SHOGUN_BASIC_CLASS CSGObject* __new_CGMNPSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGMNPSVM(): NULL; }
869 static SHOGUN_BASIC_CLASS CSGObject* __new_CMCLDA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMCLDA(): NULL; }
870 static SHOGUN_BASIC_CLASS CSGObject* __new_CQDA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQDA(): NULL; }
871 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassSVM(): NULL; }
874 static SHOGUN_BASIC_CLASS CSGObject* __new_CLaRank(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLaRank(): NULL; }
876 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCLLBDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCLLBDecoder(): NULL; }
877 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCStrategy(): NULL; }
878 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCOVOEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCOVOEncoder(): NULL; }
879 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCHDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCHDDecoder(): NULL; }
880 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCForestEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCForestEncoder(): NULL; }
883 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCIHDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCIHDDecoder(): NULL; }
884 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCAEDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCAEDDecoder(): NULL; }
885 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCOVREncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCOVREncoder(): NULL; }
886 static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCEDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCEDDecoder(): NULL; }
888 static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianNaiveBayes(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianNaiveBayes(): NULL; }
891 static SHOGUN_BASIC_CLASS CSGObject* __new_CGMNPLib(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGMNPLib(): NULL; }
892 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassOCAS(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassOCAS(): NULL; }
893 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLibLinear(): NULL; }
894 static SHOGUN_BASIC_CLASS CSGObject* __new_CKNN(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKNN(): NULL; }
895 static SHOGUN_BASIC_CLASS CSGObject* __new_CMAPInference(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMAPInference(): NULL; }
896 static SHOGUN_BASIC_CLASS CSGObject* __new_CTwoStateModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTwoStateModel(): NULL; }
897 static SHOGUN_BASIC_CLASS CSGObject* __new_CDynProg(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDynProg(): NULL; }
898 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassModel(): NULL; }
899 static SHOGUN_BASIC_CLASS CSGObject* __new_CDisjointSet(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDisjointSet(): NULL; }
900 static SHOGUN_BASIC_CLASS CSGObject* __new_CPlifArray(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPlifArray(): NULL; }
901 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraph(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraph(): NULL; }
902 static SHOGUN_BASIC_CLASS CSGObject* __new_CCCSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCCSOSVM(): NULL; }
903 static SHOGUN_BASIC_CLASS CSGObject* __new_CSequence(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSequence(): NULL; }
904 static SHOGUN_BASIC_CLASS CSGObject* __new_CSequenceLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSequenceLabels(): NULL; }
905 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorType(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorType(): NULL; }
906 static SHOGUN_BASIC_CLASS CSGObject* __new_CTableFactorType(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTableFactorType(): NULL; }
907 static SHOGUN_BASIC_CLASS CSGObject* __new_CDualLibQPBMSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDualLibQPBMSOSVM(): NULL; }
908 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraphModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraphModel(): NULL; }
909 static SHOGUN_BASIC_CLASS CSGObject* __new_CSegmentLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSegmentLoss(): NULL; }
910 static SHOGUN_BASIC_CLASS CSGObject* __new_CPlif(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPlif(): NULL; }
911 static SHOGUN_BASIC_CLASS CSGObject* __new_CHMSVMModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHMSVMModel(): NULL; }
912 static SHOGUN_BASIC_CLASS CSGObject* __new_CPlifMatrix(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPlifMatrix(): NULL; }
913 static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassSOLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassSOLabels(): NULL; }
914 static SHOGUN_BASIC_CLASS CSGObject* __new_CIntronList(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIntronList(): NULL; }
915 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorDataSource(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorDataSource(): NULL; }
916 static SHOGUN_BASIC_CLASS CSGObject* __new_CFactor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactor(): NULL; }
918 {
919  switch (g)
920  {
921  case PT_BOOL: return new CParseBuffer<bool>();
922  case PT_CHAR: return new CParseBuffer<char>();
923  case PT_INT8: return new CParseBuffer<int8_t>();
924  case PT_UINT8: return new CParseBuffer<uint8_t>();
925  case PT_INT16: return new CParseBuffer<int16_t>();
926  case PT_UINT16: return new CParseBuffer<uint16_t>();
927  case PT_INT32: return new CParseBuffer<int32_t>();
928  case PT_UINT32: return new CParseBuffer<uint32_t>();
929  case PT_INT64: return new CParseBuffer<int64_t>();
930  case PT_UINT64: return new CParseBuffer<uint64_t>();
931  case PT_FLOAT32: return new CParseBuffer<float32_t>();
932  case PT_FLOAT64: return new CParseBuffer<float64_t>();
933  case PT_FLOATMAX: return new CParseBuffer<floatmax_t>();
934  case PT_COMPLEX128: return NULL;
935  case PT_SGOBJECT: return NULL;
936  }
937  return NULL;
938 }
940 {
941  switch (g)
942  {
943  case PT_BOOL: return new CStreamingFileFromSparseFeatures<bool>();
944  case PT_CHAR: return new CStreamingFileFromSparseFeatures<char>();
945  case PT_INT8: return new CStreamingFileFromSparseFeatures<int8_t>();
946  case PT_UINT8: return new CStreamingFileFromSparseFeatures<uint8_t>();
947  case PT_INT16: return new CStreamingFileFromSparseFeatures<int16_t>();
948  case PT_UINT16: return new CStreamingFileFromSparseFeatures<uint16_t>();
949  case PT_INT32: return new CStreamingFileFromSparseFeatures<int32_t>();
950  case PT_UINT32: return new CStreamingFileFromSparseFeatures<uint32_t>();
951  case PT_INT64: return new CStreamingFileFromSparseFeatures<int64_t>();
952  case PT_UINT64: return new CStreamingFileFromSparseFeatures<uint64_t>();
953  case PT_FLOAT32: return new CStreamingFileFromSparseFeatures<float32_t>();
954  case PT_FLOAT64: return new CStreamingFileFromSparseFeatures<float64_t>();
955  case PT_FLOATMAX: return new CStreamingFileFromSparseFeatures<floatmax_t>();
956  case PT_COMPLEX128: return NULL;
957  case PT_SGOBJECT: return NULL;
958  }
959  return NULL;
960 }
962 {
963  switch (g)
964  {
965  case PT_BOOL: return new CStreamingFileFromStringFeatures<bool>();
966  case PT_CHAR: return new CStreamingFileFromStringFeatures<char>();
967  case PT_INT8: return new CStreamingFileFromStringFeatures<int8_t>();
968  case PT_UINT8: return new CStreamingFileFromStringFeatures<uint8_t>();
969  case PT_INT16: return new CStreamingFileFromStringFeatures<int16_t>();
970  case PT_UINT16: return new CStreamingFileFromStringFeatures<uint16_t>();
971  case PT_INT32: return new CStreamingFileFromStringFeatures<int32_t>();
972  case PT_UINT32: return new CStreamingFileFromStringFeatures<uint32_t>();
973  case PT_INT64: return new CStreamingFileFromStringFeatures<int64_t>();
974  case PT_UINT64: return new CStreamingFileFromStringFeatures<uint64_t>();
975  case PT_FLOAT32: return new CStreamingFileFromStringFeatures<float32_t>();
976  case PT_FLOAT64: return new CStreamingFileFromStringFeatures<float64_t>();
977  case PT_FLOATMAX: return new CStreamingFileFromStringFeatures<floatmax_t>();
978  case PT_COMPLEX128: return NULL;
979  case PT_SGOBJECT: return NULL;
980  }
981  return NULL;
982 }
984 {
985  switch (g)
986  {
987  case PT_BOOL: return new CStreamingFileFromDenseFeatures<bool>();
988  case PT_CHAR: return new CStreamingFileFromDenseFeatures<char>();
989  case PT_INT8: return new CStreamingFileFromDenseFeatures<int8_t>();
990  case PT_UINT8: return new CStreamingFileFromDenseFeatures<uint8_t>();
991  case PT_INT16: return new CStreamingFileFromDenseFeatures<int16_t>();
992  case PT_UINT16: return new CStreamingFileFromDenseFeatures<uint16_t>();
993  case PT_INT32: return new CStreamingFileFromDenseFeatures<int32_t>();
994  case PT_UINT32: return new CStreamingFileFromDenseFeatures<uint32_t>();
995  case PT_INT64: return new CStreamingFileFromDenseFeatures<int64_t>();
996  case PT_UINT64: return new CStreamingFileFromDenseFeatures<uint64_t>();
997  case PT_FLOAT32: return new CStreamingFileFromDenseFeatures<float32_t>();
998  case PT_FLOAT64: return new CStreamingFileFromDenseFeatures<float64_t>();
999  case PT_FLOATMAX: return new CStreamingFileFromDenseFeatures<floatmax_t>();
1000  case PT_COMPLEX128: return NULL;
1001  case PT_SGOBJECT: return NULL;
1002  }
1003  return NULL;
1004 }
1006 {
1007  switch (g)
1008  {
1009  case PT_BOOL: return new CSimpleFile<bool>();
1010  case PT_CHAR: return new CSimpleFile<char>();
1011  case PT_INT8: return new CSimpleFile<int8_t>();
1012  case PT_UINT8: return new CSimpleFile<uint8_t>();
1013  case PT_INT16: return new CSimpleFile<int16_t>();
1014  case PT_UINT16: return new CSimpleFile<uint16_t>();
1015  case PT_INT32: return new CSimpleFile<int32_t>();
1016  case PT_UINT32: return new CSimpleFile<uint32_t>();
1017  case PT_INT64: return new CSimpleFile<int64_t>();
1018  case PT_UINT64: return new CSimpleFile<uint64_t>();
1019  case PT_FLOAT32: return new CSimpleFile<float32_t>();
1020  case PT_FLOAT64: return new CSimpleFile<float64_t>();
1021  case PT_FLOATMAX: return new CSimpleFile<floatmax_t>();
1022  case PT_COMPLEX128: return NULL;
1023  case PT_SGOBJECT: return NULL;
1024  }
1025  return NULL;
1026 }
1028 {
1029  switch (g)
1030  {
1031  case PT_BOOL: return new CMemoryMappedFile<bool>();
1032  case PT_CHAR: return new CMemoryMappedFile<char>();
1033  case PT_INT8: return new CMemoryMappedFile<int8_t>();
1034  case PT_UINT8: return new CMemoryMappedFile<uint8_t>();
1035  case PT_INT16: return new CMemoryMappedFile<int16_t>();
1036  case PT_UINT16: return new CMemoryMappedFile<uint16_t>();
1037  case PT_INT32: return new CMemoryMappedFile<int32_t>();
1038  case PT_UINT32: return new CMemoryMappedFile<uint32_t>();
1039  case PT_INT64: return new CMemoryMappedFile<int64_t>();
1040  case PT_UINT64: return new CMemoryMappedFile<uint64_t>();
1041  case PT_FLOAT32: return new CMemoryMappedFile<float32_t>();
1042  case PT_FLOAT64: return new CMemoryMappedFile<float64_t>();
1043  case PT_FLOATMAX: return new CMemoryMappedFile<floatmax_t>();
1044  case PT_COMPLEX128: return NULL;
1045  case PT_SGOBJECT: return NULL;
1046  }
1047  return NULL;
1048 }
1050 {
1051  switch (g)
1052  {
1053  case PT_BOOL: return new CBinaryStream<bool>();
1054  case PT_CHAR: return new CBinaryStream<char>();
1055  case PT_INT8: return new CBinaryStream<int8_t>();
1056  case PT_UINT8: return new CBinaryStream<uint8_t>();
1057  case PT_INT16: return new CBinaryStream<int16_t>();
1058  case PT_UINT16: return new CBinaryStream<uint16_t>();
1059  case PT_INT32: return new CBinaryStream<int32_t>();
1060  case PT_UINT32: return new CBinaryStream<uint32_t>();
1061  case PT_INT64: return new CBinaryStream<int64_t>();
1062  case PT_UINT64: return new CBinaryStream<uint64_t>();
1063  case PT_FLOAT32: return new CBinaryStream<float32_t>();
1064  case PT_FLOAT64: return new CBinaryStream<float64_t>();
1065  case PT_FLOATMAX: return new CBinaryStream<floatmax_t>();
1066  case PT_COMPLEX128: return NULL;
1067  case PT_SGOBJECT: return NULL;
1068  }
1069  return NULL;
1070 }
1072 {
1073  switch (g)
1074  {
1075  case PT_BOOL: return new CDecompressString<bool>();
1076  case PT_CHAR: return new CDecompressString<char>();
1077  case PT_INT8: return new CDecompressString<int8_t>();
1078  case PT_UINT8: return new CDecompressString<uint8_t>();
1079  case PT_INT16: return new CDecompressString<int16_t>();
1080  case PT_UINT16: return new CDecompressString<uint16_t>();
1081  case PT_INT32: return new CDecompressString<int32_t>();
1082  case PT_UINT32: return new CDecompressString<uint32_t>();
1083  case PT_INT64: return new CDecompressString<int64_t>();
1084  case PT_UINT64: return new CDecompressString<uint64_t>();
1085  case PT_FLOAT32: return new CDecompressString<float32_t>();
1086  case PT_FLOAT64: return new CDecompressString<float64_t>();
1087  case PT_FLOATMAX: return new CDecompressString<floatmax_t>();
1088  case PT_COMPLEX128: return NULL;
1089  case PT_SGOBJECT: return NULL;
1090  }
1091  return NULL;
1092 }
1093 static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CSet(EPrimitiveType g)
1094 {
1095  switch (g)
1096  {
1097  case PT_BOOL: return new CSet<bool>();
1098  case PT_CHAR: return new CSet<char>();
1099  case PT_INT8: return new CSet<int8_t>();
1100  case PT_UINT8: return new CSet<uint8_t>();
1101  case PT_INT16: return new CSet<int16_t>();
1102  case PT_UINT16: return new CSet<uint16_t>();
1103  case PT_INT32: return new CSet<int32_t>();
1104  case PT_UINT32: return new CSet<uint32_t>();
1105  case PT_INT64: return new CSet<int64_t>();
1106  case PT_UINT64: return new CSet<uint64_t>();
1107  case PT_FLOAT32: return new CSet<float32_t>();
1108  case PT_FLOAT64: return new CSet<float64_t>();
1109  case PT_FLOATMAX: return new CSet<floatmax_t>();
1110  case PT_COMPLEX128: return NULL;
1111  case PT_SGOBJECT: return NULL;
1112  }
1113  return NULL;
1114 }
1116 {
1117  switch (g)
1118  {
1119  case PT_BOOL: return new CDynamicArray<bool>();
1120  case PT_CHAR: return new CDynamicArray<char>();
1121  case PT_INT8: return new CDynamicArray<int8_t>();
1122  case PT_UINT8: return new CDynamicArray<uint8_t>();
1123  case PT_INT16: return new CDynamicArray<int16_t>();
1124  case PT_UINT16: return new CDynamicArray<uint16_t>();
1125  case PT_INT32: return new CDynamicArray<int32_t>();
1126  case PT_UINT32: return new CDynamicArray<uint32_t>();
1127  case PT_INT64: return new CDynamicArray<int64_t>();
1128  case PT_UINT64: return new CDynamicArray<uint64_t>();
1129  case PT_FLOAT32: return new CDynamicArray<float32_t>();
1130  case PT_FLOAT64: return new CDynamicArray<float64_t>();
1131  case PT_FLOATMAX: return new CDynamicArray<floatmax_t>();
1132  case PT_COMPLEX128: return NULL;
1133  case PT_SGOBJECT: return NULL;
1134  }
1135  return NULL;
1136 }
1138 {
1139  switch (g)
1140  {
1141  case PT_BOOL: return new CCache<bool>();
1142  case PT_CHAR: return new CCache<char>();
1143  case PT_INT8: return new CCache<int8_t>();
1144  case PT_UINT8: return new CCache<uint8_t>();
1145  case PT_INT16: return new CCache<int16_t>();
1146  case PT_UINT16: return new CCache<uint16_t>();
1147  case PT_INT32: return new CCache<int32_t>();
1148  case PT_UINT32: return new CCache<uint32_t>();
1149  case PT_INT64: return new CCache<int64_t>();
1150  case PT_UINT64: return new CCache<uint64_t>();
1151  case PT_FLOAT32: return new CCache<float32_t>();
1152  case PT_FLOAT64: return new CCache<float64_t>();
1153  case PT_FLOATMAX: return new CCache<floatmax_t>();
1154  case PT_COMPLEX128: return NULL;
1155  case PT_SGOBJECT: return NULL;
1156  }
1157  return NULL;
1158 }
1160 {
1161  switch (g)
1162  {
1163  case PT_BOOL: return new CStringFileFeatures<bool>();
1164  case PT_CHAR: return new CStringFileFeatures<char>();
1165  case PT_INT8: return new CStringFileFeatures<int8_t>();
1166  case PT_UINT8: return new CStringFileFeatures<uint8_t>();
1167  case PT_INT16: return new CStringFileFeatures<int16_t>();
1168  case PT_UINT16: return new CStringFileFeatures<uint16_t>();
1169  case PT_INT32: return new CStringFileFeatures<int32_t>();
1170  case PT_UINT32: return new CStringFileFeatures<uint32_t>();
1171  case PT_INT64: return new CStringFileFeatures<int64_t>();
1172  case PT_UINT64: return new CStringFileFeatures<uint64_t>();
1173  case PT_FLOAT32: return new CStringFileFeatures<float32_t>();
1174  case PT_FLOAT64: return new CStringFileFeatures<float64_t>();
1175  case PT_FLOATMAX: return new CStringFileFeatures<floatmax_t>();
1176  case PT_COMPLEX128: return NULL;
1177  case PT_SGOBJECT: return NULL;
1178  }
1179  return NULL;
1180 }
1182 {
1183  switch (g)
1184  {
1185  case PT_BOOL: return new CStreamingSparseFeatures<bool>();
1186  case PT_CHAR: return new CStreamingSparseFeatures<char>();
1187  case PT_INT8: return new CStreamingSparseFeatures<int8_t>();
1188  case PT_UINT8: return new CStreamingSparseFeatures<uint8_t>();
1189  case PT_INT16: return new CStreamingSparseFeatures<int16_t>();
1190  case PT_UINT16: return new CStreamingSparseFeatures<uint16_t>();
1191  case PT_INT32: return new CStreamingSparseFeatures<int32_t>();
1192  case PT_UINT32: return new CStreamingSparseFeatures<uint32_t>();
1193  case PT_INT64: return new CStreamingSparseFeatures<int64_t>();
1194  case PT_UINT64: return new CStreamingSparseFeatures<uint64_t>();
1195  case PT_FLOAT32: return new CStreamingSparseFeatures<float32_t>();
1196  case PT_FLOAT64: return new CStreamingSparseFeatures<float64_t>();
1197  case PT_FLOATMAX: return new CStreamingSparseFeatures<floatmax_t>();
1198  case PT_COMPLEX128: return NULL;
1199  case PT_SGOBJECT: return NULL;
1200  }
1201  return NULL;
1202 }
1204 {
1205  switch (g)
1206  {
1207  case PT_BOOL: return new CStreamingHashedSparseFeatures<bool>();
1208  case PT_CHAR: return new CStreamingHashedSparseFeatures<char>();
1209  case PT_INT8: return new CStreamingHashedSparseFeatures<int8_t>();
1210  case PT_UINT8: return new CStreamingHashedSparseFeatures<uint8_t>();
1211  case PT_INT16: return new CStreamingHashedSparseFeatures<int16_t>();
1212  case PT_UINT16: return new CStreamingHashedSparseFeatures<uint16_t>();
1213  case PT_INT32: return new CStreamingHashedSparseFeatures<int32_t>();
1214  case PT_UINT32: return new CStreamingHashedSparseFeatures<uint32_t>();
1215  case PT_INT64: return new CStreamingHashedSparseFeatures<int64_t>();
1216  case PT_UINT64: return new CStreamingHashedSparseFeatures<uint64_t>();
1217  case PT_FLOAT32: return new CStreamingHashedSparseFeatures<float32_t>();
1218  case PT_FLOAT64: return new CStreamingHashedSparseFeatures<float64_t>();
1219  case PT_FLOATMAX: return new CStreamingHashedSparseFeatures<floatmax_t>();
1220  case PT_COMPLEX128: return NULL;
1221  case PT_SGOBJECT: return NULL;
1222  }
1223  return NULL;
1224 }
1226 {
1227  switch (g)
1228  {
1229  case PT_BOOL: return new CStreamingDenseFeatures<bool>();
1230  case PT_CHAR: return new CStreamingDenseFeatures<char>();
1231  case PT_INT8: return new CStreamingDenseFeatures<int8_t>();
1232  case PT_UINT8: return new CStreamingDenseFeatures<uint8_t>();
1233  case PT_INT16: return new CStreamingDenseFeatures<int16_t>();
1234  case PT_UINT16: return new CStreamingDenseFeatures<uint16_t>();
1235  case PT_INT32: return new CStreamingDenseFeatures<int32_t>();
1236  case PT_UINT32: return new CStreamingDenseFeatures<uint32_t>();
1237  case PT_INT64: return new CStreamingDenseFeatures<int64_t>();
1238  case PT_UINT64: return new CStreamingDenseFeatures<uint64_t>();
1239  case PT_FLOAT32: return new CStreamingDenseFeatures<float32_t>();
1240  case PT_FLOAT64: return new CStreamingDenseFeatures<float64_t>();
1241  case PT_FLOATMAX: return new CStreamingDenseFeatures<floatmax_t>();
1242  case PT_COMPLEX128: return NULL;
1243  case PT_SGOBJECT: 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: return NULL;
1266  }
1267  return NULL;
1268 }
1270 {
1271  switch (g)
1272  {
1273  case PT_BOOL: return new CStreamingHashedDenseFeatures<bool>();
1274  case PT_CHAR: return new CStreamingHashedDenseFeatures<char>();
1275  case PT_INT8: return new CStreamingHashedDenseFeatures<int8_t>();
1276  case PT_UINT8: return new CStreamingHashedDenseFeatures<uint8_t>();
1277  case PT_INT16: return new CStreamingHashedDenseFeatures<int16_t>();
1278  case PT_UINT16: return new CStreamingHashedDenseFeatures<uint16_t>();
1279  case PT_INT32: return new CStreamingHashedDenseFeatures<int32_t>();
1280  case PT_UINT32: return new CStreamingHashedDenseFeatures<uint32_t>();
1281  case PT_INT64: return new CStreamingHashedDenseFeatures<int64_t>();
1282  case PT_UINT64: return new CStreamingHashedDenseFeatures<uint64_t>();
1283  case PT_FLOAT32: return new CStreamingHashedDenseFeatures<float32_t>();
1284  case PT_FLOAT64: return new CStreamingHashedDenseFeatures<float64_t>();
1285  case PT_FLOATMAX: return new CStreamingHashedDenseFeatures<floatmax_t>();
1286  case PT_COMPLEX128: return NULL;
1287  case PT_SGOBJECT: return NULL;
1288  }
1289  return NULL;
1290 }
1292 {
1293  switch (g)
1294  {
1295  case PT_BOOL: return new CMatrixFeatures<bool>();
1296  case PT_CHAR: return new CMatrixFeatures<char>();
1297  case PT_INT8: return new CMatrixFeatures<int8_t>();
1298  case PT_UINT8: return new CMatrixFeatures<uint8_t>();
1299  case PT_INT16: return new CMatrixFeatures<int16_t>();
1300  case PT_UINT16: return new CMatrixFeatures<uint16_t>();
1301  case PT_INT32: return new CMatrixFeatures<int32_t>();
1302  case PT_UINT32: return new CMatrixFeatures<uint32_t>();
1303  case PT_INT64: return new CMatrixFeatures<int64_t>();
1304  case PT_UINT64: return new CMatrixFeatures<uint64_t>();
1305  case PT_FLOAT32: return new CMatrixFeatures<float32_t>();
1306  case PT_FLOAT64: return new CMatrixFeatures<float64_t>();
1307  case PT_FLOATMAX: return new CMatrixFeatures<floatmax_t>();
1308  case PT_COMPLEX128: return NULL;
1309  case PT_SGOBJECT: return NULL;
1310  }
1311  return NULL;
1312 }
1314 {
1315  switch (g)
1316  {
1317  case PT_BOOL: return new CHashedDenseFeatures<bool>();
1318  case PT_CHAR: return new CHashedDenseFeatures<char>();
1319  case PT_INT8: return new CHashedDenseFeatures<int8_t>();
1320  case PT_UINT8: return new CHashedDenseFeatures<uint8_t>();
1321  case PT_INT16: return new CHashedDenseFeatures<int16_t>();
1322  case PT_UINT16: return new CHashedDenseFeatures<uint16_t>();
1323  case PT_INT32: return new CHashedDenseFeatures<int32_t>();
1324  case PT_UINT32: return new CHashedDenseFeatures<uint32_t>();
1325  case PT_INT64: return new CHashedDenseFeatures<int64_t>();
1326  case PT_UINT64: return new CHashedDenseFeatures<uint64_t>();
1327  case PT_FLOAT32: return new CHashedDenseFeatures<float32_t>();
1328  case PT_FLOAT64: return new CHashedDenseFeatures<float64_t>();
1329  case PT_FLOATMAX: return new CHashedDenseFeatures<floatmax_t>();
1330  case PT_COMPLEX128: return NULL;
1331  case PT_SGOBJECT: return NULL;
1332  }
1333  return NULL;
1334 }
1336 {
1337  switch (g)
1338  {
1339  case PT_BOOL: return new CHashedSparseFeatures<bool>();
1340  case PT_CHAR: return new CHashedSparseFeatures<char>();
1341  case PT_INT8: return new CHashedSparseFeatures<int8_t>();
1342  case PT_UINT8: return new CHashedSparseFeatures<uint8_t>();
1343  case PT_INT16: return new CHashedSparseFeatures<int16_t>();
1344  case PT_UINT16: return new CHashedSparseFeatures<uint16_t>();
1345  case PT_INT32: return new CHashedSparseFeatures<int32_t>();
1346  case PT_UINT32: return new CHashedSparseFeatures<uint32_t>();
1347  case PT_INT64: return new CHashedSparseFeatures<int64_t>();
1348  case PT_UINT64: return new CHashedSparseFeatures<uint64_t>();
1349  case PT_FLOAT32: return new CHashedSparseFeatures<float32_t>();
1350  case PT_FLOAT64: return new CHashedSparseFeatures<float64_t>();
1351  case PT_FLOATMAX: return new CHashedSparseFeatures<floatmax_t>();
1352  case PT_COMPLEX128: return NULL;
1353  case PT_SGOBJECT: return NULL;
1354  }
1355  return NULL;
1356 }
1358 {
1359  switch (g)
1360  {
1361  case PT_BOOL: return new CDenseSubsetFeatures<bool>();
1362  case PT_CHAR: return new CDenseSubsetFeatures<char>();
1363  case PT_INT8: return new CDenseSubsetFeatures<int8_t>();
1364  case PT_UINT8: return new CDenseSubsetFeatures<uint8_t>();
1365  case PT_INT16: return new CDenseSubsetFeatures<int16_t>();
1366  case PT_UINT16: return new CDenseSubsetFeatures<uint16_t>();
1367  case PT_INT32: return new CDenseSubsetFeatures<int32_t>();
1368  case PT_UINT32: return new CDenseSubsetFeatures<uint32_t>();
1369  case PT_INT64: return new CDenseSubsetFeatures<int64_t>();
1370  case PT_UINT64: return new CDenseSubsetFeatures<uint64_t>();
1371  case PT_FLOAT32: return new CDenseSubsetFeatures<float32_t>();
1372  case PT_FLOAT64: return new CDenseSubsetFeatures<float64_t>();
1373  case PT_FLOATMAX: return new CDenseSubsetFeatures<floatmax_t>();
1374  case PT_COMPLEX128: return NULL;
1375  case PT_SGOBJECT: return NULL;
1376  }
1377  return NULL;
1378 }
1380 {
1381  switch (g)
1382  {
1383  case PT_BOOL: return new CDenseFeatures<bool>();
1384  case PT_CHAR: return new CDenseFeatures<char>();
1385  case PT_INT8: return new CDenseFeatures<int8_t>();
1386  case PT_UINT8: return new CDenseFeatures<uint8_t>();
1387  case PT_INT16: return new CDenseFeatures<int16_t>();
1388  case PT_UINT16: return new CDenseFeatures<uint16_t>();
1389  case PT_INT32: return new CDenseFeatures<int32_t>();
1390  case PT_UINT32: return new CDenseFeatures<uint32_t>();
1391  case PT_INT64: return new CDenseFeatures<int64_t>();
1392  case PT_UINT64: return new CDenseFeatures<uint64_t>();
1393  case PT_FLOAT32: return new CDenseFeatures<float32_t>();
1394  case PT_FLOAT64: return new CDenseFeatures<float64_t>();
1395  case PT_FLOATMAX: return new CDenseFeatures<floatmax_t>();
1396  case PT_COMPLEX128: return NULL;
1397  case PT_SGOBJECT: return NULL;
1398  }
1399  return NULL;
1400 }
1402 {
1403  switch (g)
1404  {
1405  case PT_BOOL: return new CStringFeatures<bool>();
1406  case PT_CHAR: return new CStringFeatures<char>();
1407  case PT_INT8: return new CStringFeatures<int8_t>();
1408  case PT_UINT8: return new CStringFeatures<uint8_t>();
1409  case PT_INT16: return new CStringFeatures<int16_t>();
1410  case PT_UINT16: return new CStringFeatures<uint16_t>();
1411  case PT_INT32: return new CStringFeatures<int32_t>();
1412  case PT_UINT32: return new CStringFeatures<uint32_t>();
1413  case PT_INT64: return new CStringFeatures<int64_t>();
1414  case PT_UINT64: return new CStringFeatures<uint64_t>();
1415  case PT_FLOAT32: return new CStringFeatures<float32_t>();
1416  case PT_FLOAT64: return new CStringFeatures<float64_t>();
1417  case PT_FLOATMAX: return new CStringFeatures<floatmax_t>();
1418  case PT_COMPLEX128: return NULL;
1419  case PT_SGOBJECT: return NULL;
1420  }
1421  return NULL;
1422 }
1424 {
1425  switch (g)
1426  {
1427  case PT_BOOL: return new CSparseFeatures<bool>();
1428  case PT_CHAR: return new CSparseFeatures<char>();
1429  case PT_INT8: return new CSparseFeatures<int8_t>();
1430  case PT_UINT8: return new CSparseFeatures<uint8_t>();
1431  case PT_INT16: return new CSparseFeatures<int16_t>();
1432  case PT_UINT16: return new CSparseFeatures<uint16_t>();
1433  case PT_INT32: return new CSparseFeatures<int32_t>();
1434  case PT_UINT32: return new CSparseFeatures<uint32_t>();
1435  case PT_INT64: return new CSparseFeatures<int64_t>();
1436  case PT_UINT64: return new CSparseFeatures<uint64_t>();
1437  case PT_FLOAT32: return new CSparseFeatures<float32_t>();
1438  case PT_FLOAT64: return new CSparseFeatures<float64_t>();
1439  case PT_FLOATMAX: return new CSparseFeatures<floatmax_t>();
1440  case PT_COMPLEX128: return NULL;
1441  case PT_SGOBJECT: return NULL;
1442  }
1443  return NULL;
1444 }
1446 {
1447  switch (g)
1448  {
1449  case PT_BOOL: return new CTreeMachine<bool>();
1450  case PT_CHAR: return new CTreeMachine<char>();
1451  case PT_INT8: return new CTreeMachine<int8_t>();
1452  case PT_UINT8: return new CTreeMachine<uint8_t>();
1453  case PT_INT16: return new CTreeMachine<int16_t>();
1454  case PT_UINT16: return new CTreeMachine<uint16_t>();
1455  case PT_INT32: return new CTreeMachine<int32_t>();
1456  case PT_UINT32: return new CTreeMachine<uint32_t>();
1457  case PT_INT64: return new CTreeMachine<int64_t>();
1458  case PT_UINT64: return new CTreeMachine<uint64_t>();
1459  case PT_FLOAT32: return new CTreeMachine<float32_t>();
1460  case PT_FLOAT64: return new CTreeMachine<float64_t>();
1461  case PT_FLOATMAX: return new CTreeMachine<floatmax_t>();
1462  case PT_COMPLEX128: return NULL;
1463  case PT_SGOBJECT: return NULL;
1464  }
1465  return NULL;
1466 }
1468 {
1469  switch (g)
1470  {
1471  case PT_BOOL: return new CStoreScalarAggregator<bool>();
1472  case PT_CHAR: return new CStoreScalarAggregator<char>();
1473  case PT_INT8: return new CStoreScalarAggregator<int8_t>();
1474  case PT_UINT8: return new CStoreScalarAggregator<uint8_t>();
1475  case PT_INT16: return new CStoreScalarAggregator<int16_t>();
1476  case PT_UINT16: return new CStoreScalarAggregator<uint16_t>();
1477  case PT_INT32: return new CStoreScalarAggregator<int32_t>();
1478  case PT_UINT32: return new CStoreScalarAggregator<uint32_t>();
1479  case PT_INT64: return new CStoreScalarAggregator<int64_t>();
1480  case PT_UINT64: return new CStoreScalarAggregator<uint64_t>();
1481  case PT_FLOAT32: return new CStoreScalarAggregator<float32_t>();
1482  case PT_FLOAT64: return new CStoreScalarAggregator<float64_t>();
1483  case PT_FLOATMAX: return new CStoreScalarAggregator<floatmax_t>();
1484  case PT_COMPLEX128: return new CStoreScalarAggregator<complex128_t>();
1485  case PT_SGOBJECT: return NULL;
1486  }
1487  return NULL;
1488 }
1490 {
1491  switch (g)
1492  {
1493  case PT_BOOL: return new CVectorResult<bool>();
1494  case PT_CHAR: return new CVectorResult<char>();
1495  case PT_INT8: return new CVectorResult<int8_t>();
1496  case PT_UINT8: return new CVectorResult<uint8_t>();
1497  case PT_INT16: return new CVectorResult<int16_t>();
1498  case PT_UINT16: return new CVectorResult<uint16_t>();
1499  case PT_INT32: return new CVectorResult<int32_t>();
1500  case PT_UINT32: return new CVectorResult<uint32_t>();
1501  case PT_INT64: return new CVectorResult<int64_t>();
1502  case PT_UINT64: return new CVectorResult<uint64_t>();
1503  case PT_FLOAT32: return new CVectorResult<float32_t>();
1504  case PT_FLOAT64: return new CVectorResult<float64_t>();
1505  case PT_FLOATMAX: return new CVectorResult<floatmax_t>();
1506  case PT_COMPLEX128: return new CVectorResult<complex128_t>();
1507  case PT_SGOBJECT: return NULL;
1508  }
1509  return NULL;
1510 }
1512 {
1513  switch (g)
1514  {
1515  case PT_BOOL: return new CScalarResult<bool>();
1516  case PT_CHAR: return new CScalarResult<char>();
1517  case PT_INT8: return new CScalarResult<int8_t>();
1518  case PT_UINT8: return new CScalarResult<uint8_t>();
1519  case PT_INT16: return new CScalarResult<int16_t>();
1520  case PT_UINT16: return new CScalarResult<uint16_t>();
1521  case PT_INT32: return new CScalarResult<int32_t>();
1522  case PT_UINT32: return new CScalarResult<uint32_t>();
1523  case PT_INT64: return new CScalarResult<int64_t>();
1524  case PT_UINT64: return new CScalarResult<uint64_t>();
1525  case PT_FLOAT32: return new CScalarResult<float32_t>();
1526  case PT_FLOAT64: return new CScalarResult<float64_t>();
1527  case PT_FLOATMAX: return new CScalarResult<floatmax_t>();
1528  case PT_COMPLEX128: return new CScalarResult<complex128_t>();
1529  case PT_SGOBJECT: return NULL;
1530  }
1531  return NULL;
1532 }
1534 {
1535  switch (g)
1536  {
1537  case PT_BOOL: return new CSparseMatrixOperator<bool>();
1538  case PT_CHAR: return new CSparseMatrixOperator<char>();
1539  case PT_INT8: return new CSparseMatrixOperator<int8_t>();
1540  case PT_UINT8: return new CSparseMatrixOperator<uint8_t>();
1541  case PT_INT16: return new CSparseMatrixOperator<int16_t>();
1542  case PT_UINT16: return new CSparseMatrixOperator<uint16_t>();
1543  case PT_INT32: return new CSparseMatrixOperator<int32_t>();
1544  case PT_UINT32: return new CSparseMatrixOperator<uint32_t>();
1545  case PT_INT64: return new CSparseMatrixOperator<int64_t>();
1546  case PT_UINT64: return new CSparseMatrixOperator<uint64_t>();
1547  case PT_FLOAT32: return new CSparseMatrixOperator<float32_t>();
1548  case PT_FLOAT64: return new CSparseMatrixOperator<float64_t>();
1549  case PT_FLOATMAX: return new CSparseMatrixOperator<floatmax_t>();
1550  case PT_COMPLEX128: return new CSparseMatrixOperator<complex128_t>();
1551  case PT_SGOBJECT: return NULL;
1552  }
1553  return NULL;
1554 }
1556 {
1557  switch (g)
1558  {
1559  case PT_BOOL: return new CDenseMatrixOperator<bool>();
1560  case PT_CHAR: return new CDenseMatrixOperator<char>();
1561  case PT_INT8: return new CDenseMatrixOperator<int8_t>();
1562  case PT_UINT8: return new CDenseMatrixOperator<uint8_t>();
1563  case PT_INT16: return new CDenseMatrixOperator<int16_t>();
1564  case PT_UINT16: return new CDenseMatrixOperator<uint16_t>();
1565  case PT_INT32: return new CDenseMatrixOperator<int32_t>();
1566  case PT_UINT32: return new CDenseMatrixOperator<uint32_t>();
1567  case PT_INT64: return new CDenseMatrixOperator<int64_t>();
1568  case PT_UINT64: return new CDenseMatrixOperator<uint64_t>();
1569  case PT_FLOAT32: return new CDenseMatrixOperator<float32_t>();
1570  case PT_FLOAT64: return new CDenseMatrixOperator<float64_t>();
1571  case PT_FLOATMAX: return new CDenseMatrixOperator<floatmax_t>();
1572  case PT_COMPLEX128: return new CDenseMatrixOperator<complex128_t>();
1573  case PT_SGOBJECT: return NULL;
1574  }
1575  return NULL;
1576 }
1577 typedef CSGObject* (*new_sgserializable_t)(EPrimitiveType generic);
1578 #ifndef DOXYGEN_SHOULD_SKIP_THIS
1579 typedef struct
1580 {
1581  const char* m_class_name;
1582  new_sgserializable_t m_new_sgserializable;
1583 } class_list_entry_t;
1584 #endif
1585 
1586 static class_list_entry_t class_list[] = {
1587 {"GUIKernel", SHOGUN_BASIC_CLASS __new_CGUIKernel},
1588 {"GUIMath", SHOGUN_BASIC_CLASS __new_CGUIMath},
1589 {"GUITime", SHOGUN_BASIC_CLASS __new_CGUITime},
1590 {"GUIHMM", SHOGUN_BASIC_CLASS __new_CGUIHMM},
1591 {"GUIDistance", SHOGUN_BASIC_CLASS __new_CGUIDistance},
1592 {"GUIFeatures", SHOGUN_BASIC_CLASS __new_CGUIFeatures},
1593 {"GUILabels", SHOGUN_BASIC_CLASS __new_CGUILabels},
1594 {"GUIPreprocessor", SHOGUN_BASIC_CLASS __new_CGUIPreprocessor},
1595 {"GUIPluginEstimate", SHOGUN_BASIC_CLASS __new_CGUIPluginEstimate},
1596 {"GUIConverter", SHOGUN_BASIC_CLASS __new_CGUIConverter},
1597 {"GUIClassifier", SHOGUN_BASIC_CLASS __new_CGUIClassifier},
1598 {"GUIStructure", SHOGUN_BASIC_CLASS __new_CGUIStructure},
1599 {"WeightedMajorityVote", SHOGUN_BASIC_CLASS __new_CWeightedMajorityVote},
1600 {"MajorityVote", SHOGUN_BASIC_CLASS __new_CMajorityVote},
1601 {"MeanRule", SHOGUN_BASIC_CLASS __new_CMeanRule},
1603 {"DistanceMachine", SHOGUN_BASIC_CLASS __new_CDistanceMachine},
1604 {"BaggingMachine", SHOGUN_BASIC_CLASS __new_CBaggingMachine},
1605 {"LinearMulticlassMachine", SHOGUN_BASIC_CLASS __new_CLinearMulticlassMachine},
1606 {"NativeMulticlassMachine", SHOGUN_BASIC_CLASS __new_CNativeMulticlassMachine},
1607 {"BaseMulticlassMachine", SHOGUN_BASIC_CLASS __new_CBaseMulticlassMachine},
1608 {"KernelStructuredOutputMachine", SHOGUN_BASIC_CLASS __new_CKernelStructuredOutputMachine},
1609 {"OnlineLinearMachine", SHOGUN_BASIC_CLASS __new_COnlineLinearMachine},
1610 {"KernelMulticlassMachine", SHOGUN_BASIC_CLASS __new_CKernelMulticlassMachine},
1611 {"StructuredOutputMachine", SHOGUN_BASIC_CLASS __new_CStructuredOutputMachine},
1612 {"LinearMachine", SHOGUN_BASIC_CLASS __new_CLinearMachine},
1613 {"ProbitLikelihood", SHOGUN_BASIC_CLASS __new_CProbitLikelihood},
1614 {"ZeroMean", SHOGUN_BASIC_CLASS __new_CZeroMean},
1615 {"ExactInferenceMethod", SHOGUN_BASIC_CLASS __new_CExactInferenceMethod},
1616 {"GaussianLikelihood", SHOGUN_BASIC_CLASS __new_CGaussianLikelihood},
1617 {"StudentsTLikelihood", SHOGUN_BASIC_CLASS __new_CStudentsTLikelihood},
1618 {"LogitLikelihood", SHOGUN_BASIC_CLASS __new_CLogitLikelihood},
1619 {"EPInferenceMethod", SHOGUN_BASIC_CLASS __new_CEPInferenceMethod},
1620 {"FITCInferenceMethod", SHOGUN_BASIC_CLASS __new_CFITCInferenceMethod},
1621 {"LaplacianInferenceMethod", SHOGUN_BASIC_CLASS __new_CLaplacianInferenceMethod},
1622 {"LinearStructuredOutputMachine", SHOGUN_BASIC_CLASS __new_CLinearStructuredOutputMachine},
1623 {"Machine", SHOGUN_BASIC_CLASS __new_CMachine},
1624 {"KernelMachine", SHOGUN_BASIC_CLASS __new_CKernelMachine},
1625 {"GaussianProcessMachine", SHOGUN_BASIC_CLASS __new_CGaussianProcessMachine},
1626 {"MMDKernelSelectionMax", SHOGUN_BASIC_CLASS __new_CMMDKernelSelectionMax},
1627 {"LinearTimeMMD", SHOGUN_BASIC_CLASS __new_CLinearTimeMMD},
1628 {"MMDKernelSelectionCombOpt", SHOGUN_BASIC_CLASS __new_CMMDKernelSelectionCombOpt},
1629 {"KernelMeanMatching", SHOGUN_BASIC_CLASS __new_CKernelMeanMatching},
1630 {"MMDKernelSelectionMedian", SHOGUN_BASIC_CLASS __new_CMMDKernelSelectionMedian},
1632 {"MMDKernelSelectionOpt", SHOGUN_BASIC_CLASS __new_CMMDKernelSelectionOpt},
1633 {"QuadraticTimeMMD", SHOGUN_BASIC_CLASS __new_CQuadraticTimeMMD},
1634 {"MMDKernelSelectionCombMaxL2", SHOGUN_BASIC_CLASS __new_CMMDKernelSelectionCombMaxL2},
1635 {"GaussianARDKernel", SHOGUN_BASIC_CLASS __new_CGaussianARDKernel},
1636 {"DistanceKernel", SHOGUN_BASIC_CLASS __new_CDistanceKernel},
1637 {"WaveletKernel", SHOGUN_BASIC_CLASS __new_CWaveletKernel},
1638 {"InverseMultiQuadricKernel", SHOGUN_BASIC_CLASS __new_CInverseMultiQuadricKernel},
1639 {"BesselKernel", SHOGUN_BASIC_CLASS __new_CBesselKernel},
1640 {"SqrtDiagKernelNormalizer", SHOGUN_BASIC_CLASS __new_CSqrtDiagKernelNormalizer},
1641 {"DiceKernelNormalizer", SHOGUN_BASIC_CLASS __new_CDiceKernelNormalizer},
1642 {"VarianceKernelNormalizer", SHOGUN_BASIC_CLASS __new_CVarianceKernelNormalizer},
1643 {"RidgeKernelNormalizer", SHOGUN_BASIC_CLASS __new_CRidgeKernelNormalizer},
1644 {"ZeroMeanCenterKernelNormalizer", SHOGUN_BASIC_CLASS __new_CZeroMeanCenterKernelNormalizer},
1645 {"IdentityKernelNormalizer", SHOGUN_BASIC_CLASS __new_CIdentityKernelNormalizer},
1646 {"AvgDiagKernelNormalizer", SHOGUN_BASIC_CLASS __new_CAvgDiagKernelNormalizer},
1647 {"ScatterKernelNormalizer", SHOGUN_BASIC_CLASS __new_CScatterKernelNormalizer},
1648 {"TanimotoKernelNormalizer", SHOGUN_BASIC_CLASS __new_CTanimotoKernelNormalizer},
1649 {"FirstElementKernelNormalizer", SHOGUN_BASIC_CLASS __new_CFirstElementKernelNormalizer},
1650 {"ConstKernel", SHOGUN_BASIC_CLASS __new_CConstKernel},
1651 {"DiagKernel", SHOGUN_BASIC_CLASS __new_CDiagKernel},
1652 {"SigmoidKernel", SHOGUN_BASIC_CLASS __new_CSigmoidKernel},
1653 {"WeightedDegreeRBFKernel", SHOGUN_BASIC_CLASS __new_CWeightedDegreeRBFKernel},
1654 {"SplineKernel", SHOGUN_BASIC_CLASS __new_CSplineKernel},
1655 {"CombinedKernel", SHOGUN_BASIC_CLASS __new_CCombinedKernel},
1656 {"ProductKernel", SHOGUN_BASIC_CLASS __new_CProductKernel},
1657 {"PolyKernel", SHOGUN_BASIC_CLASS __new_CPolyKernel},
1658 {"GaussianKernel", SHOGUN_BASIC_CLASS __new_CGaussianKernel},
1659 {"LinearARDKernel", SHOGUN_BASIC_CLASS __new_CLinearARDKernel},
1660 {"Chi2Kernel", SHOGUN_BASIC_CLASS __new_CChi2Kernel},
1661 {"CommUlongStringKernel", SHOGUN_BASIC_CLASS __new_CCommUlongStringKernel},
1662 {"FixedDegreeStringKernel", SHOGUN_BASIC_CLASS __new_CFixedDegreeStringKernel},
1663 {"SalzbergWordStringKernel", SHOGUN_BASIC_CLASS __new_CSalzbergWordStringKernel},
1664 {"SNPStringKernel", SHOGUN_BASIC_CLASS __new_CSNPStringKernel},
1665 {"PolyMatchStringKernel", SHOGUN_BASIC_CLASS __new_CPolyMatchStringKernel},
1666 {"WeightedCommWordStringKernel", SHOGUN_BASIC_CLASS __new_CWeightedCommWordStringKernel},
1667 {"LinearStringKernel", SHOGUN_BASIC_CLASS __new_CLinearStringKernel},
1668 {"CommWordStringKernel", SHOGUN_BASIC_CLASS __new_CCommWordStringKernel},
1669 {"LocalAlignmentStringKernel", SHOGUN_BASIC_CLASS __new_CLocalAlignmentStringKernel},
1670 {"PolyMatchWordStringKernel", SHOGUN_BASIC_CLASS __new_CPolyMatchWordStringKernel},
1671 {"WeightedDegreePositionStringKernel", SHOGUN_BASIC_CLASS __new_CWeightedDegreePositionStringKernel},
1672 {"DistantSegmentsKernel", SHOGUN_BASIC_CLASS __new_CDistantSegmentsKernel},
1673 {"LocalityImprovedStringKernel", SHOGUN_BASIC_CLASS __new_CLocalityImprovedStringKernel},
1674 {"SparseSpatialSampleStringKernel", SHOGUN_BASIC_CLASS __new_CSparseSpatialSampleStringKernel},
1675 {"RegulatoryModulesStringKernel", SHOGUN_BASIC_CLASS __new_CRegulatoryModulesStringKernel},
1676 {"SimpleLocalityImprovedStringKernel", SHOGUN_BASIC_CLASS __new_CSimpleLocalityImprovedStringKernel},
1677 {"HistogramWordStringKernel", SHOGUN_BASIC_CLASS __new_CHistogramWordStringKernel},
1678 {"SpectrumRBFKernel", SHOGUN_BASIC_CLASS __new_CSpectrumRBFKernel},
1679 {"MatchWordStringKernel", SHOGUN_BASIC_CLASS __new_CMatchWordStringKernel},
1680 {"WeightedDegreeStringKernel", SHOGUN_BASIC_CLASS __new_CWeightedDegreeStringKernel},
1681 {"OligoStringKernel", SHOGUN_BASIC_CLASS __new_COligoStringKernel},
1682 {"SpectrumMismatchRBFKernel", SHOGUN_BASIC_CLASS __new_CSpectrumMismatchRBFKernel},
1683 {"GaussianMatchStringKernel", SHOGUN_BASIC_CLASS __new_CGaussianMatchStringKernel},
1684 {"GaussianShortRealKernel", SHOGUN_BASIC_CLASS __new_CGaussianShortRealKernel},
1685 {"PyramidChi2", SHOGUN_BASIC_CLASS __new_CPyramidChi2},
1686 {"LogKernel", SHOGUN_BASIC_CLASS __new_CLogKernel},
1687 {"PowerKernel", SHOGUN_BASIC_CLASS __new_CPowerKernel},
1688 {"WaveKernel", SHOGUN_BASIC_CLASS __new_CWaveKernel},
1689 {"CircularKernel", SHOGUN_BASIC_CLASS __new_CCircularKernel},
1690 {"AUCKernel", SHOGUN_BASIC_CLASS __new_CAUCKernel},
1691 {"ANOVAKernel", SHOGUN_BASIC_CLASS __new_CANOVAKernel},
1692 {"MultiquadricKernel", SHOGUN_BASIC_CLASS __new_CMultiquadricKernel},
1693 {"HistogramIntersectionKernel", SHOGUN_BASIC_CLASS __new_CHistogramIntersectionKernel},
1694 {"LinearKernel", SHOGUN_BASIC_CLASS __new_CLinearKernel},
1695 {"SphericalKernel", SHOGUN_BASIC_CLASS __new_CSphericalKernel},
1696 {"CauchyKernel", SHOGUN_BASIC_CLASS __new_CCauchyKernel},
1697 {"TensorProductPairKernel", SHOGUN_BASIC_CLASS __new_CTensorProductPairKernel},
1698 {"ExponentialKernel", SHOGUN_BASIC_CLASS __new_CExponentialKernel},
1699 {"GaussianShiftKernel", SHOGUN_BASIC_CLASS __new_CGaussianShiftKernel},
1700 {"JensenShannonKernel", SHOGUN_BASIC_CLASS __new_CJensenShannonKernel},
1701 {"RationalQuadraticKernel", SHOGUN_BASIC_CLASS __new_CRationalQuadraticKernel},
1702 {"CustomKernel", SHOGUN_BASIC_CLASS __new_CCustomKernel},
1703 {"TStudentKernel", SHOGUN_BASIC_CLASS __new_CTStudentKernel},
1704 {"StreamingVwCacheFile", SHOGUN_BASIC_CLASS __new_CStreamingVwCacheFile},
1705 {"StreamingFile", SHOGUN_BASIC_CLASS __new_CStreamingFile},
1706 {"StreamingVwFile", SHOGUN_BASIC_CLASS __new_CStreamingVwFile},
1707 {"StreamingAsciiFile", SHOGUN_BASIC_CLASS __new_CStreamingAsciiFile},
1708 {"StreamingFileFromFeatures", SHOGUN_BASIC_CLASS __new_CStreamingFileFromFeatures},
1709 {"SerializableAsciiFile", SHOGUN_BASIC_CLASS __new_CSerializableAsciiFile},
1710 {"Parser", SHOGUN_BASIC_CLASS __new_CParser},
1711 {"BinaryFile", SHOGUN_BASIC_CLASS __new_CBinaryFile},
1712 {"LineReader", SHOGUN_BASIC_CLASS __new_CLineReader},
1713 {"LibSVMFile", SHOGUN_BASIC_CLASS __new_CLibSVMFile},
1714 {"IOBuffer", SHOGUN_BASIC_CLASS __new_CIOBuffer},
1715 {"CSVFile", SHOGUN_BASIC_CLASS __new_CCSVFile},
1716 {"LatentSVM", SHOGUN_BASIC_CLASS __new_CLatentSVM},
1717 {"LatentSOSVM", SHOGUN_BASIC_CLASS __new_CLatentSOSVM},
1720 {"GaussianDistribution", SHOGUN_BASIC_CLASS __new_CGaussianDistribution},
1721 {"Histogram", SHOGUN_BASIC_CLASS __new_CHistogram},
1722 {"Gaussian", SHOGUN_BASIC_CLASS __new_CGaussian},
1723 {"PositionalPWM", SHOGUN_BASIC_CLASS __new_CPositionalPWM},
1724 {"LinearHMM", SHOGUN_BASIC_CLASS __new_CLinearHMM},
1725 {"MKLRegression", SHOGUN_BASIC_CLASS __new_CMKLRegression},
1726 {"SVRLight", SHOGUN_BASIC_CLASS __new_CSVRLight},
1727 {"LibLinearRegression", SHOGUN_BASIC_CLASS __new_CLibLinearRegression},
1728 {"LibSVR", SHOGUN_BASIC_CLASS __new_CLibSVR},
1729 {"LeastAngleRegression", SHOGUN_BASIC_CLASS __new_CLeastAngleRegression},
1730 {"GaussianProcessRegression", SHOGUN_BASIC_CLASS __new_CGaussianProcessRegression},
1731 {"KernelRidgeRegression", SHOGUN_BASIC_CLASS __new_CKernelRidgeRegression},
1732 {"LeastSquaresRegression", SHOGUN_BASIC_CLASS __new_CLeastSquaresRegression},
1733 {"LinearRidgeRegression", SHOGUN_BASIC_CLASS __new_CLinearRidgeRegression},
1734 {"LogPlusOne", SHOGUN_BASIC_CLASS __new_CLogPlusOne},
1735 {"PNorm", SHOGUN_BASIC_CLASS __new_CPNorm},
1736 {"SortUlongString", SHOGUN_BASIC_CLASS __new_CSortUlongString},
1737 {"RescaleFeatures", SHOGUN_BASIC_CLASS __new_CRescaleFeatures},
1738 {"KernelPCA", SHOGUN_BASIC_CLASS __new_CKernelPCA},
1739 {"NormOne", SHOGUN_BASIC_CLASS __new_CNormOne},
1740 {"RandomFourierGaussPreproc", SHOGUN_BASIC_CLASS __new_CRandomFourierGaussPreproc},
1741 {"HomogeneousKernelMap", SHOGUN_BASIC_CLASS __new_CHomogeneousKernelMap},
1742 {"SortWordString", SHOGUN_BASIC_CLASS __new_CSortWordString},
1743 {"SumOne", SHOGUN_BASIC_CLASS __new_CSumOne},
1745 {"PruneVarSubMean", SHOGUN_BASIC_CLASS __new_CPruneVarSubMean},
1746 {"DimensionReductionPreprocessor", SHOGUN_BASIC_CLASS __new_CDimensionReductionPreprocessor},
1747 {"ManhattanMetric", SHOGUN_BASIC_CLASS __new_CManhattanMetric},
1748 {"ManhattanWordDistance", SHOGUN_BASIC_CLASS __new_CManhattanWordDistance},
1749 {"JensenMetric", SHOGUN_BASIC_CLASS __new_CJensenMetric},
1750 {"MahalanobisDistance", SHOGUN_BASIC_CLASS __new_CMahalanobisDistance},
1751 {"TanimotoDistance", SHOGUN_BASIC_CLASS __new_CTanimotoDistance},
1752 {"CanberraMetric", SHOGUN_BASIC_CLASS __new_CCanberraMetric},
1753 {"CanberraWordDistance", SHOGUN_BASIC_CLASS __new_CCanberraWordDistance},
1754 {"ChebyshewMetric", SHOGUN_BASIC_CLASS __new_CChebyshewMetric},
1755 {"BrayCurtisDistance", SHOGUN_BASIC_CLASS __new_CBrayCurtisDistance},
1756 {"MinkowskiMetric", SHOGUN_BASIC_CLASS __new_CMinkowskiMetric},
1757 {"SparseEuclideanDistance", SHOGUN_BASIC_CLASS __new_CSparseEuclideanDistance},
1758 {"AttenuatedEuclideanDistance", SHOGUN_BASIC_CLASS __new_CAttenuatedEuclideanDistance},
1759 {"HammingWordDistance", SHOGUN_BASIC_CLASS __new_CHammingWordDistance},
1760 {"CustomMahalanobisDistance", SHOGUN_BASIC_CLASS __new_CCustomMahalanobisDistance},
1761 {"EuclideanDistance", SHOGUN_BASIC_CLASS __new_CEuclideanDistance},
1762 {"ChiSquareDistance", SHOGUN_BASIC_CLASS __new_CChiSquareDistance},
1763 {"CosineDistance", SHOGUN_BASIC_CLASS __new_CCosineDistance},
1764 {"GeodesicMetric", SHOGUN_BASIC_CLASS __new_CGeodesicMetric},
1765 {"CustomDistance", SHOGUN_BASIC_CLASS __new_CCustomDistance},
1766 {"KernelDistance", SHOGUN_BASIC_CLASS __new_CKernelDistance},
1768 {"LMNNStatistics", SHOGUN_BASIC_CLASS __new_CLMNNStatistics},
1769 {"IndexBlockTree", SHOGUN_BASIC_CLASS __new_CIndexBlockTree},
1770 {"NGramTokenizer", SHOGUN_BASIC_CLASS __new_CNGramTokenizer},
1771 {"IndexBlock", SHOGUN_BASIC_CLASS __new_CIndexBlock},
1773 {"Signal", SHOGUN_BASIC_CLASS __new_CSignal},
1774 {"IndexBlockGroup", SHOGUN_BASIC_CLASS __new_CIndexBlockGroup},
1776 {"BitString", SHOGUN_BASIC_CLASS __new_CBitString},
1777 {"Compressor", SHOGUN_BASIC_CLASS __new_CCompressor},
1779 {"DynamicObjectArray", SHOGUN_BASIC_CLASS __new_CDynamicObjectArray},
1780 {"CircularBuffer", SHOGUN_BASIC_CLASS __new_CCircularBuffer},
1781 {"SerialComputationEngine", SHOGUN_BASIC_CLASS __new_CSerialComputationEngine},
1782 {"JobResult", SHOGUN_BASIC_CLASS __new_CJobResult},
1783 {"DelimiterTokenizer", SHOGUN_BASIC_CLASS __new_CDelimiterTokenizer},
1784 {"StructuredData", SHOGUN_BASIC_CLASS __new_CStructuredData},
1785 {"ListElement", SHOGUN_BASIC_CLASS __new_CListElement},
1787 {"CrossValidationPrintOutput", SHOGUN_BASIC_CLASS __new_CCrossValidationPrintOutput},
1788 {"MulticlassAccuracy", SHOGUN_BASIC_CLASS __new_CMulticlassAccuracy},
1789 {"ROCEvaluation", SHOGUN_BASIC_CLASS __new_CROCEvaluation},
1790 {"MeanSquaredLogError", SHOGUN_BASIC_CLASS __new_CMeanSquaredLogError},
1791 {"StratifiedCrossValidationSplitting", SHOGUN_BASIC_CLASS __new_CStratifiedCrossValidationSplitting},
1792 {"ContingencyTableEvaluation", SHOGUN_BASIC_CLASS __new_CContingencyTableEvaluation},
1793 {"AccuracyMeasure", SHOGUN_BASIC_CLASS __new_CAccuracyMeasure},
1794 {"ErrorRateMeasure", SHOGUN_BASIC_CLASS __new_CErrorRateMeasure},
1795 {"BALMeasure", SHOGUN_BASIC_CLASS __new_CBALMeasure},
1796 {"WRACCMeasure", SHOGUN_BASIC_CLASS __new_CWRACCMeasure},
1797 {"F1Measure", SHOGUN_BASIC_CLASS __new_CF1Measure},
1798 {"CrossCorrelationMeasure", SHOGUN_BASIC_CLASS __new_CCrossCorrelationMeasure},
1799 {"RecallMeasure", SHOGUN_BASIC_CLASS __new_CRecallMeasure},
1800 {"PrecisionMeasure", SHOGUN_BASIC_CLASS __new_CPrecisionMeasure},
1801 {"SpecificityMeasure", SHOGUN_BASIC_CLASS __new_CSpecificityMeasure},
1802 {"MeanAbsoluteError", SHOGUN_BASIC_CLASS __new_CMeanAbsoluteError},
1803 {"GradientResult", SHOGUN_BASIC_CLASS __new_CGradientResult},
1804 {"GradientEvaluation", SHOGUN_BASIC_CLASS __new_CGradientEvaluation},
1805 {"CrossValidationResult", SHOGUN_BASIC_CLASS __new_CCrossValidationResult},
1806 {"CrossValidation", SHOGUN_BASIC_CLASS __new_CCrossValidation},
1807 {"ClusteringMutualInformation", SHOGUN_BASIC_CLASS __new_CClusteringMutualInformation},
1808 {"MulticlassOVREvaluation", SHOGUN_BASIC_CLASS __new_CMulticlassOVREvaluation},
1809 {"ClusteringAccuracy", SHOGUN_BASIC_CLASS __new_CClusteringAccuracy},
1810 {"GradientCriterion", SHOGUN_BASIC_CLASS __new_CGradientCriterion},
1811 {"CrossValidationMKLStorage", SHOGUN_BASIC_CLASS __new_CCrossValidationMKLStorage},
1812 {"CrossValidationMulticlassStorage", SHOGUN_BASIC_CLASS __new_CCrossValidationMulticlassStorage},
1813 {"CrossValidationSplitting", SHOGUN_BASIC_CLASS __new_CCrossValidationSplitting},
1814 {"MeanSquaredError", SHOGUN_BASIC_CLASS __new_CMeanSquaredError},
1815 {"PRCEvaluation", SHOGUN_BASIC_CLASS __new_CPRCEvaluation},
1816 {"StructuredAccuracy", SHOGUN_BASIC_CLASS __new_CStructuredAccuracy},
1817 {"TaskGroup", SHOGUN_BASIC_CLASS __new_CTaskGroup},
1818 {"MultitaskKernelNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelNormalizer},
1819 {"MultitaskTraceLogisticRegression", SHOGUN_BASIC_CLASS __new_CMultitaskTraceLogisticRegression},
1820 {"MultitaskLinearMachine", SHOGUN_BASIC_CLASS __new_CMultitaskLinearMachine},
1821 {"MultitaskROCEvaluation", SHOGUN_BASIC_CLASS __new_CMultitaskROCEvaluation},
1823 {"Taxonomy", SHOGUN_BASIC_CLASS __new_CTaxonomy},
1824 {"MultitaskKernelTreeNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelTreeNormalizer},
1826 {"MultitaskKernelPlifNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelPlifNormalizer},
1827 {"MultitaskL12LogisticRegression", SHOGUN_BASIC_CLASS __new_CMultitaskL12LogisticRegression},
1828 {"MultitaskKernelMaskNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelMaskNormalizer},
1829 {"MultitaskKernelMaskPairNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelMaskPairNormalizer},
1830 {"LibLinearMTL", SHOGUN_BASIC_CLASS __new_CLibLinearMTL},
1831 {"MultitaskLogisticRegression", SHOGUN_BASIC_CLASS __new_CMultitaskLogisticRegression},
1832 {"TaskTree", SHOGUN_BASIC_CLASS __new_CTaskTree},
1833 {"MultitaskClusteredLogisticRegression", SHOGUN_BASIC_CLASS __new_CMultitaskClusteredLogisticRegression},
1834 {"MultitaskLeastSquaresRegression", SHOGUN_BASIC_CLASS __new_CMultitaskLeastSquaresRegression},
1835 {"DomainAdaptationMulticlassLibLinear", SHOGUN_BASIC_CLASS __new_CDomainAdaptationMulticlassLibLinear},
1836 {"DomainAdaptationSVM", SHOGUN_BASIC_CLASS __new_CDomainAdaptationSVM},
1837 {"DomainAdaptationSVMLinear", SHOGUN_BASIC_CLASS __new_CDomainAdaptationSVMLinear},
1839 {"MKLOneClass", SHOGUN_BASIC_CLASS __new_CMKLOneClass},
1840 {"MKLClassification", SHOGUN_BASIC_CLASS __new_CMKLClassification},
1841 {"MKLMulticlass", SHOGUN_BASIC_CLASS __new_CMKLMulticlass},
1842 {"Perceptron", SHOGUN_BASIC_CLASS __new_CPerceptron},
1843 {"NearestCentroid", SHOGUN_BASIC_CLASS __new_CNearestCentroid},
1844 {"GaussianProcessBinaryClassification", SHOGUN_BASIC_CLASS __new_CGaussianProcessBinaryClassification},
1845 {"FeatureBlockLogisticRegression", SHOGUN_BASIC_CLASS __new_CFeatureBlockLogisticRegression},
1846 {"VowpalWabbit", SHOGUN_BASIC_CLASS __new_CVowpalWabbit},
1847 {"VwParser", SHOGUN_BASIC_CLASS __new_CVwParser},
1848 {"VwNativeCacheReader", SHOGUN_BASIC_CLASS __new_CVwNativeCacheReader},
1849 {"VwNativeCacheWriter", SHOGUN_BASIC_CLASS __new_CVwNativeCacheWriter},
1850 {"VwRegressor", SHOGUN_BASIC_CLASS __new_CVwRegressor},
1851 {"VwEnvironment", SHOGUN_BASIC_CLASS __new_CVwEnvironment},
1852 {"VwNonAdaptiveLearner", SHOGUN_BASIC_CLASS __new_CVwNonAdaptiveLearner},
1853 {"VwAdaptiveLearner", SHOGUN_BASIC_CLASS __new_CVwAdaptiveLearner},
1854 {"SGDQN", SHOGUN_BASIC_CLASS __new_CSGDQN},
1855 {"QPBSVMLib", SHOGUN_BASIC_CLASS __new_CQPBSVMLib},
1856 {"LibSVM", SHOGUN_BASIC_CLASS __new_CLibSVM},
1857 {"SVMLightOneClass", SHOGUN_BASIC_CLASS __new_CSVMLightOneClass},
1858 {"WDSVMOcas", SHOGUN_BASIC_CLASS __new_CWDSVMOcas},
1859 {"GPBTSVM", SHOGUN_BASIC_CLASS __new_CGPBTSVM},
1860 {"OnlineLibLinear", SHOGUN_BASIC_CLASS __new_COnlineLibLinear},
1861 {"SVMOcas", SHOGUN_BASIC_CLASS __new_CSVMOcas},
1862 {"SVMLin", SHOGUN_BASIC_CLASS __new_CSVMLin},
1863 {"NewtonSVM", SHOGUN_BASIC_CLASS __new_CNewtonSVM},
1864 {"GNPPLib", SHOGUN_BASIC_CLASS __new_CGNPPLib},
1865 {"LibSVMOneClass", SHOGUN_BASIC_CLASS __new_CLibSVMOneClass},
1866 {"MPDSVM", SHOGUN_BASIC_CLASS __new_CMPDSVM},
1867 {"GNPPSVM", SHOGUN_BASIC_CLASS __new_CGNPPSVM},
1868 {"SVMLight", SHOGUN_BASIC_CLASS __new_CSVMLight},
1869 {"LibLinear", SHOGUN_BASIC_CLASS __new_CLibLinear},
1870 {"OnlineSVMSGD", SHOGUN_BASIC_CLASS __new_COnlineSVMSGD},
1872 {"SVMSGD", SHOGUN_BASIC_CLASS __new_CSVMSGD},
1873 {"AveragedPerceptron", SHOGUN_BASIC_CLASS __new_CAveragedPerceptron},
1874 {"PluginEstimate", SHOGUN_BASIC_CLASS __new_CPluginEstimate},
1875 {"NeighborhoodPreservingEmbedding", SHOGUN_BASIC_CLASS __new_CNeighborhoodPreservingEmbedding},
1876 {"StochasticProximityEmbedding", SHOGUN_BASIC_CLASS __new_CStochasticProximityEmbedding},
1877 {"LaplacianEigenmaps", SHOGUN_BASIC_CLASS __new_CLaplacianEigenmaps},
1878 {"MultidimensionalScaling", SHOGUN_BASIC_CLASS __new_CMultidimensionalScaling},
1879 {"HessianLocallyLinearEmbedding", SHOGUN_BASIC_CLASS __new_CHessianLocallyLinearEmbedding},
1880 {"DiffusionMaps", SHOGUN_BASIC_CLASS __new_CDiffusionMaps},
1881 {"LinearLocalTangentSpaceAlignment", SHOGUN_BASIC_CLASS __new_CLinearLocalTangentSpaceAlignment},
1882 {"LocallyLinearEmbedding", SHOGUN_BASIC_CLASS __new_CLocallyLinearEmbedding},
1883 {"FactorAnalysis", SHOGUN_BASIC_CLASS __new_CFactorAnalysis},
1885 {"UWedgeSep", SHOGUN_BASIC_CLASS __new_CUWedgeSep},
1886 {"FastICA", SHOGUN_BASIC_CLASS __new_CFastICA},
1887 {"FFSep", SHOGUN_BASIC_CLASS __new_CFFSep},
1888 {"JediSep", SHOGUN_BASIC_CLASS __new_CJediSep},
1890 {"Isomap", SHOGUN_BASIC_CLASS __new_CIsomap},
1891 {"HashedDocConverter", SHOGUN_BASIC_CLASS __new_CHashedDocConverter},
1892 {"KernelLocallyLinearEmbedding", SHOGUN_BASIC_CLASS __new_CKernelLocallyLinearEmbedding},
1893 {"TDistributedStochasticNeighborEmbedding", SHOGUN_BASIC_CLASS __new_CTDistributedStochasticNeighborEmbedding},
1894 {"LocalityPreservingProjections", SHOGUN_BASIC_CLASS __new_CLocalityPreservingProjections},
1895 {"LocalTangentSpaceAlignment", SHOGUN_BASIC_CLASS __new_CLocalTangentSpaceAlignment},
1896 {"ManifoldSculpting", SHOGUN_BASIC_CLASS __new_CManifoldSculpting},
1897 {"LabelsFactory", SHOGUN_BASIC_CLASS __new_CLabelsFactory},
1898 {"FactorGraphObservation", SHOGUN_BASIC_CLASS __new_CFactorGraphObservation},
1899 {"FactorGraphLabels", SHOGUN_BASIC_CLASS __new_CFactorGraphLabels},
1900 {"LatentLabels", SHOGUN_BASIC_CLASS __new_CLatentLabels},
1901 {"BinaryLabels", SHOGUN_BASIC_CLASS __new_CBinaryLabels},
1902 {"StructuredLabels", SHOGUN_BASIC_CLASS __new_CStructuredLabels},
1903 {"MulticlassMultipleOutputLabels", SHOGUN_BASIC_CLASS __new_CMulticlassMultipleOutputLabels},
1904 {"RegressionLabels", SHOGUN_BASIC_CLASS __new_CRegressionLabels},
1905 {"MulticlassLabels", SHOGUN_BASIC_CLASS __new_CMulticlassLabels},
1906 {"ModelSelectionParameters", SHOGUN_BASIC_CLASS __new_CModelSelectionParameters},
1907 {"GridSearchModelSelection", SHOGUN_BASIC_CLASS __new_CGridSearchModelSelection},
1908 {"ParameterCombination", SHOGUN_BASIC_CLASS __new_CParameterCombination},
1909 {"GradientModelSelection", SHOGUN_BASIC_CLASS __new_CGradientModelSelection},
1910 {"RandomSearchModelSelection", SHOGUN_BASIC_CLASS __new_CRandomSearchModelSelection},
1911 {"SmoothHingeLoss", SHOGUN_BASIC_CLASS __new_CSmoothHingeLoss},
1912 {"LogLoss", SHOGUN_BASIC_CLASS __new_CLogLoss},
1913 {"SquaredHingeLoss", SHOGUN_BASIC_CLASS __new_CSquaredHingeLoss},
1914 {"LogLossMargin", SHOGUN_BASIC_CLASS __new_CLogLossMargin},
1915 {"SquaredLoss", SHOGUN_BASIC_CLASS __new_CSquaredLoss},
1916 {"HingeLoss", SHOGUN_BASIC_CLASS __new_CHingeLoss},
1917 {"RandomFourierDotFeatures", SHOGUN_BASIC_CLASS __new_CRandomFourierDotFeatures},
1918 {"StreamingHashedDocDotFeatures", SHOGUN_BASIC_CLASS __new_CStreamingHashedDocDotFeatures},
1919 {"MeanShiftDataGenerator", SHOGUN_BASIC_CLASS __new_CMeanShiftDataGenerator},
1920 {"GaussianBlobsDataGenerator", SHOGUN_BASIC_CLASS __new_CGaussianBlobsDataGenerator},
1921 {"StreamingVwFeatures", SHOGUN_BASIC_CLASS __new_CStreamingVwFeatures},
1922 {"CombinedDotFeatures", SHOGUN_BASIC_CLASS __new_CCombinedDotFeatures},
1923 {"FKFeatures", SHOGUN_BASIC_CLASS __new_CFKFeatures},
1924 {"HashedWDFeatures", SHOGUN_BASIC_CLASS __new_CHashedWDFeatures},
1925 {"SNPFeatures", SHOGUN_BASIC_CLASS __new_CSNPFeatures},
1926 {"BinnedDotFeatures", SHOGUN_BASIC_CLASS __new_CBinnedDotFeatures},
1927 {"Alphabet", SHOGUN_BASIC_CLASS __new_CAlphabet},
1928 {"HashedWDFeaturesTransposed", SHOGUN_BASIC_CLASS __new_CHashedWDFeaturesTransposed},
1929 {"RealFileFeatures", SHOGUN_BASIC_CLASS __new_CRealFileFeatures},
1930 {"SparsePolyFeatures", SHOGUN_BASIC_CLASS __new_CSparsePolyFeatures},
1931 {"LatentFeatures", SHOGUN_BASIC_CLASS __new_CLatentFeatures},
1932 {"HashedDocDotFeatures", SHOGUN_BASIC_CLASS __new_CHashedDocDotFeatures},
1933 {"CombinedFeatures", SHOGUN_BASIC_CLASS __new_CCombinedFeatures},
1934 {"Subset", SHOGUN_BASIC_CLASS __new_CSubset},
1935 {"ExplicitSpecFeatures", SHOGUN_BASIC_CLASS __new_CExplicitSpecFeatures},
1936 {"SubsetStack", SHOGUN_BASIC_CLASS __new_CSubsetStack},
1937 {"DataGenerator", SHOGUN_BASIC_CLASS __new_CDataGenerator},
1938 {"DummyFeatures", SHOGUN_BASIC_CLASS __new_CDummyFeatures},
1939 {"FactorGraphFeatures", SHOGUN_BASIC_CLASS __new_CFactorGraphFeatures},
1940 {"WDFeatures", SHOGUN_BASIC_CLASS __new_CWDFeatures},
1941 {"PolyFeatures", SHOGUN_BASIC_CLASS __new_CPolyFeatures},
1942 {"TOPFeatures", SHOGUN_BASIC_CLASS __new_CTOPFeatures},
1943 {"LBPPyrDotFeatures", SHOGUN_BASIC_CLASS __new_CLBPPyrDotFeatures},
1944 {"ImplicitWeightedSpecFeatures", SHOGUN_BASIC_CLASS __new_CImplicitWeightedSpecFeatures},
1946 {"KMeans", SHOGUN_BASIC_CLASS __new_CKMeans},
1947 {"Hierarchical", SHOGUN_BASIC_CLASS __new_CHierarchical},
1948 {"SparseInverseCovariance", SHOGUN_BASIC_CLASS __new_CSparseInverseCovariance},
1949 {"Random", SHOGUN_BASIC_CLASS __new_CRandom},
1950 {"Integration", SHOGUN_BASIC_CLASS __new_CIntegration},
1951 {"JacobiEllipticFunctions", SHOGUN_BASIC_CLASS __new_CJacobiEllipticFunctions},
1952 {"QDiag", SHOGUN_BASIC_CLASS __new_CQDiag},
1953 {"JediDiag", SHOGUN_BASIC_CLASS __new_CJediDiag},
1954 {"JADiagOrth", SHOGUN_BASIC_CLASS __new_CJADiagOrth},
1955 {"JADiag", SHOGUN_BASIC_CLASS __new_CJADiag},
1956 {"FFDiag", SHOGUN_BASIC_CLASS __new_CFFDiag},
1957 {"UWedge", SHOGUN_BASIC_CLASS __new_CUWedge},
1958 {"Statistics", SHOGUN_BASIC_CLASS __new_CStatistics},
1959 {"DirectEigenSolver", SHOGUN_BASIC_CLASS __new_CDirectEigenSolver},
1960 {"LanczosEigenSolver", SHOGUN_BASIC_CLASS __new_CLanczosEigenSolver},
1961 {"NormalSampler", SHOGUN_BASIC_CLASS __new_CNormalSampler},
1962 {"IndividualJobResultAggregator", SHOGUN_BASIC_CLASS __new_CIndividualJobResultAggregator},
1963 {"RationalApproximationCGMJob", SHOGUN_BASIC_CLASS __new_CRationalApproximationCGMJob},
1964 {"DenseExactLogJob", SHOGUN_BASIC_CLASS __new_CDenseExactLogJob},
1965 {"RationalApproximationIndividualJob", SHOGUN_BASIC_CLASS __new_CRationalApproximationIndividualJob},
1966 {"LogDetEstimator", SHOGUN_BASIC_CLASS __new_CLogDetEstimator},
1967 {"DenseMatrixExactLog", SHOGUN_BASIC_CLASS __new_CDenseMatrixExactLog},
1968 {"LogRationalApproximationIndividual", SHOGUN_BASIC_CLASS __new_CLogRationalApproximationIndividual},
1969 {"LogRationalApproximationCGM", SHOGUN_BASIC_CLASS __new_CLogRationalApproximationCGM},
1970 {"DirectSparseLinearSolver", SHOGUN_BASIC_CLASS __new_CDirectSparseLinearSolver},
1971 {"ConjugateGradientSolver", SHOGUN_BASIC_CLASS __new_CConjugateGradientSolver},
1972 {"DirectLinearSolverComplex", SHOGUN_BASIC_CLASS __new_CDirectLinearSolverComplex},
1974 {"ShareBoost", SHOGUN_BASIC_CLASS __new_CShareBoost},
1975 {"RandomConditionalProbabilityTree", SHOGUN_BASIC_CLASS __new_CRandomConditionalProbabilityTree},
1976 {"BalancedConditionalProbabilityTree", SHOGUN_BASIC_CLASS __new_CBalancedConditionalProbabilityTree},
1977 {"RelaxedTree", SHOGUN_BASIC_CLASS __new_CRelaxedTree},
1978 {"ScatterSVM", SHOGUN_BASIC_CLASS __new_CScatterSVM},
1979 {"MulticlassLibSVM", SHOGUN_BASIC_CLASS __new_CMulticlassLibSVM},
1980 {"GMNPSVM", SHOGUN_BASIC_CLASS __new_CGMNPSVM},
1981 {"MulticlassTreeGuidedLogisticRegression", SHOGUN_BASIC_CLASS __new_CMulticlassTreeGuidedLogisticRegression},
1982 {"MCLDA", SHOGUN_BASIC_CLASS __new_CMCLDA},
1984 {"MulticlassSVM", SHOGUN_BASIC_CLASS __new_CMulticlassSVM},
1985 {"MulticlassLogisticRegression", SHOGUN_BASIC_CLASS __new_CMulticlassLogisticRegression},
1986 {"MulticlassOneVsOneStrategy", SHOGUN_BASIC_CLASS __new_CMulticlassOneVsOneStrategy},
1987 {"LaRank", SHOGUN_BASIC_CLASS __new_CLaRank},
1988 {"ECOCDiscriminantEncoder", SHOGUN_BASIC_CLASS __new_CECOCDiscriminantEncoder},
1989 {"ECOCLLBDecoder", SHOGUN_BASIC_CLASS __new_CECOCLLBDecoder},
1990 {"ECOCStrategy", SHOGUN_BASIC_CLASS __new_CECOCStrategy},
1991 {"ECOCOVOEncoder", SHOGUN_BASIC_CLASS __new_CECOCOVOEncoder},
1992 {"ECOCHDDecoder", SHOGUN_BASIC_CLASS __new_CECOCHDDecoder},
1993 {"ECOCForestEncoder", SHOGUN_BASIC_CLASS __new_CECOCForestEncoder},
1994 {"ECOCRandomDenseEncoder", SHOGUN_BASIC_CLASS __new_CECOCRandomDenseEncoder},
1995 {"ECOCRandomSparseEncoder", SHOGUN_BASIC_CLASS __new_CECOCRandomSparseEncoder},
1996 {"ECOCIHDDecoder", SHOGUN_BASIC_CLASS __new_CECOCIHDDecoder},
1997 {"ECOCAEDDecoder", SHOGUN_BASIC_CLASS __new_CECOCAEDDecoder},
1998 {"ECOCOVREncoder", SHOGUN_BASIC_CLASS __new_CECOCOVREncoder},
1999 {"ECOCEDDecoder", SHOGUN_BASIC_CLASS __new_CECOCEDDecoder},
2000 {"MulticlassOneVsRestStrategy", SHOGUN_BASIC_CLASS __new_CMulticlassOneVsRestStrategy},
2001 {"GaussianNaiveBayes", SHOGUN_BASIC_CLASS __new_CGaussianNaiveBayes},
2002 {"ThresholdRejectionStrategy", SHOGUN_BASIC_CLASS __new_CThresholdRejectionStrategy},
2003 {"DixonQTestRejectionStrategy", SHOGUN_BASIC_CLASS __new_CDixonQTestRejectionStrategy},
2004 {"GMNPLib", SHOGUN_BASIC_CLASS __new_CGMNPLib},
2005 {"MulticlassOCAS", SHOGUN_BASIC_CLASS __new_CMulticlassOCAS},
2006 {"MulticlassLibLinear", SHOGUN_BASIC_CLASS __new_CMulticlassLibLinear},
2008 {"MAPInference", SHOGUN_BASIC_CLASS __new_CMAPInference},
2009 {"TwoStateModel", SHOGUN_BASIC_CLASS __new_CTwoStateModel},
2010 {"DynProg", SHOGUN_BASIC_CLASS __new_CDynProg},
2011 {"MulticlassModel", SHOGUN_BASIC_CLASS __new_CMulticlassModel},
2012 {"DisjointSet", SHOGUN_BASIC_CLASS __new_CDisjointSet},
2013 {"PlifArray", SHOGUN_BASIC_CLASS __new_CPlifArray},
2014 {"FactorGraph", SHOGUN_BASIC_CLASS __new_CFactorGraph},
2015 {"CCSOSVM", SHOGUN_BASIC_CLASS __new_CCCSOSVM},
2016 {"Sequence", SHOGUN_BASIC_CLASS __new_CSequence},
2017 {"SequenceLabels", SHOGUN_BASIC_CLASS __new_CSequenceLabels},
2018 {"FactorType", SHOGUN_BASIC_CLASS __new_CFactorType},
2019 {"TableFactorType", SHOGUN_BASIC_CLASS __new_CTableFactorType},
2020 {"DualLibQPBMSOSVM", SHOGUN_BASIC_CLASS __new_CDualLibQPBMSOSVM},
2021 {"FactorGraphModel", SHOGUN_BASIC_CLASS __new_CFactorGraphModel},
2022 {"SegmentLoss", SHOGUN_BASIC_CLASS __new_CSegmentLoss},
2024 {"HMSVMModel", SHOGUN_BASIC_CLASS __new_CHMSVMModel},
2025 {"PlifMatrix", SHOGUN_BASIC_CLASS __new_CPlifMatrix},
2026 {"MulticlassSOLabels", SHOGUN_BASIC_CLASS __new_CMulticlassSOLabels},
2027 {"IntronList", SHOGUN_BASIC_CLASS __new_CIntronList},
2028 {"FactorDataSource", SHOGUN_BASIC_CLASS __new_CFactorDataSource},
2029 {"Factor", SHOGUN_BASIC_CLASS __new_CFactor},
2030 {"ParseBuffer", SHOGUN_TEMPLATE_CLASS __new_CParseBuffer},
2031 {"StreamingFileFromSparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingFileFromSparseFeatures},
2032 {"StreamingFileFromStringFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingFileFromStringFeatures},
2033 {"StreamingFileFromDenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingFileFromDenseFeatures},
2035 {"MemoryMappedFile", SHOGUN_TEMPLATE_CLASS __new_CMemoryMappedFile},
2036 {"BinaryStream", SHOGUN_TEMPLATE_CLASS __new_CBinaryStream},
2037 {"DecompressString", SHOGUN_TEMPLATE_CLASS __new_CDecompressString},
2039 {"DynamicArray", SHOGUN_TEMPLATE_CLASS __new_CDynamicArray},
2041 {"StringFileFeatures", SHOGUN_TEMPLATE_CLASS __new_CStringFileFeatures},
2042 {"StreamingSparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingSparseFeatures},
2043 {"StreamingHashedSparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingHashedSparseFeatures},
2044 {"StreamingDenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingDenseFeatures},
2045 {"StreamingStringFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingStringFeatures},
2046 {"StreamingHashedDenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingHashedDenseFeatures},
2047 {"MatrixFeatures", SHOGUN_TEMPLATE_CLASS __new_CMatrixFeatures},
2048 {"HashedDenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CHashedDenseFeatures},
2049 {"HashedSparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CHashedSparseFeatures},
2050 {"DenseSubsetFeatures", SHOGUN_TEMPLATE_CLASS __new_CDenseSubsetFeatures},
2051 {"DenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CDenseFeatures},
2052 {"StringFeatures", SHOGUN_TEMPLATE_CLASS __new_CStringFeatures},
2053 {"SparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CSparseFeatures},
2054 {"TreeMachine", SHOGUN_TEMPLATE_CLASS __new_CTreeMachine},
2055 {"StoreScalarAggregator", SHOGUN_TEMPLATE_CLASS __new_CStoreScalarAggregator},
2056 {"VectorResult", SHOGUN_TEMPLATE_CLASS __new_CVectorResult},
2057 {"ScalarResult", SHOGUN_TEMPLATE_CLASS __new_CScalarResult},
2058 {"SparseMatrixOperator", SHOGUN_TEMPLATE_CLASS __new_CSparseMatrixOperator},
2059 {"DenseMatrixOperator", SHOGUN_TEMPLATE_CLASS __new_CDenseMatrixOperator}, {NULL, NULL}
2060 };
2061 
2062 CSGObject* shogun::new_sgserializable(const char* sgserializable_name,
2063  EPrimitiveType generic)
2064 {
2065  for (class_list_entry_t* i=class_list; i->m_class_name != NULL;
2066  i++)
2067  {
2068  if (strncmp(i->m_class_name, sgserializable_name, STRING_LEN) == 0)
2069  return i->m_new_sgserializable(generic);
2070  }
2071 
2072  return NULL;
2073 }

SHOGUN Machine Learning Toolbox - Documentation