Advertisement
Guest User

Untitled

a guest
Jun 10th, 2017
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 168.34 KB | None | 0 0
  1. /*
  2.  * Copyright (c) The Shogun Machine Learning Toolbox
  3.  * Copyright (c) 2009 Fraunhofer Institute FIRST and Max-Planck-Society
  4.  * Written (w) 2009 Soeren Sonnenburg
  5.  * Written (w) 2016 - 2017 Heiko Strathmann
  6.  * All rights reserved.
  7.  *
  8.  * Redistribution and use in source and binary forms, with or without
  9.  * modification, are permitted provided that the following conditions are met:
  10.  *
  11.  * 1. Redistributions of source code must retain the above copyright notice, this
  12.  *    list of conditions and the following disclaimer.
  13.  * 2. Redistributions in binary form must reproduce the above copyright notice,
  14.  *    this list of conditions and the following disclaimer in the documentation
  15.  *    and/or other materials provided with the distribution.
  16.  *
  17.  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
  18.  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
  19.  * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  20.  * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
  21.  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
  22.  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
  23.  * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
  24.  * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
  25.  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  26.  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  27.  *
  28.  * The views and conclusions contained in the software and documentation are those
  29.  * of the authors and should not be interpreted as representing official policies,
  30.  * either expressed or implied, of the Shogun Development Team.
  31.  */
  32.  
  33. #include <shogun/lib/common.h>
  34. #include <shogun/base/class_list.h>
  35. #include <string.h>
  36.  
  37. #include <shogun/classifier/AveragedPerceptron.h>
  38. #include <shogun/classifier/FeatureBlockLogisticRegression.h>
  39. #include <shogun/classifier/GaussianProcessClassification.h>
  40. #include <shogun/classifier/LDA.h>
  41. #include <shogun/classifier/NearestCentroid.h>
  42. #include <shogun/classifier/Perceptron.h>
  43. #include <shogun/classifier/PluginEstimate.h>
  44. #include <shogun/classifier/mkl/MKLClassification.h>
  45. #include <shogun/classifier/mkl/MKLMulticlass.h>
  46. #include <shogun/classifier/mkl/MKLOneClass.h>
  47. #include <shogun/classifier/svm/GNPPLib.h>
  48. #include <shogun/classifier/svm/GNPPSVM.h>
  49. #include <shogun/classifier/svm/GPBTSVM.h>
  50. #include <shogun/classifier/svm/LibLinear.h>
  51. #include <shogun/classifier/svm/LibSVM.h>
  52. #include <shogun/classifier/svm/LibSVMOneClass.h>
  53. #include <shogun/classifier/svm/MPDSVM.h>
  54. #include <shogun/classifier/svm/NewtonSVM.h>
  55. #include <shogun/classifier/svm/OnlineLibLinear.h>
  56. #include <shogun/classifier/svm/OnlineSVMSGD.h>
  57. #include <shogun/classifier/svm/QPBSVMLib.h>
  58. #include <shogun/classifier/svm/SGDQN.h>
  59. #include <shogun/classifier/svm/SVM.h>
  60. #include <shogun/classifier/svm/SVMLight.h>
  61. #include <shogun/classifier/svm/SVMLightOneClass.h>
  62. #include <shogun/classifier/svm/SVMLin.h>
  63. #include <shogun/classifier/svm/SVMOcas.h>
  64. #include <shogun/classifier/svm/SVMSGD.h>
  65. #include <shogun/classifier/svm/WDSVMOcas.h>
  66. #include <shogun/classifier/vw/VowpalWabbit.h>
  67. #include <shogun/classifier/vw/VwEnvironment.h>
  68. #include <shogun/classifier/vw/VwParser.h>
  69. #include <shogun/classifier/vw/VwRegressor.h>
  70. #include <shogun/classifier/vw/cache/VwNativeCacheReader.h>
  71. #include <shogun/classifier/vw/cache/VwNativeCacheWriter.h>
  72. #include <shogun/classifier/vw/learners/VwAdaptiveLearner.h>
  73. #include <shogun/classifier/vw/learners/VwNonAdaptiveLearner.h>
  74. #include <shogun/clustering/GMM.h>
  75. #include <shogun/clustering/Hierarchical.h>
  76. #include <shogun/clustering/KMeans.h>
  77. #include <shogun/clustering/KMeansBase.h>
  78. #include <shogun/clustering/KMeansMiniBatch.h>
  79. #include <shogun/converter/DiffusionMaps.h>
  80. #include <shogun/converter/FactorAnalysis.h>
  81. #include <shogun/converter/HashedDocConverter.h>
  82. #include <shogun/converter/HessianLocallyLinearEmbedding.h>
  83. #include <shogun/converter/Isomap.h>
  84. #include <shogun/converter/KernelLocallyLinearEmbedding.h>
  85. #include <shogun/converter/LaplacianEigenmaps.h>
  86. #include <shogun/converter/LinearLocalTangentSpaceAlignment.h>
  87. #include <shogun/converter/LocalTangentSpaceAlignment.h>
  88. #include <shogun/converter/LocalityPreservingProjections.h>
  89. #include <shogun/converter/LocallyLinearEmbedding.h>
  90. #include <shogun/converter/ManifoldSculpting.h>
  91. #include <shogun/converter/MultidimensionalScaling.h>
  92. #include <shogun/converter/NeighborhoodPreservingEmbedding.h>
  93. #include <shogun/converter/StochasticProximityEmbedding.h>
  94. #include <shogun/converter/TDistributedStochasticNeighborEmbedding.h>
  95. #include <shogun/converter/ica/FFSep.h>
  96. #include <shogun/converter/ica/FastICA.h>
  97. #include <shogun/converter/ica/Jade.h>
  98. #include <shogun/converter/ica/JediSep.h>
  99. #include <shogun/converter/ica/SOBI.h>
  100. #include <shogun/converter/ica/UWedgeSep.h>
  101. #include <shogun/distance/AttenuatedEuclideanDistance.h>
  102. #include <shogun/distance/BrayCurtisDistance.h>
  103. #include <shogun/distance/CanberraMetric.h>
  104. #include <shogun/distance/CanberraWordDistance.h>
  105. #include <shogun/distance/ChebyshewMetric.h>
  106. #include <shogun/distance/ChiSquareDistance.h>
  107. #include <shogun/distance/CosineDistance.h>
  108. #include <shogun/distance/CustomDistance.h>
  109. #include <shogun/distance/CustomMahalanobisDistance.h>
  110. #include <shogun/distance/EuclideanDistance.h>
  111. #include <shogun/distance/GeodesicMetric.h>
  112. #include <shogun/distance/HammingWordDistance.h>
  113. #include <shogun/distance/JensenMetric.h>
  114. #include <shogun/distance/KernelDistance.h>
  115. #include <shogun/distance/MahalanobisDistance.h>
  116. #include <shogun/distance/ManhattanMetric.h>
  117. #include <shogun/distance/ManhattanWordDistance.h>
  118. #include <shogun/distance/MinkowskiMetric.h>
  119. #include <shogun/distance/SparseEuclideanDistance.h>
  120. #include <shogun/distance/TanimotoDistance.h>
  121. #include <shogun/distributions/EMMixtureModel.h>
  122. #include <shogun/distributions/Gaussian.h>
  123. #include <shogun/distributions/HMM.h>
  124. #include <shogun/distributions/Histogram.h>
  125. #include <shogun/distributions/KernelDensity.h>
  126. #include <shogun/distributions/LinearHMM.h>
  127. #include <shogun/distributions/MixtureModel.h>
  128. #include <shogun/distributions/PositionalPWM.h>
  129. #include <shogun/distributions/classical/GaussianDistribution.h>
  130. #include <shogun/ensemble/MajorityVote.h>
  131. #include <shogun/ensemble/MeanRule.h>
  132. #include <shogun/ensemble/WeightedMajorityVote.h>
  133. #include <shogun/evaluation/ClusteringAccuracy.h>
  134. #include <shogun/evaluation/ClusteringMutualInformation.h>
  135. #include <shogun/evaluation/ContingencyTableEvaluation.h>
  136. #include <shogun/evaluation/CrossValidation.h>
  137. #include <shogun/evaluation/CrossValidationMKLStorage.h>
  138. #include <shogun/evaluation/CrossValidationMulticlassStorage.h>
  139. #include <shogun/evaluation/CrossValidationPrintOutput.h>
  140. #include <shogun/evaluation/CrossValidationSplitting.h>
  141. #include <shogun/evaluation/GradientCriterion.h>
  142. #include <shogun/evaluation/GradientEvaluation.h>
  143. #include <shogun/evaluation/GradientResult.h>
  144. #include <shogun/evaluation/LOOCrossValidationSplitting.h>
  145. #include <shogun/evaluation/MeanAbsoluteError.h>
  146. #include <shogun/evaluation/MeanSquaredError.h>
  147. #include <shogun/evaluation/MeanSquaredLogError.h>
  148. #include <shogun/evaluation/MulticlassAccuracy.h>
  149. #include <shogun/evaluation/MulticlassOVREvaluation.h>
  150. #include <shogun/evaluation/MultilabelAccuracy.h>
  151. #include <shogun/evaluation/PRCEvaluation.h>
  152. #include <shogun/evaluation/ROCEvaluation.h>
  153. #include <shogun/evaluation/StratifiedCrossValidationSplitting.h>
  154. #include <shogun/evaluation/StructuredAccuracy.h>
  155. #include <shogun/features/Alphabet.h>
  156. #include <shogun/features/BinnedDotFeatures.h>
  157. #include <shogun/features/CombinedDotFeatures.h>
  158. #include <shogun/features/CombinedFeatures.h>
  159. #include <shogun/features/DataGenerator.h>
  160. #include <shogun/features/DummyFeatures.h>
  161. #include <shogun/features/ExplicitSpecFeatures.h>
  162. #include <shogun/features/FKFeatures.h>
  163. #include <shogun/features/FactorGraphFeatures.h>
  164. #include <shogun/features/ImplicitWeightedSpecFeatures.h>
  165. #include <shogun/features/IndexFeatures.h>
  166. #include <shogun/features/LBPPyrDotFeatures.h>
  167. #include <shogun/features/LatentFeatures.h>
  168. #include <shogun/features/PolyFeatures.h>
  169. #include <shogun/features/RandomFourierDotFeatures.h>
  170. #include <shogun/features/RealFileFeatures.h>
  171. #include <shogun/features/SNPFeatures.h>
  172. #include <shogun/features/SparsePolyFeatures.h>
  173. #include <shogun/features/Subset.h>
  174. #include <shogun/features/SubsetStack.h>
  175. #include <shogun/features/TOPFeatures.h>
  176. #include <shogun/features/WDFeatures.h>
  177. #include <shogun/features/hashed/HashedDocDotFeatures.h>
  178. #include <shogun/features/hashed/HashedWDFeatures.h>
  179. #include <shogun/features/hashed/HashedWDFeaturesTransposed.h>
  180. #include <shogun/features/streaming/StreamingHashedDocDotFeatures.h>
  181. #include <shogun/features/streaming/StreamingVwFeatures.h>
  182. #include <shogun/features/streaming/generators/GaussianBlobsDataGenerator.h>
  183. #include <shogun/features/streaming/generators/MeanShiftDataGenerator.h>
  184. #include <shogun/io/BinaryFile.h>
  185. #include <shogun/io/CSVFile.h>
  186. #include <shogun/io/File.h>
  187. #include <shogun/io/IOBuffer.h>
  188. #include <shogun/io/LibSVMFile.h>
  189. #include <shogun/io/LineReader.h>
  190. #include <shogun/io/NeuralNetworkFileReader.h>
  191. #include <shogun/io/Parser.h>
  192. #include <shogun/io/ProtobufFile.h>
  193. #include <shogun/io/SerializableAsciiFile.h>
  194. #include <shogun/io/UAIFile.h>
  195. #include <shogun/io/streaming/StreamingAsciiFile.h>
  196. #include <shogun/io/streaming/StreamingFile.h>
  197. #include <shogun/io/streaming/StreamingFileFromFeatures.h>
  198. #include <shogun/io/streaming/StreamingVwCacheFile.h>
  199. #include <shogun/io/streaming/StreamingVwFile.h>
  200. #include <shogun/kernel/ANOVAKernel.h>
  201. #include <shogun/kernel/AUCKernel.h>
  202. #include <shogun/kernel/BesselKernel.h>
  203. #include <shogun/kernel/CauchyKernel.h>
  204. #include <shogun/kernel/Chi2Kernel.h>
  205. #include <shogun/kernel/CircularKernel.h>
  206. #include <shogun/kernel/CombinedKernel.h>
  207. #include <shogun/kernel/ConstKernel.h>
  208. #include <shogun/kernel/CustomKernel.h>
  209. #include <shogun/kernel/DiagKernel.h>
  210. #include <shogun/kernel/DistanceKernel.h>
  211. #include <shogun/kernel/ExponentialKernel.h>
  212. #include <shogun/kernel/GaussianARDKernel.h>
  213. #include <shogun/kernel/GaussianCompactKernel.h>
  214. #include <shogun/kernel/GaussianKernel.h>
  215. #include <shogun/kernel/GaussianShiftKernel.h>
  216. #include <shogun/kernel/GaussianShortRealKernel.h>
  217. #include <shogun/kernel/HistogramIntersectionKernel.h>
  218. #include <shogun/kernel/InverseMultiQuadricKernel.h>
  219. #include <shogun/kernel/JensenShannonKernel.h>
  220. #include <shogun/kernel/LinearKernel.h>
  221. #include <shogun/kernel/LogKernel.h>
  222. #include <shogun/kernel/MultiquadricKernel.h>
  223. #include <shogun/kernel/PeriodicKernel.h>
  224. #include <shogun/kernel/PolyKernel.h>
  225. #include <shogun/kernel/PowerKernel.h>
  226. #include <shogun/kernel/ProductKernel.h>
  227. #include <shogun/kernel/PyramidChi2.h>
  228. #include <shogun/kernel/RationalQuadraticKernel.h>
  229. #include <shogun/kernel/SigmoidKernel.h>
  230. #include <shogun/kernel/SphericalKernel.h>
  231. #include <shogun/kernel/SplineKernel.h>
  232. #include <shogun/kernel/TStudentKernel.h>
  233. #include <shogun/kernel/TensorProductPairKernel.h>
  234. #include <shogun/kernel/WaveKernel.h>
  235. #include <shogun/kernel/WaveletKernel.h>
  236. #include <shogun/kernel/WeightedDegreeRBFKernel.h>
  237. #include <shogun/kernel/normalizer/AvgDiagKernelNormalizer.h>
  238. #include <shogun/kernel/normalizer/DiceKernelNormalizer.h>
  239. #include <shogun/kernel/normalizer/FirstElementKernelNormalizer.h>
  240. #include <shogun/kernel/normalizer/IdentityKernelNormalizer.h>
  241. #include <shogun/kernel/normalizer/RidgeKernelNormalizer.h>
  242. #include <shogun/kernel/normalizer/ScatterKernelNormalizer.h>
  243. #include <shogun/kernel/normalizer/SqrtDiagKernelNormalizer.h>
  244. #include <shogun/kernel/normalizer/TanimotoKernelNormalizer.h>
  245. #include <shogun/kernel/normalizer/VarianceKernelNormalizer.h>
  246. #include <shogun/kernel/normalizer/ZeroMeanCenterKernelNormalizer.h>
  247. #include <shogun/kernel/string/CommUlongStringKernel.h>
  248. #include <shogun/kernel/string/CommWordStringKernel.h>
  249. #include <shogun/kernel/string/DistantSegmentsKernel.h>
  250. #include <shogun/kernel/string/FixedDegreeStringKernel.h>
  251. #include <shogun/kernel/string/GaussianMatchStringKernel.h>
  252. #include <shogun/kernel/string/HistogramWordStringKernel.h>
  253. #include <shogun/kernel/string/LinearStringKernel.h>
  254. #include <shogun/kernel/string/LocalAlignmentStringKernel.h>
  255. #include <shogun/kernel/string/LocalityImprovedStringKernel.h>
  256. #include <shogun/kernel/string/MatchWordStringKernel.h>
  257. #include <shogun/kernel/string/OligoStringKernel.h>
  258. #include <shogun/kernel/string/PolyMatchStringKernel.h>
  259. #include <shogun/kernel/string/PolyMatchWordStringKernel.h>
  260. #include <shogun/kernel/string/RegulatoryModulesStringKernel.h>
  261. #include <shogun/kernel/string/SNPStringKernel.h>
  262. #include <shogun/kernel/string/SalzbergWordStringKernel.h>
  263. #include <shogun/kernel/string/SimpleLocalityImprovedStringKernel.h>
  264. #include <shogun/kernel/string/SparseSpatialSampleStringKernel.h>
  265. #include <shogun/kernel/string/SpectrumMismatchRBFKernel.h>
  266. #include <shogun/kernel/string/SpectrumRBFKernel.h>
  267. #include <shogun/kernel/string/SubsequenceStringKernel.h>
  268. #include <shogun/kernel/string/WeightedCommWordStringKernel.h>
  269. #include <shogun/kernel/string/WeightedDegreePositionStringKernel.h>
  270. #include <shogun/kernel/string/WeightedDegreeStringKernel.h>
  271. #include <shogun/labels/BinaryLabels.h>
  272. #include <shogun/labels/FactorGraphLabels.h>
  273. #include <shogun/labels/LabelsFactory.h>
  274. #include <shogun/labels/LatentLabels.h>
  275. #include <shogun/labels/MulticlassLabels.h>
  276. #include <shogun/labels/MultilabelLabels.h>
  277. #include <shogun/labels/RegressionLabels.h>
  278. #include <shogun/labels/StructuredLabels.h>
  279. #include <shogun/latent/LatentSOSVM.h>
  280. #include <shogun/latent/LatentSVM.h>
  281. #include <shogun/lib/BitString.h>
  282. #include <shogun/lib/CircularBuffer.h>
  283. #include <shogun/lib/Compressor.h>
  284. #include <shogun/lib/Data.h>
  285. #include <shogun/lib/DelimiterTokenizer.h>
  286. #include <shogun/lib/DynamicArray.h>
  287. #include <shogun/lib/DynamicObjectArray.h>
  288. #include <shogun/lib/Hash.h>
  289. #include <shogun/lib/IndexBlock.h>
  290. #include <shogun/lib/IndexBlockGroup.h>
  291. #include <shogun/lib/IndexBlockTree.h>
  292. #include <shogun/lib/List.h>
  293. #include <shogun/lib/NGramTokenizer.h>
  294. #include <shogun/lib/Signal.h>
  295. #include <shogun/lib/StructuredData.h>
  296. #include <shogun/lib/Time.h>
  297. #include <shogun/lib/WrappedObjectArray.h>
  298. #include <shogun/lib/computation/engine/SerialComputationEngine.h>
  299. #include <shogun/lib/computation/jobresult/JobResult.h>
  300. #include <shogun/loss/AbsoluteDeviationLoss.h>
  301. #include <shogun/loss/ExponentialLoss.h>
  302. #include <shogun/loss/HingeLoss.h>
  303. #include <shogun/loss/HuberLoss.h>
  304. #include <shogun/loss/LogLoss.h>
  305. #include <shogun/loss/LogLossMargin.h>
  306. #include <shogun/loss/SmoothHingeLoss.h>
  307. #include <shogun/loss/SquaredHingeLoss.h>
  308. #include <shogun/loss/SquaredLoss.h>
  309. #include <shogun/machine/BaggingMachine.h>
  310. #include <shogun/machine/BaseMulticlassMachine.h>
  311. #include <shogun/machine/DistanceMachine.h>
  312. #include <shogun/machine/GaussianProcessMachine.h>
  313. #include <shogun/machine/KernelMachine.h>
  314. #include <shogun/machine/KernelMulticlassMachine.h>
  315. #include <shogun/machine/KernelStructuredOutputMachine.h>
  316. #include <shogun/machine/LinearMachine.h>
  317. #include <shogun/machine/LinearMulticlassMachine.h>
  318. #include <shogun/machine/LinearStructuredOutputMachine.h>
  319. #include <shogun/machine/Machine.h>
  320. #include <shogun/machine/NativeMulticlassMachine.h>
  321. #include <shogun/machine/OnlineLinearMachine.h>
  322. #include <shogun/machine/RandomForest.h>
  323. #include <shogun/machine/StochasticGBMachine.h>
  324. #include <shogun/machine/StructuredOutputMachine.h>
  325. #include <shogun/machine/gp/ConstMean.h>
  326. #include <shogun/machine/gp/EPInferenceMethod.h>
  327. #include <shogun/machine/gp/ExactInferenceMethod.h>
  328. #include <shogun/machine/gp/FITCInferenceMethod.h>
  329. #include <shogun/machine/gp/GaussianARDSparseKernel.h>
  330. #include <shogun/machine/gp/GaussianLikelihood.h>
  331. #include <shogun/machine/gp/KLCholeskyInferenceMethod.h>
  332. #include <shogun/machine/gp/KLCovarianceInferenceMethod.h>
  333. #include <shogun/machine/gp/KLDiagonalInferenceMethod.h>
  334. #include <shogun/machine/gp/KLDualInferenceMethod.h>
  335. #include <shogun/machine/gp/LogitDVGLikelihood.h>
  336. #include <shogun/machine/gp/LogitLikelihood.h>
  337. #include <shogun/machine/gp/LogitVGLikelihood.h>
  338. #include <shogun/machine/gp/LogitVGPiecewiseBoundLikelihood.h>
  339. #include <shogun/machine/gp/MultiLaplaceInferenceMethod.h>
  340. #include <shogun/machine/gp/ProbitLikelihood.h>
  341. #include <shogun/machine/gp/ProbitVGLikelihood.h>
  342. #include <shogun/machine/gp/SingleFITCLaplaceInferenceMethod.h>
  343. #include <shogun/machine/gp/SingleLaplaceInferenceMethod.h>
  344. #include <shogun/machine/gp/SoftMaxLikelihood.h>
  345. #include <shogun/machine/gp/StudentsTLikelihood.h>
  346. #include <shogun/machine/gp/StudentsTVGLikelihood.h>
  347. #include <shogun/machine/gp/VarDTCInferenceMethod.h>
  348. #include <shogun/machine/gp/ZeroMean.h>
  349. #include <shogun/mathematics/Integration.h>
  350. #include <shogun/mathematics/JacobiEllipticFunctions.h>
  351. #include <shogun/mathematics/Math.h>
  352. #include <shogun/mathematics/Random.h>
  353. #include <shogun/mathematics/SparseInverseCovariance.h>
  354. #include <shogun/mathematics/Statistics.h>
  355. #include <shogun/mathematics/ajd/FFDiag.h>
  356. #include <shogun/mathematics/ajd/JADiag.h>
  357. #include <shogun/mathematics/ajd/JADiagOrth.h>
  358. #include <shogun/mathematics/ajd/JediDiag.h>
  359. #include <shogun/mathematics/ajd/QDiag.h>
  360. #include <shogun/mathematics/ajd/UWedge.h>
  361. #include <shogun/mathematics/linalg/eigsolver/DirectEigenSolver.h>
  362. #include <shogun/mathematics/linalg/eigsolver/LanczosEigenSolver.h>
  363. #include <shogun/mathematics/linalg/linsolver/ConjugateGradientSolver.h>
  364. #include <shogun/mathematics/linalg/linsolver/DirectLinearSolverComplex.h>
  365. #include <shogun/mathematics/linalg/linsolver/DirectSparseLinearSolver.h>
  366. #include <shogun/mathematics/linalg/ratapprox/logdet/LogDetEstimator.h>
  367. #include <shogun/mathematics/linalg/ratapprox/logdet/computation/aggregator/IndividualJobResultAggregator.h>
  368. #include <shogun/mathematics/linalg/ratapprox/logdet/computation/job/DenseExactLogJob.h>
  369. #include <shogun/mathematics/linalg/ratapprox/logdet/computation/job/RationalApproximationCGMJob.h>
  370. #include <shogun/mathematics/linalg/ratapprox/logdet/computation/job/RationalApproximationIndividualJob.h>
  371. #include <shogun/mathematics/linalg/ratapprox/logdet/opfunc/DenseMatrixExactLog.h>
  372. #include <shogun/mathematics/linalg/ratapprox/logdet/opfunc/LogRationalApproximationCGM.h>
  373. #include <shogun/mathematics/linalg/ratapprox/logdet/opfunc/LogRationalApproximationIndividual.h>
  374. #include <shogun/mathematics/linalg/ratapprox/tracesampler/NormalSampler.h>
  375. #include <shogun/mathematics/linalg/ratapprox/tracesampler/ProbingSampler.h>
  376. #include <shogun/metric/LMNN.h>
  377. #include <shogun/modelselection/GradientModelSelection.h>
  378. #include <shogun/modelselection/GridSearchModelSelection.h>
  379. #include <shogun/modelselection/ModelSelectionParameters.h>
  380. #include <shogun/modelselection/ParameterCombination.h>
  381. #include <shogun/modelselection/RandomSearchModelSelection.h>
  382. #include <shogun/multiclass/BruteKNNSolver.h>
  383. #include <shogun/multiclass/CoverTreeKNNSolver.h>
  384. #include <shogun/multiclass/GMNPLib.h>
  385. #include <shogun/multiclass/GMNPSVM.h>
  386. #include <shogun/multiclass/GaussianNaiveBayes.h>
  387. #include <shogun/multiclass/KNN.h>
  388. #include <shogun/multiclass/LSHKNNSolver.h>
  389. #include <shogun/multiclass/LaRank.h>
  390. #include <shogun/multiclass/MCLDA.h>
  391. #include <shogun/multiclass/MulticlassLibLinear.h>
  392. #include <shogun/multiclass/MulticlassLibSVM.h>
  393. #include <shogun/multiclass/MulticlassOCAS.h>
  394. #include <shogun/multiclass/MulticlassOneVsOneStrategy.h>
  395. #include <shogun/multiclass/MulticlassOneVsRestStrategy.h>
  396. #include <shogun/multiclass/MulticlassSVM.h>
  397. #include <shogun/multiclass/QDA.h>
  398. #include <shogun/multiclass/ScatterSVM.h>
  399. #include <shogun/multiclass/ShareBoost.h>
  400. #include <shogun/multiclass/ecoc/ECOCAEDDecoder.h>
  401. #include <shogun/multiclass/ecoc/ECOCDiscriminantEncoder.h>
  402. #include <shogun/multiclass/ecoc/ECOCEDDecoder.h>
  403. #include <shogun/multiclass/ecoc/ECOCForestEncoder.h>
  404. #include <shogun/multiclass/ecoc/ECOCHDDecoder.h>
  405. #include <shogun/multiclass/ecoc/ECOCIHDDecoder.h>
  406. #include <shogun/multiclass/ecoc/ECOCLLBDecoder.h>
  407. #include <shogun/multiclass/ecoc/ECOCOVOEncoder.h>
  408. #include <shogun/multiclass/ecoc/ECOCOVREncoder.h>
  409. #include <shogun/multiclass/ecoc/ECOCRandomDenseEncoder.h>
  410. #include <shogun/multiclass/ecoc/ECOCRandomSparseEncoder.h>
  411. #include <shogun/multiclass/ecoc/ECOCStrategy.h>
  412. #include <shogun/multiclass/tree/BalancedConditionalProbabilityTree.h>
  413. #include <shogun/multiclass/tree/BallTree.h>
  414. #include <shogun/multiclass/tree/C45ClassifierTree.h>
  415. #include <shogun/multiclass/tree/CARTree.h>
  416. #include <shogun/multiclass/tree/CHAIDTree.h>
  417. #include <shogun/multiclass/tree/ID3ClassifierTree.h>
  418. #include <shogun/multiclass/tree/KDTree.h>
  419. #include <shogun/multiclass/tree/RandomCARTree.h>
  420. #include <shogun/multiclass/tree/RandomConditionalProbabilityTree.h>
  421. #include <shogun/multiclass/tree/RelaxedTree.h>
  422. #include <shogun/neuralnets/Autoencoder.h>
  423. #include <shogun/neuralnets/DeepAutoencoder.h>
  424. #include <shogun/neuralnets/DeepBeliefNetwork.h>
  425. #include <shogun/neuralnets/NeuralConvolutionalLayer.h>
  426. #include <shogun/neuralnets/NeuralInputLayer.h>
  427. #include <shogun/neuralnets/NeuralLayer.h>
  428. #include <shogun/neuralnets/NeuralLayers.h>
  429. #include <shogun/neuralnets/NeuralLeakyRectifiedLinearLayer.h>
  430. #include <shogun/neuralnets/NeuralLinearLayer.h>
  431. #include <shogun/neuralnets/NeuralLogisticLayer.h>
  432. #include <shogun/neuralnets/NeuralNetwork.h>
  433. #include <shogun/neuralnets/NeuralRectifiedLinearLayer.h>
  434. #include <shogun/neuralnets/NeuralSoftmaxLayer.h>
  435. #include <shogun/neuralnets/RBM.h>
  436. #include <shogun/optimization/lbfgs/LBFGSMinimizer.h>
  437. #include <shogun/preprocessor/DimensionReductionPreprocessor.h>
  438. #include <shogun/preprocessor/FisherLDA.h>
  439. #include <shogun/preprocessor/HomogeneousKernelMap.h>
  440. #include <shogun/preprocessor/KernelPCA.h>
  441. #include <shogun/preprocessor/LogPlusOne.h>
  442. #include <shogun/preprocessor/NormOne.h>
  443. #include <shogun/preprocessor/PCA.h>
  444. #include <shogun/preprocessor/PNorm.h>
  445. #include <shogun/preprocessor/PruneVarSubMean.h>
  446. #include <shogun/preprocessor/RandomFourierGaussPreproc.h>
  447. #include <shogun/preprocessor/RescaleFeatures.h>
  448. #include <shogun/preprocessor/SortUlongString.h>
  449. #include <shogun/preprocessor/SortWordString.h>
  450. #include <shogun/preprocessor/SumOne.h>
  451. #include <shogun/regression/GaussianProcessRegression.h>
  452. #include <shogun/regression/KRRNystrom.h>
  453. #include <shogun/regression/KernelRidgeRegression.h>
  454. #include <shogun/regression/LeastAngleRegression.h>
  455. #include <shogun/regression/LeastSquaresRegression.h>
  456. #include <shogun/regression/LinearRidgeRegression.h>
  457. #include <shogun/regression/svr/LibLinearRegression.h>
  458. #include <shogun/regression/svr/LibSVR.h>
  459. #include <shogun/regression/svr/MKLRegression.h>
  460. #include <shogun/regression/svr/SVRLight.h>
  461. #include <shogun/statistical_testing/BTestMMD.h>
  462. #include <shogun/statistical_testing/LinearTimeMMD.h>
  463. #include <shogun/statistical_testing/MultiKernelQuadraticTimeMMD.h>
  464. #include <shogun/statistical_testing/QuadraticTimeMMD.h>
  465. #include <shogun/statistical_testing/kernelselection/KernelSelectionStrategy.h>
  466. #include <shogun/structure/CCSOSVM.h>
  467. #include <shogun/structure/DisjointSet.h>
  468. #include <shogun/structure/DualLibQPBMSOSVM.h>
  469. #include <shogun/structure/DynProg.h>
  470. #include <shogun/structure/FWSOSVM.h>
  471. #include <shogun/structure/Factor.h>
  472. #include <shogun/structure/FactorGraph.h>
  473. #include <shogun/structure/FactorGraphDataGenerator.h>
  474. #include <shogun/structure/FactorGraphModel.h>
  475. #include <shogun/structure/FactorType.h>
  476. #include <shogun/structure/GEMPLP.h>
  477. #include <shogun/structure/GraphCut.h>
  478. #include <shogun/structure/HMSVMModel.h>
  479. #include <shogun/structure/HashedMultilabelModel.h>
  480. #include <shogun/structure/HierarchicalMultilabelModel.h>
  481. #include <shogun/structure/IntronList.h>
  482. #include <shogun/structure/MAPInference.h>
  483. #include <shogun/structure/MulticlassModel.h>
  484. #include <shogun/structure/MulticlassSOLabels.h>
  485. #include <shogun/structure/MultilabelCLRModel.h>
  486. #include <shogun/structure/MultilabelModel.h>
  487. #include <shogun/structure/MultilabelSOLabels.h>
  488. #include <shogun/structure/Plif.h>
  489. #include <shogun/structure/PlifArray.h>
  490. #include <shogun/structure/PlifMatrix.h>
  491. #include <shogun/structure/SOSVMHelper.h>
  492. #include <shogun/structure/SegmentLoss.h>
  493. #include <shogun/structure/SequenceLabels.h>
  494. #include <shogun/structure/StochasticSOSVM.h>
  495. #include <shogun/structure/TwoStateModel.h>
  496. #include <shogun/transfer/domain_adaptation/DomainAdaptationMulticlassLibLinear.h>
  497. #include <shogun/transfer/domain_adaptation/DomainAdaptationSVM.h>
  498. #include <shogun/transfer/domain_adaptation/DomainAdaptationSVMLinear.h>
  499. #include <shogun/transfer/multitask/LibLinearMTL.h>
  500. #include <shogun/transfer/multitask/MultitaskKernelMaskNormalizer.h>
  501. #include <shogun/transfer/multitask/MultitaskKernelMaskPairNormalizer.h>
  502. #include <shogun/transfer/multitask/MultitaskKernelNormalizer.h>
  503. #include <shogun/transfer/multitask/MultitaskKernelPlifNormalizer.h>
  504. #include <shogun/transfer/multitask/MultitaskKernelTreeNormalizer.h>
  505. #include <shogun/transfer/multitask/MultitaskL12LogisticRegression.h>
  506. #include <shogun/transfer/multitask/MultitaskLeastSquaresRegression.h>
  507. #include <shogun/transfer/multitask/MultitaskLinearMachine.h>
  508. #include <shogun/transfer/multitask/MultitaskLogisticRegression.h>
  509. #include <shogun/transfer/multitask/MultitaskROCEvaluation.h>
  510. #include <shogun/transfer/multitask/MultitaskTraceLogisticRegression.h>
  511. #include <shogun/transfer/multitask/Task.h>
  512. #include <shogun/transfer/multitask/TaskGroup.h>
  513. #include <shogun/transfer/multitask/TaskTree.h>
  514. #include <shogun/multiclass/MulticlassLogisticRegression.h>
  515. #include <shogun/multiclass/MulticlassTreeGuidedLogisticRegression.h>
  516. #include <shogun/optimization/NLOPTMinimizer.h>
  517. #include <shogun/transfer/multitask/MultitaskClusteredLogisticRegression.h>
  518. #include <shogun/features/DenseFeatures.h>
  519. #include <shogun/features/DenseSubSamplesFeatures.h>
  520. #include <shogun/features/DenseSubsetFeatures.h>
  521. #include <shogun/features/MatrixFeatures.h>
  522. #include <shogun/features/SparseFeatures.h>
  523. #include <shogun/features/StringFeatures.h>
  524. #include <shogun/features/StringFileFeatures.h>
  525. #include <shogun/features/hashed/HashedDenseFeatures.h>
  526. #include <shogun/features/hashed/HashedSparseFeatures.h>
  527. #include <shogun/features/streaming/StreamingDenseFeatures.h>
  528. #include <shogun/features/streaming/StreamingHashedDenseFeatures.h>
  529. #include <shogun/features/streaming/StreamingHashedSparseFeatures.h>
  530. #include <shogun/features/streaming/StreamingSparseFeatures.h>
  531. #include <shogun/features/streaming/StreamingStringFeatures.h>
  532. #include <shogun/io/BinaryStream.h>
  533. #include <shogun/io/MemoryMappedFile.h>
  534. #include <shogun/io/SimpleFile.h>
  535. #include <shogun/io/streaming/ParseBuffer.h>
  536. #include <shogun/io/streaming/StreamingFileFromDenseFeatures.h>
  537. #include <shogun/io/streaming/StreamingFileFromSparseFeatures.h>
  538. #include <shogun/io/streaming/StreamingFileFromStringFeatures.h>
  539. #include <shogun/lib/Cache.h>
  540. #include <shogun/lib/Set.h>
  541. #include <shogun/lib/WrappedBasic.h>
  542. #include <shogun/lib/WrappedSGMatrix.h>
  543. #include <shogun/lib/WrappedSGVector.h>
  544. #include <shogun/multiclass/tree/TreeMachine.h>
  545. #include <shogun/preprocessor/DecompressString.h>
  546. #include <shogun/lib/computation/aggregator/StoreScalarAggregator.h>
  547. #include <shogun/lib/computation/jobresult/ScalarResult.h>
  548. #include <shogun/lib/computation/jobresult/VectorResult.h>
  549. #include <shogun/mathematics/linalg/linop/DenseMatrixOperator.h>
  550. #include <shogun/mathematics/linalg/linop/SparseMatrixOperator.h>
  551. using namespace shogun;
  552.  
  553. #define SHOGUN_TEMPLATE_CLASS
  554. #define SHOGUN_BASIC_CLASS
  555. static SHOGUN_BASIC_CLASS CSGObject* __new_CAveragedPerceptron(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAveragedPerceptron(): NULL; }
  556. static SHOGUN_BASIC_CLASS CSGObject* __new_CFeatureBlockLogisticRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFeatureBlockLogisticRegression(): NULL; }
  557. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianProcessClassification(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianProcessClassification(): NULL; }
  558. static SHOGUN_BASIC_CLASS CSGObject* __new_CLDA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLDA(): NULL; }
  559. static SHOGUN_BASIC_CLASS CSGObject* __new_CNearestCentroid(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNearestCentroid(): NULL; }
  560. static SHOGUN_BASIC_CLASS CSGObject* __new_CPerceptron(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPerceptron(): NULL; }
  561. static SHOGUN_BASIC_CLASS CSGObject* __new_CPluginEstimate(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPluginEstimate(): NULL; }
  562. static SHOGUN_BASIC_CLASS CSGObject* __new_CMKLClassification(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLClassification(): NULL; }
  563. static SHOGUN_BASIC_CLASS CSGObject* __new_CMKLMulticlass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLMulticlass(): NULL; }
  564. static SHOGUN_BASIC_CLASS CSGObject* __new_CMKLOneClass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLOneClass(): NULL; }
  565. static SHOGUN_BASIC_CLASS CSGObject* __new_CGNPPLib(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGNPPLib(): NULL; }
  566. static SHOGUN_BASIC_CLASS CSGObject* __new_CGNPPSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGNPPSVM(): NULL; }
  567. static SHOGUN_BASIC_CLASS CSGObject* __new_CGPBTSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGPBTSVM(): NULL; }
  568. static SHOGUN_BASIC_CLASS CSGObject* __new_CLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibLinear(): NULL; }
  569. static SHOGUN_BASIC_CLASS CSGObject* __new_CLibSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVM(): NULL; }
  570. static SHOGUN_BASIC_CLASS CSGObject* __new_CLibSVMOneClass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVMOneClass(): NULL; }
  571. static SHOGUN_BASIC_CLASS CSGObject* __new_CMPDSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMPDSVM(): NULL; }
  572. static SHOGUN_BASIC_CLASS CSGObject* __new_CNewtonSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNewtonSVM(): NULL; }
  573. static SHOGUN_BASIC_CLASS CSGObject* __new_COnlineLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COnlineLibLinear(): NULL; }
  574. static SHOGUN_BASIC_CLASS CSGObject* __new_COnlineSVMSGD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COnlineSVMSGD(): NULL; }
  575. static SHOGUN_BASIC_CLASS CSGObject* __new_CQPBSVMLib(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQPBSVMLib(): NULL; }
  576. static SHOGUN_BASIC_CLASS CSGObject* __new_CSGDQN(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSGDQN(): NULL; }
  577. static SHOGUN_BASIC_CLASS CSGObject* __new_CSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVM(): NULL; }
  578. static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMLight(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMLight(): NULL; }
  579. static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMLightOneClass(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMLightOneClass(): NULL; }
  580. static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMLin(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMLin(): NULL; }
  581. static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMOcas(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMOcas(): NULL; }
  582. static SHOGUN_BASIC_CLASS CSGObject* __new_CSVMSGD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVMSGD(): NULL; }
  583. static SHOGUN_BASIC_CLASS CSGObject* __new_CWDSVMOcas(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWDSVMOcas(): NULL; }
  584. static SHOGUN_BASIC_CLASS CSGObject* __new_CVowpalWabbit(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVowpalWabbit(): NULL; }
  585. static SHOGUN_BASIC_CLASS CSGObject* __new_CVwEnvironment(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwEnvironment(): NULL; }
  586. static SHOGUN_BASIC_CLASS CSGObject* __new_CVwParser(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwParser(): NULL; }
  587. static SHOGUN_BASIC_CLASS CSGObject* __new_CVwRegressor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwRegressor(): NULL; }
  588. static SHOGUN_BASIC_CLASS CSGObject* __new_CVwNativeCacheReader(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwNativeCacheReader(): NULL; }
  589. static SHOGUN_BASIC_CLASS CSGObject* __new_CVwNativeCacheWriter(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwNativeCacheWriter(): NULL; }
  590. static SHOGUN_BASIC_CLASS CSGObject* __new_CVwAdaptiveLearner(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwAdaptiveLearner(): NULL; }
  591. static SHOGUN_BASIC_CLASS CSGObject* __new_CVwNonAdaptiveLearner(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVwNonAdaptiveLearner(): NULL; }
  592. static SHOGUN_BASIC_CLASS CSGObject* __new_CGMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGMM(): NULL; }
  593. static SHOGUN_BASIC_CLASS CSGObject* __new_CHierarchical(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHierarchical(): NULL; }
  594. static SHOGUN_BASIC_CLASS CSGObject* __new_CKMeans(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKMeans(): NULL; }
  595. static SHOGUN_BASIC_CLASS CSGObject* __new_CKMeansBase(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKMeansBase(): NULL; }
  596. static SHOGUN_BASIC_CLASS CSGObject* __new_CKMeansMiniBatch(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKMeansMiniBatch(): NULL; }
  597. static SHOGUN_BASIC_CLASS CSGObject* __new_CDiffusionMaps(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDiffusionMaps(): NULL; }
  598. static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorAnalysis(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorAnalysis(): NULL; }
  599. static SHOGUN_BASIC_CLASS CSGObject* __new_CHashedDocConverter(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedDocConverter(): NULL; }
  600. static SHOGUN_BASIC_CLASS CSGObject* __new_CHessianLocallyLinearEmbedding(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHessianLocallyLinearEmbedding(): NULL; }
  601. static SHOGUN_BASIC_CLASS CSGObject* __new_CIsomap(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIsomap(): NULL; }
  602. static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelLocallyLinearEmbedding(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelLocallyLinearEmbedding(): NULL; }
  603. static SHOGUN_BASIC_CLASS CSGObject* __new_CLaplacianEigenmaps(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLaplacianEigenmaps(): NULL; }
  604. static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearLocalTangentSpaceAlignment(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearLocalTangentSpaceAlignment(): NULL; }
  605. static SHOGUN_BASIC_CLASS CSGObject* __new_CLocalTangentSpaceAlignment(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLocalTangentSpaceAlignment(): NULL; }
  606. static SHOGUN_BASIC_CLASS CSGObject* __new_CLocalityPreservingProjections(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLocalityPreservingProjections(): NULL; }
  607. static SHOGUN_BASIC_CLASS CSGObject* __new_CLocallyLinearEmbedding(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLocallyLinearEmbedding(): NULL; }
  608. static SHOGUN_BASIC_CLASS CSGObject* __new_CManifoldSculpting(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CManifoldSculpting(): NULL; }
  609. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultidimensionalScaling(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultidimensionalScaling(): NULL; }
  610. static SHOGUN_BASIC_CLASS CSGObject* __new_CNeighborhoodPreservingEmbedding(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeighborhoodPreservingEmbedding(): NULL; }
  611. static SHOGUN_BASIC_CLASS CSGObject* __new_CStochasticProximityEmbedding(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStochasticProximityEmbedding(): NULL; }
  612. static SHOGUN_BASIC_CLASS CSGObject* __new_CTDistributedStochasticNeighborEmbedding(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTDistributedStochasticNeighborEmbedding(): NULL; }
  613. static SHOGUN_BASIC_CLASS CSGObject* __new_CFFSep(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFFSep(): NULL; }
  614. static SHOGUN_BASIC_CLASS CSGObject* __new_CFastICA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFastICA(): NULL; }
  615. static SHOGUN_BASIC_CLASS CSGObject* __new_CJade(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJade(): NULL; }
  616. static SHOGUN_BASIC_CLASS CSGObject* __new_CJediSep(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJediSep(): NULL; }
  617. static SHOGUN_BASIC_CLASS CSGObject* __new_CSOBI(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSOBI(): NULL; }
  618. static SHOGUN_BASIC_CLASS CSGObject* __new_CUWedgeSep(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CUWedgeSep(): NULL; }
  619. static SHOGUN_BASIC_CLASS CSGObject* __new_CAttenuatedEuclideanDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAttenuatedEuclideanDistance(): NULL; }
  620. static SHOGUN_BASIC_CLASS CSGObject* __new_CBrayCurtisDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBrayCurtisDistance(): NULL; }
  621. static SHOGUN_BASIC_CLASS CSGObject* __new_CCanberraMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCanberraMetric(): NULL; }
  622. static SHOGUN_BASIC_CLASS CSGObject* __new_CCanberraWordDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCanberraWordDistance(): NULL; }
  623. static SHOGUN_BASIC_CLASS CSGObject* __new_CChebyshewMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CChebyshewMetric(): NULL; }
  624. static SHOGUN_BASIC_CLASS CSGObject* __new_CChiSquareDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CChiSquareDistance(): NULL; }
  625. static SHOGUN_BASIC_CLASS CSGObject* __new_CCosineDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCosineDistance(): NULL; }
  626. static SHOGUN_BASIC_CLASS CSGObject* __new_CCustomDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCustomDistance(): NULL; }
  627. static SHOGUN_BASIC_CLASS CSGObject* __new_CCustomMahalanobisDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCustomMahalanobisDistance(): NULL; }
  628. static SHOGUN_BASIC_CLASS CSGObject* __new_CEuclideanDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CEuclideanDistance(): NULL; }
  629. static SHOGUN_BASIC_CLASS CSGObject* __new_CGeodesicMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGeodesicMetric(): NULL; }
  630. static SHOGUN_BASIC_CLASS CSGObject* __new_CHammingWordDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHammingWordDistance(): NULL; }
  631. static SHOGUN_BASIC_CLASS CSGObject* __new_CJensenMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJensenMetric(): NULL; }
  632. static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelDistance(): NULL; }
  633. static SHOGUN_BASIC_CLASS CSGObject* __new_CMahalanobisDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMahalanobisDistance(): NULL; }
  634. static SHOGUN_BASIC_CLASS CSGObject* __new_CManhattanMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CManhattanMetric(): NULL; }
  635. static SHOGUN_BASIC_CLASS CSGObject* __new_CManhattanWordDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CManhattanWordDistance(): NULL; }
  636. static SHOGUN_BASIC_CLASS CSGObject* __new_CMinkowskiMetric(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMinkowskiMetric(): NULL; }
  637. static SHOGUN_BASIC_CLASS CSGObject* __new_CSparseEuclideanDistance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSparseEuclideanDistance(): 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_CEMMixtureModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CEMMixtureModel(): NULL; }
  640. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussian(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussian(): NULL; }
  641. static SHOGUN_BASIC_CLASS CSGObject* __new_CHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHMM(): NULL; }
  642. static SHOGUN_BASIC_CLASS CSGObject* __new_CHistogram(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHistogram(): NULL; }
  643. static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelDensity(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelDensity(): NULL; }
  644. static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearHMM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearHMM(): NULL; }
  645. static SHOGUN_BASIC_CLASS CSGObject* __new_CMixtureModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMixtureModel(): NULL; }
  646. static SHOGUN_BASIC_CLASS CSGObject* __new_CPositionalPWM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPositionalPWM(): NULL; }
  647. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianDistribution(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianDistribution(): NULL; }
  648. static SHOGUN_BASIC_CLASS CSGObject* __new_CMajorityVote(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMajorityVote(): NULL; }
  649. static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanRule(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanRule(): NULL; }
  650. static SHOGUN_BASIC_CLASS CSGObject* __new_CWeightedMajorityVote(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWeightedMajorityVote(): NULL; }
  651. static SHOGUN_BASIC_CLASS CSGObject* __new_CClusteringAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CClusteringAccuracy(): NULL; }
  652. static SHOGUN_BASIC_CLASS CSGObject* __new_CClusteringMutualInformation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CClusteringMutualInformation(): NULL; }
  653. static SHOGUN_BASIC_CLASS CSGObject* __new_CContingencyTableEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CContingencyTableEvaluation(): NULL; }
  654. static SHOGUN_BASIC_CLASS CSGObject* __new_CAccuracyMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAccuracyMeasure(): NULL; }
  655. static SHOGUN_BASIC_CLASS CSGObject* __new_CErrorRateMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CErrorRateMeasure(): NULL; }
  656. static SHOGUN_BASIC_CLASS CSGObject* __new_CBALMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBALMeasure(): NULL; }
  657. static SHOGUN_BASIC_CLASS CSGObject* __new_CWRACCMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWRACCMeasure(): NULL; }
  658. static SHOGUN_BASIC_CLASS CSGObject* __new_CF1Measure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CF1Measure(): NULL; }
  659. static SHOGUN_BASIC_CLASS CSGObject* __new_CCrossCorrelationMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossCorrelationMeasure(): NULL; }
  660. static SHOGUN_BASIC_CLASS CSGObject* __new_CRecallMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRecallMeasure(): NULL; }
  661. static SHOGUN_BASIC_CLASS CSGObject* __new_CPrecisionMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPrecisionMeasure(): NULL; }
  662. static SHOGUN_BASIC_CLASS CSGObject* __new_CSpecificityMeasure(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSpecificityMeasure(): NULL; }
  663. static SHOGUN_BASIC_CLASS CSGObject* __new_CCrossValidationResult(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidationResult(): NULL; }
  664. static SHOGUN_BASIC_CLASS CSGObject* __new_CCrossValidation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidation(): NULL; }
  665. static SHOGUN_BASIC_CLASS CSGObject* __new_CCrossValidationMKLStorage(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidationMKLStorage(): NULL; }
  666. static SHOGUN_BASIC_CLASS CSGObject* __new_CCrossValidationMulticlassStorage(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidationMulticlassStorage(): NULL; }
  667. static SHOGUN_BASIC_CLASS CSGObject* __new_CCrossValidationPrintOutput(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidationPrintOutput(): NULL; }
  668. static SHOGUN_BASIC_CLASS CSGObject* __new_CCrossValidationSplitting(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCrossValidationSplitting(): NULL; }
  669. static SHOGUN_BASIC_CLASS CSGObject* __new_CGradientCriterion(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientCriterion(): NULL; }
  670. static SHOGUN_BASIC_CLASS CSGObject* __new_CGradientEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientEvaluation(): NULL; }
  671. static SHOGUN_BASIC_CLASS CSGObject* __new_CGradientResult(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientResult(): NULL; }
  672. static SHOGUN_BASIC_CLASS CSGObject* __new_CLOOCrossValidationSplitting(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLOOCrossValidationSplitting(): NULL; }
  673. static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanAbsoluteError(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanAbsoluteError(): NULL; }
  674. static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanSquaredError(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanSquaredError(): NULL; }
  675. static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanSquaredLogError(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanSquaredLogError(): NULL; }
  676. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassAccuracy(): NULL; }
  677. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassOVREvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassOVREvaluation(): NULL; }
  678. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultilabelAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultilabelAccuracy(): NULL; }
  679. static SHOGUN_BASIC_CLASS CSGObject* __new_CPRCEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPRCEvaluation(): NULL; }
  680. static SHOGUN_BASIC_CLASS CSGObject* __new_CROCEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CROCEvaluation(): NULL; }
  681. static SHOGUN_BASIC_CLASS CSGObject* __new_CStratifiedCrossValidationSplitting(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStratifiedCrossValidationSplitting(): NULL; }
  682. static SHOGUN_BASIC_CLASS CSGObject* __new_CStructuredAccuracy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredAccuracy(): NULL; }
  683. static SHOGUN_BASIC_CLASS CSGObject* __new_CAlphabet(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAlphabet(): NULL; }
  684. static SHOGUN_BASIC_CLASS CSGObject* __new_CBinnedDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBinnedDotFeatures(): NULL; }
  685. static SHOGUN_BASIC_CLASS CSGObject* __new_CCombinedDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCombinedDotFeatures(): NULL; }
  686. static SHOGUN_BASIC_CLASS CSGObject* __new_CCombinedFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCombinedFeatures(): NULL; }
  687. static SHOGUN_BASIC_CLASS CSGObject* __new_CDataGenerator(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDataGenerator(): NULL; }
  688. static SHOGUN_BASIC_CLASS CSGObject* __new_CDummyFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDummyFeatures(): NULL; }
  689. static SHOGUN_BASIC_CLASS CSGObject* __new_CExplicitSpecFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CExplicitSpecFeatures(): NULL; }
  690. static SHOGUN_BASIC_CLASS CSGObject* __new_CFKFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFKFeatures(): NULL; }
  691. static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraphFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraphFeatures(): NULL; }
  692. static SHOGUN_BASIC_CLASS CSGObject* __new_CImplicitWeightedSpecFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CImplicitWeightedSpecFeatures(): NULL; }
  693. static SHOGUN_BASIC_CLASS CSGObject* __new_CIndexFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexFeatures(): NULL; }
  694. static SHOGUN_BASIC_CLASS CSGObject* __new_CLBPPyrDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLBPPyrDotFeatures(): NULL; }
  695. static SHOGUN_BASIC_CLASS CSGObject* __new_CLatentFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentFeatures(): NULL; }
  696. static SHOGUN_BASIC_CLASS CSGObject* __new_CPolyFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPolyFeatures(): NULL; }
  697. static SHOGUN_BASIC_CLASS CSGObject* __new_CRandomFourierDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRandomFourierDotFeatures(): NULL; }
  698. static SHOGUN_BASIC_CLASS CSGObject* __new_CRealFileFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRealFileFeatures(): NULL; }
  699. static SHOGUN_BASIC_CLASS CSGObject* __new_CSNPFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSNPFeatures(): NULL; }
  700. static SHOGUN_BASIC_CLASS CSGObject* __new_CSparsePolyFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSparsePolyFeatures(): NULL; }
  701. static SHOGUN_BASIC_CLASS CSGObject* __new_CSubset(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSubset(): NULL; }
  702. static SHOGUN_BASIC_CLASS CSGObject* __new_CSubsetStack(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSubsetStack(): NULL; }
  703. static SHOGUN_BASIC_CLASS CSGObject* __new_CTOPFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTOPFeatures(): NULL; }
  704. static SHOGUN_BASIC_CLASS CSGObject* __new_CWDFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWDFeatures(): NULL; }
  705. static SHOGUN_BASIC_CLASS CSGObject* __new_CHashedDocDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedDocDotFeatures(): NULL; }
  706. static SHOGUN_BASIC_CLASS CSGObject* __new_CHashedWDFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedWDFeatures(): NULL; }
  707. static SHOGUN_BASIC_CLASS CSGObject* __new_CHashedWDFeaturesTransposed(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedWDFeaturesTransposed(): NULL; }
  708. static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingHashedDocDotFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingHashedDocDotFeatures(): NULL; }
  709. static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingVwFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingVwFeatures(): NULL; }
  710. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianBlobsDataGenerator(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianBlobsDataGenerator(): NULL; }
  711. static SHOGUN_BASIC_CLASS CSGObject* __new_CMeanShiftDataGenerator(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMeanShiftDataGenerator(): NULL; }
  712. static SHOGUN_BASIC_CLASS CSGObject* __new_CBinaryFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBinaryFile(): NULL; }
  713. static SHOGUN_BASIC_CLASS CSGObject* __new_CCSVFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCSVFile(): NULL; }
  714. static SHOGUN_BASIC_CLASS CSGObject* __new_CFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFile(): NULL; }
  715. static SHOGUN_BASIC_CLASS CSGObject* __new_CIOBuffer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIOBuffer(): NULL; }
  716. static SHOGUN_BASIC_CLASS CSGObject* __new_CLibSVMFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVMFile(): NULL; }
  717. static SHOGUN_BASIC_CLASS CSGObject* __new_CLineReader(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLineReader(): NULL; }
  718. static SHOGUN_BASIC_CLASS CSGObject* __new_CNeuralNetworkFileReader(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeuralNetworkFileReader(): NULL; }
  719. static SHOGUN_BASIC_CLASS CSGObject* __new_CParser(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CParser(): NULL; }
  720. static SHOGUN_BASIC_CLASS CSGObject* __new_CProtobufFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CProtobufFile(): NULL; }
  721. static SHOGUN_BASIC_CLASS CSGObject* __new_CSerializableAsciiFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSerializableAsciiFile(): NULL; }
  722. static SHOGUN_BASIC_CLASS CSGObject* __new_CUAIFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CUAIFile(): NULL; }
  723. static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingAsciiFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingAsciiFile(): NULL; }
  724. static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingFile(): NULL; }
  725. static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingFileFromFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingFileFromFeatures(): NULL; }
  726. static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingVwCacheFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingVwCacheFile(): NULL; }
  727. static SHOGUN_BASIC_CLASS CSGObject* __new_CStreamingVwFile(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStreamingVwFile(): NULL; }
  728. static SHOGUN_BASIC_CLASS CSGObject* __new_CANOVAKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CANOVAKernel(): NULL; }
  729. static SHOGUN_BASIC_CLASS CSGObject* __new_CAUCKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAUCKernel(): NULL; }
  730. static SHOGUN_BASIC_CLASS CSGObject* __new_CBesselKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBesselKernel(): NULL; }
  731. static SHOGUN_BASIC_CLASS CSGObject* __new_CCauchyKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCauchyKernel(): NULL; }
  732. static SHOGUN_BASIC_CLASS CSGObject* __new_CChi2Kernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CChi2Kernel(): NULL; }
  733. static SHOGUN_BASIC_CLASS CSGObject* __new_CCircularKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCircularKernel(): NULL; }
  734. static SHOGUN_BASIC_CLASS CSGObject* __new_CCombinedKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCombinedKernel(): NULL; }
  735. static SHOGUN_BASIC_CLASS CSGObject* __new_CConstKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CConstKernel(): NULL; }
  736. static SHOGUN_BASIC_CLASS CSGObject* __new_CCustomKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCustomKernel(): NULL; }
  737. static SHOGUN_BASIC_CLASS CSGObject* __new_CDiagKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDiagKernel(): NULL; }
  738. static SHOGUN_BASIC_CLASS CSGObject* __new_CDistanceKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDistanceKernel(): NULL; }
  739. static SHOGUN_BASIC_CLASS CSGObject* __new_CExponentialKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CExponentialKernel(): NULL; }
  740. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianARDKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianARDKernel(): NULL; }
  741. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianCompactKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianCompactKernel(): NULL; }
  742. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianKernel(): NULL; }
  743. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianShiftKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianShiftKernel(): NULL; }
  744. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianShortRealKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianShortRealKernel(): NULL; }
  745. static SHOGUN_BASIC_CLASS CSGObject* __new_CHistogramIntersectionKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHistogramIntersectionKernel(): NULL; }
  746. static SHOGUN_BASIC_CLASS CSGObject* __new_CInverseMultiQuadricKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CInverseMultiQuadricKernel(): NULL; }
  747. static SHOGUN_BASIC_CLASS CSGObject* __new_CJensenShannonKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJensenShannonKernel(): NULL; }
  748. static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearKernel(): NULL; }
  749. static SHOGUN_BASIC_CLASS CSGObject* __new_CLogKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogKernel(): NULL; }
  750. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultiquadricKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultiquadricKernel(): NULL; }
  751. static SHOGUN_BASIC_CLASS CSGObject* __new_CPeriodicKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPeriodicKernel(): NULL; }
  752. static SHOGUN_BASIC_CLASS CSGObject* __new_CPolyKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPolyKernel(): NULL; }
  753. static SHOGUN_BASIC_CLASS CSGObject* __new_CPowerKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPowerKernel(): NULL; }
  754. static SHOGUN_BASIC_CLASS CSGObject* __new_CProductKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CProductKernel(): NULL; }
  755. static SHOGUN_BASIC_CLASS CSGObject* __new_CPyramidChi2(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPyramidChi2(): NULL; }
  756. static SHOGUN_BASIC_CLASS CSGObject* __new_CRationalQuadraticKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRationalQuadraticKernel(): NULL; }
  757. static SHOGUN_BASIC_CLASS CSGObject* __new_CSigmoidKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSigmoidKernel(): NULL; }
  758. static SHOGUN_BASIC_CLASS CSGObject* __new_CSphericalKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSphericalKernel(): NULL; }
  759. static SHOGUN_BASIC_CLASS CSGObject* __new_CSplineKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSplineKernel(): NULL; }
  760. static SHOGUN_BASIC_CLASS CSGObject* __new_CTStudentKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTStudentKernel(): NULL; }
  761. static SHOGUN_BASIC_CLASS CSGObject* __new_CTensorProductPairKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTensorProductPairKernel(): NULL; }
  762. static SHOGUN_BASIC_CLASS CSGObject* __new_CWaveKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWaveKernel(): NULL; }
  763. static SHOGUN_BASIC_CLASS CSGObject* __new_CWaveletKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWaveletKernel(): NULL; }
  764. static SHOGUN_BASIC_CLASS CSGObject* __new_CWeightedDegreeRBFKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWeightedDegreeRBFKernel(): NULL; }
  765. static SHOGUN_BASIC_CLASS CSGObject* __new_CAvgDiagKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAvgDiagKernelNormalizer(): NULL; }
  766. static SHOGUN_BASIC_CLASS CSGObject* __new_CDiceKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDiceKernelNormalizer(): NULL; }
  767. static SHOGUN_BASIC_CLASS CSGObject* __new_CFirstElementKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFirstElementKernelNormalizer(): NULL; }
  768. static SHOGUN_BASIC_CLASS CSGObject* __new_CIdentityKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIdentityKernelNormalizer(): NULL; }
  769. static SHOGUN_BASIC_CLASS CSGObject* __new_CRidgeKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRidgeKernelNormalizer(): NULL; }
  770. static SHOGUN_BASIC_CLASS CSGObject* __new_CScatterKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CScatterKernelNormalizer(): NULL; }
  771. static SHOGUN_BASIC_CLASS CSGObject* __new_CSqrtDiagKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSqrtDiagKernelNormalizer(): NULL; }
  772. static SHOGUN_BASIC_CLASS CSGObject* __new_CTanimotoKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTanimotoKernelNormalizer(): NULL; }
  773. static SHOGUN_BASIC_CLASS CSGObject* __new_CVarianceKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVarianceKernelNormalizer(): NULL; }
  774. static SHOGUN_BASIC_CLASS CSGObject* __new_CZeroMeanCenterKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CZeroMeanCenterKernelNormalizer(): NULL; }
  775. static SHOGUN_BASIC_CLASS CSGObject* __new_CCommUlongStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCommUlongStringKernel(): NULL; }
  776. static SHOGUN_BASIC_CLASS CSGObject* __new_CCommWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCommWordStringKernel(): NULL; }
  777. static SHOGUN_BASIC_CLASS CSGObject* __new_CDistantSegmentsKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDistantSegmentsKernel(): NULL; }
  778. static SHOGUN_BASIC_CLASS CSGObject* __new_CFixedDegreeStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFixedDegreeStringKernel(): NULL; }
  779. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianMatchStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianMatchStringKernel(): NULL; }
  780. static SHOGUN_BASIC_CLASS CSGObject* __new_CHistogramWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHistogramWordStringKernel(): NULL; }
  781. static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearStringKernel(): NULL; }
  782. static SHOGUN_BASIC_CLASS CSGObject* __new_CLocalAlignmentStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLocalAlignmentStringKernel(): NULL; }
  783. static SHOGUN_BASIC_CLASS CSGObject* __new_CLocalityImprovedStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLocalityImprovedStringKernel(): NULL; }
  784. static SHOGUN_BASIC_CLASS CSGObject* __new_CMatchWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMatchWordStringKernel(): NULL; }
  785. static SHOGUN_BASIC_CLASS CSGObject* __new_COligoStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COligoStringKernel(): NULL; }
  786. static SHOGUN_BASIC_CLASS CSGObject* __new_CPolyMatchStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPolyMatchStringKernel(): NULL; }
  787. static SHOGUN_BASIC_CLASS CSGObject* __new_CPolyMatchWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPolyMatchWordStringKernel(): NULL; }
  788. static SHOGUN_BASIC_CLASS CSGObject* __new_CRegulatoryModulesStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRegulatoryModulesStringKernel(): NULL; }
  789. static SHOGUN_BASIC_CLASS CSGObject* __new_CSNPStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSNPStringKernel(): NULL; }
  790. static SHOGUN_BASIC_CLASS CSGObject* __new_CSalzbergWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSalzbergWordStringKernel(): NULL; }
  791. static SHOGUN_BASIC_CLASS CSGObject* __new_CSimpleLocalityImprovedStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSimpleLocalityImprovedStringKernel(): NULL; }
  792. static SHOGUN_BASIC_CLASS CSGObject* __new_CSparseSpatialSampleStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSparseSpatialSampleStringKernel(): NULL; }
  793. static SHOGUN_BASIC_CLASS CSGObject* __new_CSpectrumMismatchRBFKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSpectrumMismatchRBFKernel(): NULL; }
  794. static SHOGUN_BASIC_CLASS CSGObject* __new_CSpectrumRBFKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSpectrumRBFKernel(): NULL; }
  795. static SHOGUN_BASIC_CLASS CSGObject* __new_CSubsequenceStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSubsequenceStringKernel(): NULL; }
  796. static SHOGUN_BASIC_CLASS CSGObject* __new_CWeightedCommWordStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWeightedCommWordStringKernel(): NULL; }
  797. static SHOGUN_BASIC_CLASS CSGObject* __new_CWeightedDegreePositionStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWeightedDegreePositionStringKernel(): NULL; }
  798. static SHOGUN_BASIC_CLASS CSGObject* __new_CWeightedDegreeStringKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWeightedDegreeStringKernel(): NULL; }
  799. static SHOGUN_BASIC_CLASS CSGObject* __new_CBinaryLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBinaryLabels(): NULL; }
  800. static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraphObservation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraphObservation(): NULL; }
  801. static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraphLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraphLabels(): NULL; }
  802. static SHOGUN_BASIC_CLASS CSGObject* __new_CLabelsFactory(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLabelsFactory(): NULL; }
  803. static SHOGUN_BASIC_CLASS CSGObject* __new_CLatentLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentLabels(): NULL; }
  804. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLabels(): NULL; }
  805. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultilabelLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultilabelLabels(): NULL; }
  806. static SHOGUN_BASIC_CLASS CSGObject* __new_CRegressionLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRegressionLabels(): NULL; }
  807. static SHOGUN_BASIC_CLASS CSGObject* __new_CStructuredLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredLabels(): NULL; }
  808. static SHOGUN_BASIC_CLASS CSGObject* __new_CLatentSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentSOSVM(): NULL; }
  809. static SHOGUN_BASIC_CLASS CSGObject* __new_CLatentSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLatentSVM(): NULL; }
  810. static SHOGUN_BASIC_CLASS CSGObject* __new_CBitString(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBitString(): NULL; }
  811. static SHOGUN_BASIC_CLASS CSGObject* __new_CCircularBuffer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCircularBuffer(): NULL; }
  812. static SHOGUN_BASIC_CLASS CSGObject* __new_CCompressor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCompressor(): NULL; }
  813. static SHOGUN_BASIC_CLASS CSGObject* __new_CData(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CData(): NULL; }
  814. static SHOGUN_BASIC_CLASS CSGObject* __new_CDelimiterTokenizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDelimiterTokenizer(): NULL; }
  815. static SHOGUN_BASIC_CLASS CSGObject* __new_CDynamicArray(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDynamicArray(): NULL; }
  816. static SHOGUN_BASIC_CLASS CSGObject* __new_CDynamicArray(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDynamicArray(): NULL; }
  817. static SHOGUN_BASIC_CLASS CSGObject* __new_CDynamicObjectArray(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDynamicObjectArray(): NULL; }
  818. static SHOGUN_BASIC_CLASS CSGObject* __new_CHash(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHash(): NULL; }
  819. static SHOGUN_BASIC_CLASS CSGObject* __new_CIndexBlock(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexBlock(): NULL; }
  820. static SHOGUN_BASIC_CLASS CSGObject* __new_CIndexBlockGroup(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexBlockGroup(): NULL; }
  821. static SHOGUN_BASIC_CLASS CSGObject* __new_CIndexBlockTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndexBlockTree(): NULL; }
  822. static SHOGUN_BASIC_CLASS CSGObject* __new_CListElement(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CListElement(): NULL; }
  823. static SHOGUN_BASIC_CLASS CSGObject* __new_CList(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CList(): NULL; }
  824. static SHOGUN_BASIC_CLASS CSGObject* __new_CNGramTokenizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNGramTokenizer(): NULL; }
  825. static SHOGUN_BASIC_CLASS CSGObject* __new_CSignal(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSignal(): NULL; }
  826. static SHOGUN_BASIC_CLASS CSGObject* __new_CStructuredData(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredData(): NULL; }
  827. static SHOGUN_BASIC_CLASS CSGObject* __new_CTime(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTime(): NULL; }
  828. static SHOGUN_BASIC_CLASS CSGObject* __new_CWrappedObjectArray(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CWrappedObjectArray(): NULL; }
  829. static SHOGUN_BASIC_CLASS CSGObject* __new_CSerialComputationEngine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSerialComputationEngine(): NULL; }
  830. static SHOGUN_BASIC_CLASS CSGObject* __new_CJobResult(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJobResult(): NULL; }
  831. static SHOGUN_BASIC_CLASS CSGObject* __new_CAbsoluteDeviationLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAbsoluteDeviationLoss(): NULL; }
  832. static SHOGUN_BASIC_CLASS CSGObject* __new_CExponentialLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CExponentialLoss(): NULL; }
  833. static SHOGUN_BASIC_CLASS CSGObject* __new_CHingeLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHingeLoss(): NULL; }
  834. static SHOGUN_BASIC_CLASS CSGObject* __new_CHuberLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHuberLoss(): NULL; }
  835. static SHOGUN_BASIC_CLASS CSGObject* __new_CLogLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogLoss(): NULL; }
  836. static SHOGUN_BASIC_CLASS CSGObject* __new_CLogLossMargin(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogLossMargin(): NULL; }
  837. static SHOGUN_BASIC_CLASS CSGObject* __new_CSmoothHingeLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSmoothHingeLoss(): NULL; }
  838. static SHOGUN_BASIC_CLASS CSGObject* __new_CSquaredHingeLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSquaredHingeLoss(): NULL; }
  839. static SHOGUN_BASIC_CLASS CSGObject* __new_CSquaredLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSquaredLoss(): NULL; }
  840. static SHOGUN_BASIC_CLASS CSGObject* __new_CBaggingMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBaggingMachine(): NULL; }
  841. static SHOGUN_BASIC_CLASS CSGObject* __new_CBaseMulticlassMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBaseMulticlassMachine(): NULL; }
  842. static SHOGUN_BASIC_CLASS CSGObject* __new_CDistanceMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDistanceMachine(): NULL; }
  843. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianProcessMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianProcessMachine(): NULL; }
  844. static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelMachine(): NULL; }
  845. static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelMulticlassMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelMulticlassMachine(): NULL; }
  846. static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelStructuredOutputMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelStructuredOutputMachine(): NULL; }
  847. static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearMachine(): NULL; }
  848. static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearMulticlassMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearMulticlassMachine(): NULL; }
  849. static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearStructuredOutputMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearStructuredOutputMachine(): NULL; }
  850. static SHOGUN_BASIC_CLASS CSGObject* __new_CMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMachine(): NULL; }
  851. static SHOGUN_BASIC_CLASS CSGObject* __new_CNativeMulticlassMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNativeMulticlassMachine(): NULL; }
  852. static SHOGUN_BASIC_CLASS CSGObject* __new_COnlineLinearMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new COnlineLinearMachine(): NULL; }
  853. static SHOGUN_BASIC_CLASS CSGObject* __new_CRandomForest(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRandomForest(): NULL; }
  854. static SHOGUN_BASIC_CLASS CSGObject* __new_CStochasticGBMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStochasticGBMachine(): NULL; }
  855. static SHOGUN_BASIC_CLASS CSGObject* __new_CStructuredOutputMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStructuredOutputMachine(): NULL; }
  856. static SHOGUN_BASIC_CLASS CSGObject* __new_CConstMean(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CConstMean(): NULL; }
  857. static SHOGUN_BASIC_CLASS CSGObject* __new_CEPInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CEPInferenceMethod(): NULL; }
  858. static SHOGUN_BASIC_CLASS CSGObject* __new_CExactInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CExactInferenceMethod(): NULL; }
  859. static SHOGUN_BASIC_CLASS CSGObject* __new_CFITCInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFITCInferenceMethod(): NULL; }
  860. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianARDSparseKernel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianARDSparseKernel(): NULL; }
  861. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianLikelihood(): NULL; }
  862. static SHOGUN_BASIC_CLASS CSGObject* __new_CKLCholeskyInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKLCholeskyInferenceMethod(): NULL; }
  863. static SHOGUN_BASIC_CLASS CSGObject* __new_CKLCovarianceInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKLCovarianceInferenceMethod(): NULL; }
  864. static SHOGUN_BASIC_CLASS CSGObject* __new_CKLDiagonalInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKLDiagonalInferenceMethod(): NULL; }
  865. static SHOGUN_BASIC_CLASS CSGObject* __new_CKLDualInferenceMethodMinimizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKLDualInferenceMethodMinimizer(): NULL; }
  866. static SHOGUN_BASIC_CLASS CSGObject* __new_CKLDualInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKLDualInferenceMethod(): NULL; }
  867. static SHOGUN_BASIC_CLASS CSGObject* __new_CLogitDVGLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogitDVGLikelihood(): NULL; }
  868. static SHOGUN_BASIC_CLASS CSGObject* __new_CLogitLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogitLikelihood(): NULL; }
  869. static SHOGUN_BASIC_CLASS CSGObject* __new_CLogitVGLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogitVGLikelihood(): NULL; }
  870. static SHOGUN_BASIC_CLASS CSGObject* __new_CLogitVGPiecewiseBoundLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogitVGPiecewiseBoundLikelihood(): NULL; }
  871. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultiLaplaceInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultiLaplaceInferenceMethod(): NULL; }
  872. static SHOGUN_BASIC_CLASS CSGObject* __new_CProbitLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CProbitLikelihood(): NULL; }
  873. static SHOGUN_BASIC_CLASS CSGObject* __new_CProbitVGLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CProbitVGLikelihood(): NULL; }
  874. static SHOGUN_BASIC_CLASS CSGObject* __new_CSingleFITCLaplaceInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSingleFITCLaplaceInferenceMethod(): NULL; }
  875. static SHOGUN_BASIC_CLASS CSGObject* __new_CSingleFITCLaplaceNewtonOptimizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSingleFITCLaplaceNewtonOptimizer(): NULL; }
  876. static SHOGUN_BASIC_CLASS CSGObject* __new_CSingleLaplaceInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSingleLaplaceInferenceMethod(): NULL; }
  877. static SHOGUN_BASIC_CLASS CSGObject* __new_CSingleLaplaceNewtonOptimizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSingleLaplaceNewtonOptimizer(): NULL; }
  878. static SHOGUN_BASIC_CLASS CSGObject* __new_CSoftMaxLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSoftMaxLikelihood(): NULL; }
  879. static SHOGUN_BASIC_CLASS CSGObject* __new_CStudentsTLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStudentsTLikelihood(): NULL; }
  880. static SHOGUN_BASIC_CLASS CSGObject* __new_CStudentsTVGLikelihood(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStudentsTVGLikelihood(): NULL; }
  881. static SHOGUN_BASIC_CLASS CSGObject* __new_CVarDTCInferenceMethod(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CVarDTCInferenceMethod(): NULL; }
  882. static SHOGUN_BASIC_CLASS CSGObject* __new_CZeroMean(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CZeroMean(): NULL; }
  883. static SHOGUN_BASIC_CLASS CSGObject* __new_CIntegration(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIntegration(): NULL; }
  884. static SHOGUN_BASIC_CLASS CSGObject* __new_CJacobiEllipticFunctions(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJacobiEllipticFunctions(): NULL; }
  885. static SHOGUN_BASIC_CLASS CSGObject* __new_CMath(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMath(): NULL; }
  886. static SHOGUN_BASIC_CLASS CSGObject* __new_CRandom(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRandom(): NULL; }
  887. static SHOGUN_BASIC_CLASS CSGObject* __new_CSparseInverseCovariance(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSparseInverseCovariance(): NULL; }
  888. static SHOGUN_BASIC_CLASS CSGObject* __new_CStatistics(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStatistics(): NULL; }
  889. static SHOGUN_BASIC_CLASS CSGObject* __new_CFFDiag(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFFDiag(): NULL; }
  890. static SHOGUN_BASIC_CLASS CSGObject* __new_CJADiag(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJADiag(): NULL; }
  891. static SHOGUN_BASIC_CLASS CSGObject* __new_CJADiagOrth(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJADiagOrth(): NULL; }
  892. static SHOGUN_BASIC_CLASS CSGObject* __new_CJediDiag(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CJediDiag(): NULL; }
  893. static SHOGUN_BASIC_CLASS CSGObject* __new_CQDiag(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQDiag(): NULL; }
  894. static SHOGUN_BASIC_CLASS CSGObject* __new_CUWedge(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CUWedge(): NULL; }
  895. static SHOGUN_BASIC_CLASS CSGObject* __new_CDirectEigenSolver(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDirectEigenSolver(): NULL; }
  896. static SHOGUN_BASIC_CLASS CSGObject* __new_CLanczosEigenSolver(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLanczosEigenSolver(): NULL; }
  897. static SHOGUN_BASIC_CLASS CSGObject* __new_CConjugateGradientSolver(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CConjugateGradientSolver(): NULL; }
  898. static SHOGUN_BASIC_CLASS CSGObject* __new_CDirectLinearSolverComplex(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDirectLinearSolverComplex(): NULL; }
  899. static SHOGUN_BASIC_CLASS CSGObject* __new_CDirectSparseLinearSolver(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDirectSparseLinearSolver(): NULL; }
  900. static SHOGUN_BASIC_CLASS CSGObject* __new_CLogDetEstimator(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogDetEstimator(): NULL; }
  901. static SHOGUN_BASIC_CLASS CSGObject* __new_CIndividualJobResultAggregator(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIndividualJobResultAggregator(): NULL; }
  902. static SHOGUN_BASIC_CLASS CSGObject* __new_CDenseExactLogJob(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDenseExactLogJob(): NULL; }
  903. static SHOGUN_BASIC_CLASS CSGObject* __new_CRationalApproximationCGMJob(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRationalApproximationCGMJob(): NULL; }
  904. static SHOGUN_BASIC_CLASS CSGObject* __new_CRationalApproximationIndividualJob(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRationalApproximationIndividualJob(): NULL; }
  905. static SHOGUN_BASIC_CLASS CSGObject* __new_CDenseMatrixExactLog(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDenseMatrixExactLog(): NULL; }
  906. static SHOGUN_BASIC_CLASS CSGObject* __new_CLogRationalApproximationCGM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogRationalApproximationCGM(): NULL; }
  907. static SHOGUN_BASIC_CLASS CSGObject* __new_CLogRationalApproximationIndividual(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogRationalApproximationIndividual(): NULL; }
  908. static SHOGUN_BASIC_CLASS CSGObject* __new_CNormalSampler(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNormalSampler(): NULL; }
  909. static SHOGUN_BASIC_CLASS CSGObject* __new_CProbingSampler(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CProbingSampler(): NULL; }
  910. static SHOGUN_BASIC_CLASS CSGObject* __new_CLMNN(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLMNN(): NULL; }
  911. static SHOGUN_BASIC_CLASS CSGObject* __new_CLMNNStatistics(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLMNNStatistics(): NULL; }
  912. static SHOGUN_BASIC_CLASS CSGObject* __new_CGradientModelSelection(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGradientModelSelection(): NULL; }
  913. static SHOGUN_BASIC_CLASS CSGObject* __new_CGridSearchModelSelection(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGridSearchModelSelection(): NULL; }
  914. static SHOGUN_BASIC_CLASS CSGObject* __new_CModelSelectionParameters(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CModelSelectionParameters(): NULL; }
  915. static SHOGUN_BASIC_CLASS CSGObject* __new_CParameterCombination(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CParameterCombination(): NULL; }
  916. static SHOGUN_BASIC_CLASS CSGObject* __new_CRandomSearchModelSelection(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRandomSearchModelSelection(): NULL; }
  917. static SHOGUN_BASIC_CLASS CSGObject* __new_CBruteKNNSolver(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBruteKNNSolver(): NULL; }
  918. static SHOGUN_BASIC_CLASS CSGObject* __new_CCoverTreeKNNSolver(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCoverTreeKNNSolver(): NULL; }
  919. static SHOGUN_BASIC_CLASS CSGObject* __new_CGMNPLib(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGMNPLib(): NULL; }
  920. static SHOGUN_BASIC_CLASS CSGObject* __new_CGMNPSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGMNPSVM(): NULL; }
  921. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianNaiveBayes(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianNaiveBayes(): NULL; }
  922. static SHOGUN_BASIC_CLASS CSGObject* __new_CKDTREEKNNSolver(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKDTREEKNNSolver(): NULL; }
  923. static SHOGUN_BASIC_CLASS CSGObject* __new_CKNN(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKNN(): NULL; }
  924. static SHOGUN_BASIC_CLASS CSGObject* __new_CLSHKNNSolver(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLSHKNNSolver(): NULL; }
  925. static SHOGUN_BASIC_CLASS CSGObject* __new_CLaRank(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLaRank(): NULL; }
  926. static SHOGUN_BASIC_CLASS CSGObject* __new_CMCLDA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMCLDA(): NULL; }
  927. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLibLinear(): NULL; }
  928. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassLibSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLibSVM(): NULL; }
  929. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassOCAS(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassOCAS(): NULL; }
  930. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassOneVsOneStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassOneVsOneStrategy(): NULL; }
  931. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassOneVsRestStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassOneVsRestStrategy(): NULL; }
  932. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassSVM(): NULL; }
  933. static SHOGUN_BASIC_CLASS CSGObject* __new_CQDA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQDA(): NULL; }
  934. static SHOGUN_BASIC_CLASS CSGObject* __new_CThresholdRejectionStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CThresholdRejectionStrategy(): NULL; }
  935. static SHOGUN_BASIC_CLASS CSGObject* __new_CDixonQTestRejectionStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDixonQTestRejectionStrategy(): NULL; }
  936. static SHOGUN_BASIC_CLASS CSGObject* __new_CScatterSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CScatterSVM(): NULL; }
  937. static SHOGUN_BASIC_CLASS CSGObject* __new_CShareBoost(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CShareBoost(): NULL; }
  938. static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCAEDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCAEDDecoder(): NULL; }
  939. static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCDiscriminantEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCDiscriminantEncoder(): NULL; }
  940. static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCEDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCEDDecoder(): NULL; }
  941. static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCForestEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCForestEncoder(): NULL; }
  942. static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCHDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCHDDecoder(): NULL; }
  943. static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCIHDDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCIHDDecoder(): NULL; }
  944. static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCLLBDecoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCLLBDecoder(): NULL; }
  945. static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCOVOEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCOVOEncoder(): NULL; }
  946. static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCOVREncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCOVREncoder(): NULL; }
  947. static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCRandomDenseEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCRandomDenseEncoder(): NULL; }
  948. static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCRandomSparseEncoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCRandomSparseEncoder(): NULL; }
  949. static SHOGUN_BASIC_CLASS CSGObject* __new_CECOCStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CECOCStrategy(): NULL; }
  950. static SHOGUN_BASIC_CLASS CSGObject* __new_CBalancedConditionalProbabilityTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBalancedConditionalProbabilityTree(): NULL; }
  951. static SHOGUN_BASIC_CLASS CSGObject* __new_CBallTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBallTree(): NULL; }
  952. static SHOGUN_BASIC_CLASS CSGObject* __new_CC45ClassifierTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CC45ClassifierTree(): NULL; }
  953. static SHOGUN_BASIC_CLASS CSGObject* __new_CCARTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCARTree(): NULL; }
  954. static SHOGUN_BASIC_CLASS CSGObject* __new_CCHAIDTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCHAIDTree(): NULL; }
  955. static SHOGUN_BASIC_CLASS CSGObject* __new_CID3ClassifierTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CID3ClassifierTree(): NULL; }
  956. static SHOGUN_BASIC_CLASS CSGObject* __new_CKDTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKDTree(): NULL; }
  957. static SHOGUN_BASIC_CLASS CSGObject* __new_CRandomCARTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRandomCARTree(): NULL; }
  958. static SHOGUN_BASIC_CLASS CSGObject* __new_CRandomConditionalProbabilityTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRandomConditionalProbabilityTree(): NULL; }
  959. static SHOGUN_BASIC_CLASS CSGObject* __new_CRelaxedTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRelaxedTree(): NULL; }
  960. static SHOGUN_BASIC_CLASS CSGObject* __new_CAutoencoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CAutoencoder(): NULL; }
  961. static SHOGUN_BASIC_CLASS CSGObject* __new_CDeepAutoencoder(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDeepAutoencoder(): NULL; }
  962. static SHOGUN_BASIC_CLASS CSGObject* __new_CDeepBeliefNetwork(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDeepBeliefNetwork(): NULL; }
  963. static SHOGUN_BASIC_CLASS CSGObject* __new_CNeuralConvolutionalLayer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeuralConvolutionalLayer(): NULL; }
  964. static SHOGUN_BASIC_CLASS CSGObject* __new_CNeuralInputLayer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeuralInputLayer(): NULL; }
  965. static SHOGUN_BASIC_CLASS CSGObject* __new_CNeuralLayer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeuralLayer(): NULL; }
  966. static SHOGUN_BASIC_CLASS CSGObject* __new_CNeuralLayers(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeuralLayers(): NULL; }
  967. static SHOGUN_BASIC_CLASS CSGObject* __new_CNeuralLeakyRectifiedLinearLayer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeuralLeakyRectifiedLinearLayer(): NULL; }
  968. static SHOGUN_BASIC_CLASS CSGObject* __new_CNeuralLinearLayer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeuralLinearLayer(): NULL; }
  969. static SHOGUN_BASIC_CLASS CSGObject* __new_CNeuralLogisticLayer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeuralLogisticLayer(): NULL; }
  970. static SHOGUN_BASIC_CLASS CSGObject* __new_CNeuralNetwork(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeuralNetwork(): NULL; }
  971. static SHOGUN_BASIC_CLASS CSGObject* __new_CNeuralRectifiedLinearLayer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeuralRectifiedLinearLayer(): NULL; }
  972. static SHOGUN_BASIC_CLASS CSGObject* __new_CNeuralSoftmaxLayer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNeuralSoftmaxLayer(): NULL; }
  973. static SHOGUN_BASIC_CLASS CSGObject* __new_CRBM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRBM(): NULL; }
  974. static SHOGUN_BASIC_CLASS CSGObject* __new_CLBFGSMinimizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLBFGSMinimizer(): NULL; }
  975. static SHOGUN_BASIC_CLASS CSGObject* __new_CTron(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTron(): NULL; }
  976. static SHOGUN_BASIC_CLASS CSGObject* __new_CDimensionReductionPreprocessor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDimensionReductionPreprocessor(): NULL; }
  977. static SHOGUN_BASIC_CLASS CSGObject* __new_CFisherLDA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFisherLDA(): NULL; }
  978. static SHOGUN_BASIC_CLASS CSGObject* __new_CHomogeneousKernelMap(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHomogeneousKernelMap(): NULL; }
  979. static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelPCA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelPCA(): NULL; }
  980. static SHOGUN_BASIC_CLASS CSGObject* __new_CLogPlusOne(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLogPlusOne(): NULL; }
  981. static SHOGUN_BASIC_CLASS CSGObject* __new_CNormOne(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNormOne(): NULL; }
  982. static SHOGUN_BASIC_CLASS CSGObject* __new_CPCA(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPCA(): NULL; }
  983. static SHOGUN_BASIC_CLASS CSGObject* __new_CPNorm(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPNorm(): NULL; }
  984. static SHOGUN_BASIC_CLASS CSGObject* __new_CPruneVarSubMean(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPruneVarSubMean(): NULL; }
  985. static SHOGUN_BASIC_CLASS CSGObject* __new_CRandomFourierGaussPreproc(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRandomFourierGaussPreproc(): NULL; }
  986. static SHOGUN_BASIC_CLASS CSGObject* __new_CRescaleFeatures(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CRescaleFeatures(): NULL; }
  987. static SHOGUN_BASIC_CLASS CSGObject* __new_CSortUlongString(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSortUlongString(): NULL; }
  988. static SHOGUN_BASIC_CLASS CSGObject* __new_CSortWordString(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSortWordString(): NULL; }
  989. static SHOGUN_BASIC_CLASS CSGObject* __new_CSumOne(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSumOne(): NULL; }
  990. static SHOGUN_BASIC_CLASS CSGObject* __new_CGaussianProcessRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGaussianProcessRegression(): NULL; }
  991. static SHOGUN_BASIC_CLASS CSGObject* __new_CKRRNystrom(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKRRNystrom(): NULL; }
  992. static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelRidgeRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelRidgeRegression(): NULL; }
  993. static SHOGUN_BASIC_CLASS CSGObject* __new_CLeastAngleRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLeastAngleRegression(): NULL; }
  994. static SHOGUN_BASIC_CLASS CSGObject* __new_CLeastSquaresRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLeastSquaresRegression(): NULL; }
  995. static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearRidgeRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearRidgeRegression(): NULL; }
  996. static SHOGUN_BASIC_CLASS CSGObject* __new_CLibLinearRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibLinearRegression(): NULL; }
  997. static SHOGUN_BASIC_CLASS CSGObject* __new_CLibSVR(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibSVR(): NULL; }
  998. static SHOGUN_BASIC_CLASS CSGObject* __new_CMKLRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMKLRegression(): NULL; }
  999. static SHOGUN_BASIC_CLASS CSGObject* __new_CSVRLight(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSVRLight(): NULL; }
  1000. static SHOGUN_BASIC_CLASS CSGObject* __new_CBTestMMD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CBTestMMD(): NULL; }
  1001. static SHOGUN_BASIC_CLASS CSGObject* __new_CLinearTimeMMD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLinearTimeMMD(): NULL; }
  1002. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultiKernelQuadraticTimeMMD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultiKernelQuadraticTimeMMD(): NULL; }
  1003. static SHOGUN_BASIC_CLASS CSGObject* __new_CQuadraticTimeMMD(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CQuadraticTimeMMD(): NULL; }
  1004. static SHOGUN_BASIC_CLASS CSGObject* __new_CKernelSelectionStrategy(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CKernelSelectionStrategy(): NULL; }
  1005. static SHOGUN_BASIC_CLASS CSGObject* __new_CCCSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CCCSOSVM(): NULL; }
  1006. static SHOGUN_BASIC_CLASS CSGObject* __new_CDisjointSet(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDisjointSet(): NULL; }
  1007. static SHOGUN_BASIC_CLASS CSGObject* __new_CDualLibQPBMSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDualLibQPBMSOSVM(): NULL; }
  1008. static SHOGUN_BASIC_CLASS CSGObject* __new_CDynProg(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDynProg(): NULL; }
  1009. static SHOGUN_BASIC_CLASS CSGObject* __new_CFWSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFWSOSVM(): NULL; }
  1010. static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorDataSource(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorDataSource(): NULL; }
  1011. static SHOGUN_BASIC_CLASS CSGObject* __new_CFactor(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactor(): NULL; }
  1012. static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraph(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraph(): NULL; }
  1013. static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraphDataGenerator(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraphDataGenerator(): NULL; }
  1014. static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorGraphModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorGraphModel(): NULL; }
  1015. static SHOGUN_BASIC_CLASS CSGObject* __new_CFactorType(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CFactorType(): NULL; }
  1016. static SHOGUN_BASIC_CLASS CSGObject* __new_CTableFactorType(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTableFactorType(): NULL; }
  1017. static SHOGUN_BASIC_CLASS CSGObject* __new_CGEMPLP(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGEMPLP(): NULL; }
  1018. static SHOGUN_BASIC_CLASS CSGObject* __new_CGraphCut(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CGraphCut(): NULL; }
  1019. static SHOGUN_BASIC_CLASS CSGObject* __new_CHMSVMModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHMSVMModel(): NULL; }
  1020. static SHOGUN_BASIC_CLASS CSGObject* __new_CHashedMultilabelModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHashedMultilabelModel(): NULL; }
  1021. static SHOGUN_BASIC_CLASS CSGObject* __new_CHierarchicalMultilabelModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CHierarchicalMultilabelModel(): NULL; }
  1022. static SHOGUN_BASIC_CLASS CSGObject* __new_CIntronList(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CIntronList(): NULL; }
  1023. static SHOGUN_BASIC_CLASS CSGObject* __new_CMAPInference(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMAPInference(): NULL; }
  1024. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassModel(): NULL; }
  1025. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassSOLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassSOLabels(): NULL; }
  1026. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultilabelCLRModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultilabelCLRModel(): NULL; }
  1027. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultilabelModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultilabelModel(): NULL; }
  1028. static SHOGUN_BASIC_CLASS CSGObject* __new_CSparseMultilabel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSparseMultilabel(): NULL; }
  1029. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultilabelSOLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultilabelSOLabels(): NULL; }
  1030. static SHOGUN_BASIC_CLASS CSGObject* __new_CPlif(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPlif(): NULL; }
  1031. static SHOGUN_BASIC_CLASS CSGObject* __new_CPlifArray(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPlifArray(): NULL; }
  1032. static SHOGUN_BASIC_CLASS CSGObject* __new_CPlifMatrix(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CPlifMatrix(): NULL; }
  1033. static SHOGUN_BASIC_CLASS CSGObject* __new_CSOSVMHelper(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSOSVMHelper(): NULL; }
  1034. static SHOGUN_BASIC_CLASS CSGObject* __new_CSegmentLoss(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSegmentLoss(): NULL; }
  1035. static SHOGUN_BASIC_CLASS CSGObject* __new_CSequence(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSequence(): NULL; }
  1036. static SHOGUN_BASIC_CLASS CSGObject* __new_CSequenceLabels(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CSequenceLabels(): NULL; }
  1037. static SHOGUN_BASIC_CLASS CSGObject* __new_CStochasticSOSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CStochasticSOSVM(): NULL; }
  1038. static SHOGUN_BASIC_CLASS CSGObject* __new_CTwoStateModel(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTwoStateModel(): NULL; }
  1039. static SHOGUN_BASIC_CLASS CSGObject* __new_CDomainAdaptationMulticlassLibLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDomainAdaptationMulticlassLibLinear(): NULL; }
  1040. static SHOGUN_BASIC_CLASS CSGObject* __new_CDomainAdaptationSVM(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDomainAdaptationSVM(): NULL; }
  1041. static SHOGUN_BASIC_CLASS CSGObject* __new_CDomainAdaptationSVMLinear(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CDomainAdaptationSVMLinear(): NULL; }
  1042. static SHOGUN_BASIC_CLASS CSGObject* __new_CLibLinearMTL(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CLibLinearMTL(): NULL; }
  1043. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultitaskKernelMaskNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskKernelMaskNormalizer(): NULL; }
  1044. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultitaskKernelMaskPairNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskKernelMaskPairNormalizer(): NULL; }
  1045. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultitaskKernelNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskKernelNormalizer(): NULL; }
  1046. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultitaskKernelPlifNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskKernelPlifNormalizer(): NULL; }
  1047. static SHOGUN_BASIC_CLASS CSGObject* __new_CNode(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNode(): NULL; }
  1048. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultitaskKernelTreeNormalizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskKernelTreeNormalizer(): NULL; }
  1049. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultitaskL12LogisticRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskL12LogisticRegression(): NULL; }
  1050. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultitaskLeastSquaresRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskLeastSquaresRegression(): NULL; }
  1051. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultitaskLinearMachine(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskLinearMachine(): NULL; }
  1052. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultitaskLogisticRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskLogisticRegression(): NULL; }
  1053. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultitaskROCEvaluation(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskROCEvaluation(): NULL; }
  1054. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultitaskTraceLogisticRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskTraceLogisticRegression(): NULL; }
  1055. static SHOGUN_BASIC_CLASS CSGObject* __new_CTask(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTask(): NULL; }
  1056. static SHOGUN_BASIC_CLASS CSGObject* __new_CTaskGroup(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTaskGroup(): NULL; }
  1057. static SHOGUN_BASIC_CLASS CSGObject* __new_CTaskTree(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CTaskTree(): NULL; }
  1058. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassLogisticRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassLogisticRegression(): NULL; }
  1059. static SHOGUN_BASIC_CLASS CSGObject* __new_CMulticlassTreeGuidedLogisticRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMulticlassTreeGuidedLogisticRegression(): NULL; }
  1060. static SHOGUN_BASIC_CLASS CSGObject* __new_CNLOPTMinimizer(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CNLOPTMinimizer(): NULL; }
  1061. static SHOGUN_BASIC_CLASS CSGObject* __new_CMultitaskClusteredLogisticRegression(EPrimitiveType g) { return g == PT_NOT_GENERIC? new CMultitaskClusteredLogisticRegression(): NULL; }
  1062. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CDenseFeatures(EPrimitiveType g)
  1063. {
  1064.     switch (g)
  1065.     {
  1066.         case PT_BOOL: return new CDenseFeatures<bool>();
  1067.         case PT_CHAR: return new CDenseFeatures<char>();
  1068.         case PT_INT8: return new CDenseFeatures<int8_t>();
  1069.         case PT_UINT8: return new CDenseFeatures<uint8_t>();
  1070.         case PT_INT16: return new CDenseFeatures<int16_t>();
  1071.         case PT_UINT16: return new CDenseFeatures<uint16_t>();
  1072.         case PT_INT32: return new CDenseFeatures<int32_t>();
  1073.         case PT_UINT32: return new CDenseFeatures<uint32_t>();
  1074.         case PT_INT64: return new CDenseFeatures<int64_t>();
  1075.         case PT_UINT64: return new CDenseFeatures<uint64_t>();
  1076.         case PT_FLOAT32: return new CDenseFeatures<float32_t>();
  1077.         case PT_FLOAT64: return new CDenseFeatures<float64_t>();
  1078.         case PT_FLOATMAX: return new CDenseFeatures<floatmax_t>();
  1079.         case PT_COMPLEX128: return NULL;
  1080.         case PT_SGOBJECT:
  1081.         case PT_UNDEFINED: return NULL;
  1082.     }
  1083.     return NULL;
  1084. }
  1085. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CDenseSubSamplesFeatures(EPrimitiveType g)
  1086. {
  1087.     switch (g)
  1088.     {
  1089.         case PT_BOOL: return new CDenseSubSamplesFeatures<bool>();
  1090.         case PT_CHAR: return new CDenseSubSamplesFeatures<char>();
  1091.         case PT_INT8: return new CDenseSubSamplesFeatures<int8_t>();
  1092.         case PT_UINT8: return new CDenseSubSamplesFeatures<uint8_t>();
  1093.         case PT_INT16: return new CDenseSubSamplesFeatures<int16_t>();
  1094.         case PT_UINT16: return new CDenseSubSamplesFeatures<uint16_t>();
  1095.         case PT_INT32: return new CDenseSubSamplesFeatures<int32_t>();
  1096.         case PT_UINT32: return new CDenseSubSamplesFeatures<uint32_t>();
  1097.         case PT_INT64: return new CDenseSubSamplesFeatures<int64_t>();
  1098.         case PT_UINT64: return new CDenseSubSamplesFeatures<uint64_t>();
  1099.         case PT_FLOAT32: return new CDenseSubSamplesFeatures<float32_t>();
  1100.         case PT_FLOAT64: return new CDenseSubSamplesFeatures<float64_t>();
  1101.         case PT_FLOATMAX: return new CDenseSubSamplesFeatures<floatmax_t>();
  1102.         case PT_COMPLEX128: return NULL;
  1103.         case PT_SGOBJECT:
  1104.         case PT_UNDEFINED: return NULL;
  1105.     }
  1106.     return NULL;
  1107. }
  1108. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CDenseSubsetFeatures(EPrimitiveType g)
  1109. {
  1110.     switch (g)
  1111.     {
  1112.         case PT_BOOL: return new CDenseSubsetFeatures<bool>();
  1113.         case PT_CHAR: return new CDenseSubsetFeatures<char>();
  1114.         case PT_INT8: return new CDenseSubsetFeatures<int8_t>();
  1115.         case PT_UINT8: return new CDenseSubsetFeatures<uint8_t>();
  1116.         case PT_INT16: return new CDenseSubsetFeatures<int16_t>();
  1117.         case PT_UINT16: return new CDenseSubsetFeatures<uint16_t>();
  1118.         case PT_INT32: return new CDenseSubsetFeatures<int32_t>();
  1119.         case PT_UINT32: return new CDenseSubsetFeatures<uint32_t>();
  1120.         case PT_INT64: return new CDenseSubsetFeatures<int64_t>();
  1121.         case PT_UINT64: return new CDenseSubsetFeatures<uint64_t>();
  1122.         case PT_FLOAT32: return new CDenseSubsetFeatures<float32_t>();
  1123.         case PT_FLOAT64: return new CDenseSubsetFeatures<float64_t>();
  1124.         case PT_FLOATMAX: return new CDenseSubsetFeatures<floatmax_t>();
  1125.         case PT_COMPLEX128: return NULL;
  1126.         case PT_SGOBJECT:
  1127.         case PT_UNDEFINED: return NULL;
  1128.     }
  1129.     return NULL;
  1130. }
  1131. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CMatrixFeatures(EPrimitiveType g)
  1132. {
  1133.     switch (g)
  1134.     {
  1135.         case PT_BOOL: return new CMatrixFeatures<bool>();
  1136.         case PT_CHAR: return new CMatrixFeatures<char>();
  1137.         case PT_INT8: return new CMatrixFeatures<int8_t>();
  1138.         case PT_UINT8: return new CMatrixFeatures<uint8_t>();
  1139.         case PT_INT16: return new CMatrixFeatures<int16_t>();
  1140.         case PT_UINT16: return new CMatrixFeatures<uint16_t>();
  1141.         case PT_INT32: return new CMatrixFeatures<int32_t>();
  1142.         case PT_UINT32: return new CMatrixFeatures<uint32_t>();
  1143.         case PT_INT64: return new CMatrixFeatures<int64_t>();
  1144.         case PT_UINT64: return new CMatrixFeatures<uint64_t>();
  1145.         case PT_FLOAT32: return new CMatrixFeatures<float32_t>();
  1146.         case PT_FLOAT64: return new CMatrixFeatures<float64_t>();
  1147.         case PT_FLOATMAX: return new CMatrixFeatures<floatmax_t>();
  1148.         case PT_COMPLEX128: return NULL;
  1149.         case PT_SGOBJECT:
  1150.         case PT_UNDEFINED: return NULL;
  1151.     }
  1152.     return NULL;
  1153. }
  1154. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CSparseFeatures(EPrimitiveType g)
  1155. {
  1156.     switch (g)
  1157.     {
  1158.         case PT_BOOL: return new CSparseFeatures<bool>();
  1159.         case PT_CHAR: return new CSparseFeatures<char>();
  1160.         case PT_INT8: return new CSparseFeatures<int8_t>();
  1161.         case PT_UINT8: return new CSparseFeatures<uint8_t>();
  1162.         case PT_INT16: return new CSparseFeatures<int16_t>();
  1163.         case PT_UINT16: return new CSparseFeatures<uint16_t>();
  1164.         case PT_INT32: return new CSparseFeatures<int32_t>();
  1165.         case PT_UINT32: return new CSparseFeatures<uint32_t>();
  1166.         case PT_INT64: return new CSparseFeatures<int64_t>();
  1167.         case PT_UINT64: return new CSparseFeatures<uint64_t>();
  1168.         case PT_FLOAT32: return new CSparseFeatures<float32_t>();
  1169.         case PT_FLOAT64: return new CSparseFeatures<float64_t>();
  1170.         case PT_FLOATMAX: return new CSparseFeatures<floatmax_t>();
  1171.         case PT_COMPLEX128: return NULL;
  1172.         case PT_SGOBJECT:
  1173.         case PT_UNDEFINED: return NULL;
  1174.     }
  1175.     return NULL;
  1176. }
  1177. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CStringFeatures(EPrimitiveType g)
  1178. {
  1179.     switch (g)
  1180.     {
  1181.         case PT_BOOL: return new CStringFeatures<bool>();
  1182.         case PT_CHAR: return new CStringFeatures<char>();
  1183.         case PT_INT8: return new CStringFeatures<int8_t>();
  1184.         case PT_UINT8: return new CStringFeatures<uint8_t>();
  1185.         case PT_INT16: return new CStringFeatures<int16_t>();
  1186.         case PT_UINT16: return new CStringFeatures<uint16_t>();
  1187.         case PT_INT32: return new CStringFeatures<int32_t>();
  1188.         case PT_UINT32: return new CStringFeatures<uint32_t>();
  1189.         case PT_INT64: return new CStringFeatures<int64_t>();
  1190.         case PT_UINT64: return new CStringFeatures<uint64_t>();
  1191.         case PT_FLOAT32: return new CStringFeatures<float32_t>();
  1192.         case PT_FLOAT64: return new CStringFeatures<float64_t>();
  1193.         case PT_FLOATMAX: return new CStringFeatures<floatmax_t>();
  1194.         case PT_COMPLEX128: return NULL;
  1195.         case PT_SGOBJECT:
  1196.         case PT_UNDEFINED: return NULL;
  1197.     }
  1198.     return NULL;
  1199. }
  1200. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CStringFileFeatures(EPrimitiveType g)
  1201. {
  1202.     switch (g)
  1203.     {
  1204.         case PT_BOOL: return new CStringFileFeatures<bool>();
  1205.         case PT_CHAR: return new CStringFileFeatures<char>();
  1206.         case PT_INT8: return new CStringFileFeatures<int8_t>();
  1207.         case PT_UINT8: return new CStringFileFeatures<uint8_t>();
  1208.         case PT_INT16: return new CStringFileFeatures<int16_t>();
  1209.         case PT_UINT16: return new CStringFileFeatures<uint16_t>();
  1210.         case PT_INT32: return new CStringFileFeatures<int32_t>();
  1211.         case PT_UINT32: return new CStringFileFeatures<uint32_t>();
  1212.         case PT_INT64: return new CStringFileFeatures<int64_t>();
  1213.         case PT_UINT64: return new CStringFileFeatures<uint64_t>();
  1214.         case PT_FLOAT32: return new CStringFileFeatures<float32_t>();
  1215.         case PT_FLOAT64: return new CStringFileFeatures<float64_t>();
  1216.         case PT_FLOATMAX: return new CStringFileFeatures<floatmax_t>();
  1217.         case PT_COMPLEX128: return NULL;
  1218.         case PT_SGOBJECT:
  1219.         case PT_UNDEFINED: return NULL;
  1220.     }
  1221.     return NULL;
  1222. }
  1223. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CHashedDenseFeatures(EPrimitiveType g)
  1224. {
  1225.     switch (g)
  1226.     {
  1227.         case PT_BOOL: return new CHashedDenseFeatures<bool>();
  1228.         case PT_CHAR: return new CHashedDenseFeatures<char>();
  1229.         case PT_INT8: return new CHashedDenseFeatures<int8_t>();
  1230.         case PT_UINT8: return new CHashedDenseFeatures<uint8_t>();
  1231.         case PT_INT16: return new CHashedDenseFeatures<int16_t>();
  1232.         case PT_UINT16: return new CHashedDenseFeatures<uint16_t>();
  1233.         case PT_INT32: return new CHashedDenseFeatures<int32_t>();
  1234.         case PT_UINT32: return new CHashedDenseFeatures<uint32_t>();
  1235.         case PT_INT64: return new CHashedDenseFeatures<int64_t>();
  1236.         case PT_UINT64: return new CHashedDenseFeatures<uint64_t>();
  1237.         case PT_FLOAT32: return new CHashedDenseFeatures<float32_t>();
  1238.         case PT_FLOAT64: return new CHashedDenseFeatures<float64_t>();
  1239.         case PT_FLOATMAX: return new CHashedDenseFeatures<floatmax_t>();
  1240.         case PT_COMPLEX128: return NULL;
  1241.         case PT_SGOBJECT:
  1242.         case PT_UNDEFINED: return NULL;
  1243.     }
  1244.     return NULL;
  1245. }
  1246. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CHashedSparseFeatures(EPrimitiveType g)
  1247. {
  1248.     switch (g)
  1249.     {
  1250.         case PT_BOOL: return new CHashedSparseFeatures<bool>();
  1251.         case PT_CHAR: return new CHashedSparseFeatures<char>();
  1252.         case PT_INT8: return new CHashedSparseFeatures<int8_t>();
  1253.         case PT_UINT8: return new CHashedSparseFeatures<uint8_t>();
  1254.         case PT_INT16: return new CHashedSparseFeatures<int16_t>();
  1255.         case PT_UINT16: return new CHashedSparseFeatures<uint16_t>();
  1256.         case PT_INT32: return new CHashedSparseFeatures<int32_t>();
  1257.         case PT_UINT32: return new CHashedSparseFeatures<uint32_t>();
  1258.         case PT_INT64: return new CHashedSparseFeatures<int64_t>();
  1259.         case PT_UINT64: return new CHashedSparseFeatures<uint64_t>();
  1260.         case PT_FLOAT32: return new CHashedSparseFeatures<float32_t>();
  1261.         case PT_FLOAT64: return new CHashedSparseFeatures<float64_t>();
  1262.         case PT_FLOATMAX: return new CHashedSparseFeatures<floatmax_t>();
  1263.         case PT_COMPLEX128: return NULL;
  1264.         case PT_SGOBJECT:
  1265.         case PT_UNDEFINED: return NULL;
  1266.     }
  1267.     return NULL;
  1268. }
  1269. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CStreamingDenseFeatures(EPrimitiveType g)
  1270. {
  1271.     switch (g)
  1272.     {
  1273.         case PT_BOOL: return new CStreamingDenseFeatures<bool>();
  1274.         case PT_CHAR: return new CStreamingDenseFeatures<char>();
  1275.         case PT_INT8: return new CStreamingDenseFeatures<int8_t>();
  1276.         case PT_UINT8: return new CStreamingDenseFeatures<uint8_t>();
  1277.         case PT_INT16: return new CStreamingDenseFeatures<int16_t>();
  1278.         case PT_UINT16: return new CStreamingDenseFeatures<uint16_t>();
  1279.         case PT_INT32: return new CStreamingDenseFeatures<int32_t>();
  1280.         case PT_UINT32: return new CStreamingDenseFeatures<uint32_t>();
  1281.         case PT_INT64: return new CStreamingDenseFeatures<int64_t>();
  1282.         case PT_UINT64: return new CStreamingDenseFeatures<uint64_t>();
  1283.         case PT_FLOAT32: return new CStreamingDenseFeatures<float32_t>();
  1284.         case PT_FLOAT64: return new CStreamingDenseFeatures<float64_t>();
  1285.         case PT_FLOATMAX: return new CStreamingDenseFeatures<floatmax_t>();
  1286.         case PT_COMPLEX128: return NULL;
  1287.         case PT_SGOBJECT:
  1288.         case PT_UNDEFINED: return NULL;
  1289.     }
  1290.     return NULL;
  1291. }
  1292. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CStreamingHashedDenseFeatures(EPrimitiveType g)
  1293. {
  1294.     switch (g)
  1295.     {
  1296.         case PT_BOOL: return new CStreamingHashedDenseFeatures<bool>();
  1297.         case PT_CHAR: return new CStreamingHashedDenseFeatures<char>();
  1298.         case PT_INT8: return new CStreamingHashedDenseFeatures<int8_t>();
  1299.         case PT_UINT8: return new CStreamingHashedDenseFeatures<uint8_t>();
  1300.         case PT_INT16: return new CStreamingHashedDenseFeatures<int16_t>();
  1301.         case PT_UINT16: return new CStreamingHashedDenseFeatures<uint16_t>();
  1302.         case PT_INT32: return new CStreamingHashedDenseFeatures<int32_t>();
  1303.         case PT_UINT32: return new CStreamingHashedDenseFeatures<uint32_t>();
  1304.         case PT_INT64: return new CStreamingHashedDenseFeatures<int64_t>();
  1305.         case PT_UINT64: return new CStreamingHashedDenseFeatures<uint64_t>();
  1306.         case PT_FLOAT32: return new CStreamingHashedDenseFeatures<float32_t>();
  1307.         case PT_FLOAT64: return new CStreamingHashedDenseFeatures<float64_t>();
  1308.         case PT_FLOATMAX: return new CStreamingHashedDenseFeatures<floatmax_t>();
  1309.         case PT_COMPLEX128: return NULL;
  1310.         case PT_SGOBJECT:
  1311.         case PT_UNDEFINED: return NULL;
  1312.     }
  1313.     return NULL;
  1314. }
  1315. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CStreamingHashedSparseFeatures(EPrimitiveType g)
  1316. {
  1317.     switch (g)
  1318.     {
  1319.         case PT_BOOL: return new CStreamingHashedSparseFeatures<bool>();
  1320.         case PT_CHAR: return new CStreamingHashedSparseFeatures<char>();
  1321.         case PT_INT8: return new CStreamingHashedSparseFeatures<int8_t>();
  1322.         case PT_UINT8: return new CStreamingHashedSparseFeatures<uint8_t>();
  1323.         case PT_INT16: return new CStreamingHashedSparseFeatures<int16_t>();
  1324.         case PT_UINT16: return new CStreamingHashedSparseFeatures<uint16_t>();
  1325.         case PT_INT32: return new CStreamingHashedSparseFeatures<int32_t>();
  1326.         case PT_UINT32: return new CStreamingHashedSparseFeatures<uint32_t>();
  1327.         case PT_INT64: return new CStreamingHashedSparseFeatures<int64_t>();
  1328.         case PT_UINT64: return new CStreamingHashedSparseFeatures<uint64_t>();
  1329.         case PT_FLOAT32: return new CStreamingHashedSparseFeatures<float32_t>();
  1330.         case PT_FLOAT64: return new CStreamingHashedSparseFeatures<float64_t>();
  1331.         case PT_FLOATMAX: return new CStreamingHashedSparseFeatures<floatmax_t>();
  1332.         case PT_COMPLEX128: return NULL;
  1333.         case PT_SGOBJECT:
  1334.         case PT_UNDEFINED: return NULL;
  1335.     }
  1336.     return NULL;
  1337. }
  1338. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CStreamingSparseFeatures(EPrimitiveType g)
  1339. {
  1340.     switch (g)
  1341.     {
  1342.         case PT_BOOL: return new CStreamingSparseFeatures<bool>();
  1343.         case PT_CHAR: return new CStreamingSparseFeatures<char>();
  1344.         case PT_INT8: return new CStreamingSparseFeatures<int8_t>();
  1345.         case PT_UINT8: return new CStreamingSparseFeatures<uint8_t>();
  1346.         case PT_INT16: return new CStreamingSparseFeatures<int16_t>();
  1347.         case PT_UINT16: return new CStreamingSparseFeatures<uint16_t>();
  1348.         case PT_INT32: return new CStreamingSparseFeatures<int32_t>();
  1349.         case PT_UINT32: return new CStreamingSparseFeatures<uint32_t>();
  1350.         case PT_INT64: return new CStreamingSparseFeatures<int64_t>();
  1351.         case PT_UINT64: return new CStreamingSparseFeatures<uint64_t>();
  1352.         case PT_FLOAT32: return new CStreamingSparseFeatures<float32_t>();
  1353.         case PT_FLOAT64: return new CStreamingSparseFeatures<float64_t>();
  1354.         case PT_FLOATMAX: return new CStreamingSparseFeatures<floatmax_t>();
  1355.         case PT_COMPLEX128: return NULL;
  1356.         case PT_SGOBJECT:
  1357.         case PT_UNDEFINED: return NULL;
  1358.     }
  1359.     return NULL;
  1360. }
  1361. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CStreamingStringFeatures(EPrimitiveType g)
  1362. {
  1363.     switch (g)
  1364.     {
  1365.         case PT_BOOL: return new CStreamingStringFeatures<bool>();
  1366.         case PT_CHAR: return new CStreamingStringFeatures<char>();
  1367.         case PT_INT8: return new CStreamingStringFeatures<int8_t>();
  1368.         case PT_UINT8: return new CStreamingStringFeatures<uint8_t>();
  1369.         case PT_INT16: return new CStreamingStringFeatures<int16_t>();
  1370.         case PT_UINT16: return new CStreamingStringFeatures<uint16_t>();
  1371.         case PT_INT32: return new CStreamingStringFeatures<int32_t>();
  1372.         case PT_UINT32: return new CStreamingStringFeatures<uint32_t>();
  1373.         case PT_INT64: return new CStreamingStringFeatures<int64_t>();
  1374.         case PT_UINT64: return new CStreamingStringFeatures<uint64_t>();
  1375.         case PT_FLOAT32: return new CStreamingStringFeatures<float32_t>();
  1376.         case PT_FLOAT64: return new CStreamingStringFeatures<float64_t>();
  1377.         case PT_FLOATMAX: return new CStreamingStringFeatures<floatmax_t>();
  1378.         case PT_COMPLEX128: return NULL;
  1379.         case PT_SGOBJECT:
  1380.         case PT_UNDEFINED: return NULL;
  1381.     }
  1382.     return NULL;
  1383. }
  1384. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CBinaryStream(EPrimitiveType g)
  1385. {
  1386.     switch (g)
  1387.     {
  1388.         case PT_BOOL: return new CBinaryStream<bool>();
  1389.         case PT_CHAR: return new CBinaryStream<char>();
  1390.         case PT_INT8: return new CBinaryStream<int8_t>();
  1391.         case PT_UINT8: return new CBinaryStream<uint8_t>();
  1392.         case PT_INT16: return new CBinaryStream<int16_t>();
  1393.         case PT_UINT16: return new CBinaryStream<uint16_t>();
  1394.         case PT_INT32: return new CBinaryStream<int32_t>();
  1395.         case PT_UINT32: return new CBinaryStream<uint32_t>();
  1396.         case PT_INT64: return new CBinaryStream<int64_t>();
  1397.         case PT_UINT64: return new CBinaryStream<uint64_t>();
  1398.         case PT_FLOAT32: return new CBinaryStream<float32_t>();
  1399.         case PT_FLOAT64: return new CBinaryStream<float64_t>();
  1400.         case PT_FLOATMAX: return new CBinaryStream<floatmax_t>();
  1401.         case PT_COMPLEX128: return NULL;
  1402.         case PT_SGOBJECT:
  1403.         case PT_UNDEFINED: return NULL;
  1404.     }
  1405.     return NULL;
  1406. }
  1407. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CMemoryMappedFile(EPrimitiveType g)
  1408. {
  1409.     switch (g)
  1410.     {
  1411.         case PT_BOOL: return new CMemoryMappedFile<bool>();
  1412.         case PT_CHAR: return new CMemoryMappedFile<char>();
  1413.         case PT_INT8: return new CMemoryMappedFile<int8_t>();
  1414.         case PT_UINT8: return new CMemoryMappedFile<uint8_t>();
  1415.         case PT_INT16: return new CMemoryMappedFile<int16_t>();
  1416.         case PT_UINT16: return new CMemoryMappedFile<uint16_t>();
  1417.         case PT_INT32: return new CMemoryMappedFile<int32_t>();
  1418.         case PT_UINT32: return new CMemoryMappedFile<uint32_t>();
  1419.         case PT_INT64: return new CMemoryMappedFile<int64_t>();
  1420.         case PT_UINT64: return new CMemoryMappedFile<uint64_t>();
  1421.         case PT_FLOAT32: return new CMemoryMappedFile<float32_t>();
  1422.         case PT_FLOAT64: return new CMemoryMappedFile<float64_t>();
  1423.         case PT_FLOATMAX: return new CMemoryMappedFile<floatmax_t>();
  1424.         case PT_COMPLEX128: return NULL;
  1425.         case PT_SGOBJECT:
  1426.         case PT_UNDEFINED: return NULL;
  1427.     }
  1428.     return NULL;
  1429. }
  1430. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CSimpleFile(EPrimitiveType g)
  1431. {
  1432.     switch (g)
  1433.     {
  1434.         case PT_BOOL: return new CSimpleFile<bool>();
  1435.         case PT_CHAR: return new CSimpleFile<char>();
  1436.         case PT_INT8: return new CSimpleFile<int8_t>();
  1437.         case PT_UINT8: return new CSimpleFile<uint8_t>();
  1438.         case PT_INT16: return new CSimpleFile<int16_t>();
  1439.         case PT_UINT16: return new CSimpleFile<uint16_t>();
  1440.         case PT_INT32: return new CSimpleFile<int32_t>();
  1441.         case PT_UINT32: return new CSimpleFile<uint32_t>();
  1442.         case PT_INT64: return new CSimpleFile<int64_t>();
  1443.         case PT_UINT64: return new CSimpleFile<uint64_t>();
  1444.         case PT_FLOAT32: return new CSimpleFile<float32_t>();
  1445.         case PT_FLOAT64: return new CSimpleFile<float64_t>();
  1446.         case PT_FLOATMAX: return new CSimpleFile<floatmax_t>();
  1447.         case PT_COMPLEX128: return NULL;
  1448.         case PT_SGOBJECT:
  1449.         case PT_UNDEFINED: return NULL;
  1450.     }
  1451.     return NULL;
  1452. }
  1453. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CParseBuffer(EPrimitiveType g)
  1454. {
  1455.     switch (g)
  1456.     {
  1457.         case PT_BOOL: return new CParseBuffer<bool>();
  1458.         case PT_CHAR: return new CParseBuffer<char>();
  1459.         case PT_INT8: return new CParseBuffer<int8_t>();
  1460.         case PT_UINT8: return new CParseBuffer<uint8_t>();
  1461.         case PT_INT16: return new CParseBuffer<int16_t>();
  1462.         case PT_UINT16: return new CParseBuffer<uint16_t>();
  1463.         case PT_INT32: return new CParseBuffer<int32_t>();
  1464.         case PT_UINT32: return new CParseBuffer<uint32_t>();
  1465.         case PT_INT64: return new CParseBuffer<int64_t>();
  1466.         case PT_UINT64: return new CParseBuffer<uint64_t>();
  1467.         case PT_FLOAT32: return new CParseBuffer<float32_t>();
  1468.         case PT_FLOAT64: return new CParseBuffer<float64_t>();
  1469.         case PT_FLOATMAX: return new CParseBuffer<floatmax_t>();
  1470.         case PT_COMPLEX128: return NULL;
  1471.         case PT_SGOBJECT:
  1472.         case PT_UNDEFINED: return NULL;
  1473.     }
  1474.     return NULL;
  1475. }
  1476. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CStreamingFileFromDenseFeatures(EPrimitiveType g)
  1477. {
  1478.     switch (g)
  1479.     {
  1480.         case PT_BOOL: return new CStreamingFileFromDenseFeatures<bool>();
  1481.         case PT_CHAR: return new CStreamingFileFromDenseFeatures<char>();
  1482.         case PT_INT8: return new CStreamingFileFromDenseFeatures<int8_t>();
  1483.         case PT_UINT8: return new CStreamingFileFromDenseFeatures<uint8_t>();
  1484.         case PT_INT16: return new CStreamingFileFromDenseFeatures<int16_t>();
  1485.         case PT_UINT16: return new CStreamingFileFromDenseFeatures<uint16_t>();
  1486.         case PT_INT32: return new CStreamingFileFromDenseFeatures<int32_t>();
  1487.         case PT_UINT32: return new CStreamingFileFromDenseFeatures<uint32_t>();
  1488.         case PT_INT64: return new CStreamingFileFromDenseFeatures<int64_t>();
  1489.         case PT_UINT64: return new CStreamingFileFromDenseFeatures<uint64_t>();
  1490.         case PT_FLOAT32: return new CStreamingFileFromDenseFeatures<float32_t>();
  1491.         case PT_FLOAT64: return new CStreamingFileFromDenseFeatures<float64_t>();
  1492.         case PT_FLOATMAX: return new CStreamingFileFromDenseFeatures<floatmax_t>();
  1493.         case PT_COMPLEX128: return NULL;
  1494.         case PT_SGOBJECT:
  1495.         case PT_UNDEFINED: return NULL;
  1496.     }
  1497.     return NULL;
  1498. }
  1499. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CStreamingFileFromSparseFeatures(EPrimitiveType g)
  1500. {
  1501.     switch (g)
  1502.     {
  1503.         case PT_BOOL: return new CStreamingFileFromSparseFeatures<bool>();
  1504.         case PT_CHAR: return new CStreamingFileFromSparseFeatures<char>();
  1505.         case PT_INT8: return new CStreamingFileFromSparseFeatures<int8_t>();
  1506.         case PT_UINT8: return new CStreamingFileFromSparseFeatures<uint8_t>();
  1507.         case PT_INT16: return new CStreamingFileFromSparseFeatures<int16_t>();
  1508.         case PT_UINT16: return new CStreamingFileFromSparseFeatures<uint16_t>();
  1509.         case PT_INT32: return new CStreamingFileFromSparseFeatures<int32_t>();
  1510.         case PT_UINT32: return new CStreamingFileFromSparseFeatures<uint32_t>();
  1511.         case PT_INT64: return new CStreamingFileFromSparseFeatures<int64_t>();
  1512.         case PT_UINT64: return new CStreamingFileFromSparseFeatures<uint64_t>();
  1513.         case PT_FLOAT32: return new CStreamingFileFromSparseFeatures<float32_t>();
  1514.         case PT_FLOAT64: return new CStreamingFileFromSparseFeatures<float64_t>();
  1515.         case PT_FLOATMAX: return new CStreamingFileFromSparseFeatures<floatmax_t>();
  1516.         case PT_COMPLEX128: return NULL;
  1517.         case PT_SGOBJECT:
  1518.         case PT_UNDEFINED: return NULL;
  1519.     }
  1520.     return NULL;
  1521. }
  1522. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CStreamingFileFromStringFeatures(EPrimitiveType g)
  1523. {
  1524.     switch (g)
  1525.     {
  1526.         case PT_BOOL: return new CStreamingFileFromStringFeatures<bool>();
  1527.         case PT_CHAR: return new CStreamingFileFromStringFeatures<char>();
  1528.         case PT_INT8: return new CStreamingFileFromStringFeatures<int8_t>();
  1529.         case PT_UINT8: return new CStreamingFileFromStringFeatures<uint8_t>();
  1530.         case PT_INT16: return new CStreamingFileFromStringFeatures<int16_t>();
  1531.         case PT_UINT16: return new CStreamingFileFromStringFeatures<uint16_t>();
  1532.         case PT_INT32: return new CStreamingFileFromStringFeatures<int32_t>();
  1533.         case PT_UINT32: return new CStreamingFileFromStringFeatures<uint32_t>();
  1534.         case PT_INT64: return new CStreamingFileFromStringFeatures<int64_t>();
  1535.         case PT_UINT64: return new CStreamingFileFromStringFeatures<uint64_t>();
  1536.         case PT_FLOAT32: return new CStreamingFileFromStringFeatures<float32_t>();
  1537.         case PT_FLOAT64: return new CStreamingFileFromStringFeatures<float64_t>();
  1538.         case PT_FLOATMAX: return new CStreamingFileFromStringFeatures<floatmax_t>();
  1539.         case PT_COMPLEX128: return NULL;
  1540.         case PT_SGOBJECT:
  1541.         case PT_UNDEFINED: return NULL;
  1542.     }
  1543.     return NULL;
  1544. }
  1545. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CCache(EPrimitiveType g)
  1546. {
  1547.     switch (g)
  1548.     {
  1549.         case PT_BOOL: return new CCache<bool>();
  1550.         case PT_CHAR: return new CCache<char>();
  1551.         case PT_INT8: return new CCache<int8_t>();
  1552.         case PT_UINT8: return new CCache<uint8_t>();
  1553.         case PT_INT16: return new CCache<int16_t>();
  1554.         case PT_UINT16: return new CCache<uint16_t>();
  1555.         case PT_INT32: return new CCache<int32_t>();
  1556.         case PT_UINT32: return new CCache<uint32_t>();
  1557.         case PT_INT64: return new CCache<int64_t>();
  1558.         case PT_UINT64: return new CCache<uint64_t>();
  1559.         case PT_FLOAT32: return new CCache<float32_t>();
  1560.         case PT_FLOAT64: return new CCache<float64_t>();
  1561.         case PT_FLOATMAX: return new CCache<floatmax_t>();
  1562.         case PT_COMPLEX128: return NULL;
  1563.         case PT_SGOBJECT:
  1564.         case PT_UNDEFINED: return NULL;
  1565.     }
  1566.     return NULL;
  1567. }
  1568. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CSet(EPrimitiveType g)
  1569. {
  1570.     switch (g)
  1571.     {
  1572.         case PT_BOOL: return new CSet<bool>();
  1573.         case PT_CHAR: return new CSet<char>();
  1574.         case PT_INT8: return new CSet<int8_t>();
  1575.         case PT_UINT8: return new CSet<uint8_t>();
  1576.         case PT_INT16: return new CSet<int16_t>();
  1577.         case PT_UINT16: return new CSet<uint16_t>();
  1578.         case PT_INT32: return new CSet<int32_t>();
  1579.         case PT_UINT32: return new CSet<uint32_t>();
  1580.         case PT_INT64: return new CSet<int64_t>();
  1581.         case PT_UINT64: return new CSet<uint64_t>();
  1582.         case PT_FLOAT32: return new CSet<float32_t>();
  1583.         case PT_FLOAT64: return new CSet<float64_t>();
  1584.         case PT_FLOATMAX: return new CSet<floatmax_t>();
  1585.         case PT_COMPLEX128: return NULL;
  1586.         case PT_SGOBJECT:
  1587.         case PT_UNDEFINED: return NULL;
  1588.     }
  1589.     return NULL;
  1590. }
  1591. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CWrappedBasic(EPrimitiveType g)
  1592. {
  1593.     switch (g)
  1594.     {
  1595.         case PT_BOOL: return new CWrappedBasic<bool>();
  1596.         case PT_CHAR: return new CWrappedBasic<char>();
  1597.         case PT_INT8: return new CWrappedBasic<int8_t>();
  1598.         case PT_UINT8: return new CWrappedBasic<uint8_t>();
  1599.         case PT_INT16: return new CWrappedBasic<int16_t>();
  1600.         case PT_UINT16: return new CWrappedBasic<uint16_t>();
  1601.         case PT_INT32: return new CWrappedBasic<int32_t>();
  1602.         case PT_UINT32: return new CWrappedBasic<uint32_t>();
  1603.         case PT_INT64: return new CWrappedBasic<int64_t>();
  1604.         case PT_UINT64: return new CWrappedBasic<uint64_t>();
  1605.         case PT_FLOAT32: return new CWrappedBasic<float32_t>();
  1606.         case PT_FLOAT64: return new CWrappedBasic<float64_t>();
  1607.         case PT_FLOATMAX: return new CWrappedBasic<floatmax_t>();
  1608.         case PT_COMPLEX128: return NULL;
  1609.         case PT_SGOBJECT:
  1610.         case PT_UNDEFINED: return NULL;
  1611.     }
  1612.     return NULL;
  1613. }
  1614. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CWrappedSGMatrix(EPrimitiveType g)
  1615. {
  1616.     switch (g)
  1617.     {
  1618.         case PT_BOOL: return new CWrappedSGMatrix<bool>();
  1619.         case PT_CHAR: return new CWrappedSGMatrix<char>();
  1620.         case PT_INT8: return new CWrappedSGMatrix<int8_t>();
  1621.         case PT_UINT8: return new CWrappedSGMatrix<uint8_t>();
  1622.         case PT_INT16: return new CWrappedSGMatrix<int16_t>();
  1623.         case PT_UINT16: return new CWrappedSGMatrix<uint16_t>();
  1624.         case PT_INT32: return new CWrappedSGMatrix<int32_t>();
  1625.         case PT_UINT32: return new CWrappedSGMatrix<uint32_t>();
  1626.         case PT_INT64: return new CWrappedSGMatrix<int64_t>();
  1627.         case PT_UINT64: return new CWrappedSGMatrix<uint64_t>();
  1628.         case PT_FLOAT32: return new CWrappedSGMatrix<float32_t>();
  1629.         case PT_FLOAT64: return new CWrappedSGMatrix<float64_t>();
  1630.         case PT_FLOATMAX: return new CWrappedSGMatrix<floatmax_t>();
  1631.         case PT_COMPLEX128: return NULL;
  1632.         case PT_SGOBJECT:
  1633.         case PT_UNDEFINED: return NULL;
  1634.     }
  1635.     return NULL;
  1636. }
  1637. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CWrappedSGVector(EPrimitiveType g)
  1638. {
  1639.     switch (g)
  1640.     {
  1641.         case PT_BOOL: return new CWrappedSGVector<bool>();
  1642.         case PT_CHAR: return new CWrappedSGVector<char>();
  1643.         case PT_INT8: return new CWrappedSGVector<int8_t>();
  1644.         case PT_UINT8: return new CWrappedSGVector<uint8_t>();
  1645.         case PT_INT16: return new CWrappedSGVector<int16_t>();
  1646.         case PT_UINT16: return new CWrappedSGVector<uint16_t>();
  1647.         case PT_INT32: return new CWrappedSGVector<int32_t>();
  1648.         case PT_UINT32: return new CWrappedSGVector<uint32_t>();
  1649.         case PT_INT64: return new CWrappedSGVector<int64_t>();
  1650.         case PT_UINT64: return new CWrappedSGVector<uint64_t>();
  1651.         case PT_FLOAT32: return new CWrappedSGVector<float32_t>();
  1652.         case PT_FLOAT64: return new CWrappedSGVector<float64_t>();
  1653.         case PT_FLOATMAX: return new CWrappedSGVector<floatmax_t>();
  1654.         case PT_COMPLEX128: return NULL;
  1655.         case PT_SGOBJECT:
  1656.         case PT_UNDEFINED: return NULL;
  1657.     }
  1658.     return NULL;
  1659. }
  1660. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CTreeMachine(EPrimitiveType g)
  1661. {
  1662.     switch (g)
  1663.     {
  1664.         case PT_BOOL: return new CTreeMachine<bool>();
  1665.         case PT_CHAR: return new CTreeMachine<char>();
  1666.         case PT_INT8: return new CTreeMachine<int8_t>();
  1667.         case PT_UINT8: return new CTreeMachine<uint8_t>();
  1668.         case PT_INT16: return new CTreeMachine<int16_t>();
  1669.         case PT_UINT16: return new CTreeMachine<uint16_t>();
  1670.         case PT_INT32: return new CTreeMachine<int32_t>();
  1671.         case PT_UINT32: return new CTreeMachine<uint32_t>();
  1672.         case PT_INT64: return new CTreeMachine<int64_t>();
  1673.         case PT_UINT64: return new CTreeMachine<uint64_t>();
  1674.         case PT_FLOAT32: return new CTreeMachine<float32_t>();
  1675.         case PT_FLOAT64: return new CTreeMachine<float64_t>();
  1676.         case PT_FLOATMAX: return new CTreeMachine<floatmax_t>();
  1677.         case PT_COMPLEX128: return NULL;
  1678.         case PT_SGOBJECT:
  1679.         case PT_UNDEFINED: return NULL;
  1680.     }
  1681.     return NULL;
  1682. }
  1683. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CDecompressString(EPrimitiveType g)
  1684. {
  1685.     switch (g)
  1686.     {
  1687.         case PT_BOOL: return new CDecompressString<bool>();
  1688.         case PT_CHAR: return new CDecompressString<char>();
  1689.         case PT_INT8: return new CDecompressString<int8_t>();
  1690.         case PT_UINT8: return new CDecompressString<uint8_t>();
  1691.         case PT_INT16: return new CDecompressString<int16_t>();
  1692.         case PT_UINT16: return new CDecompressString<uint16_t>();
  1693.         case PT_INT32: return new CDecompressString<int32_t>();
  1694.         case PT_UINT32: return new CDecompressString<uint32_t>();
  1695.         case PT_INT64: return new CDecompressString<int64_t>();
  1696.         case PT_UINT64: return new CDecompressString<uint64_t>();
  1697.         case PT_FLOAT32: return new CDecompressString<float32_t>();
  1698.         case PT_FLOAT64: return new CDecompressString<float64_t>();
  1699.         case PT_FLOATMAX: return new CDecompressString<floatmax_t>();
  1700.         case PT_COMPLEX128: return NULL;
  1701.         case PT_SGOBJECT:
  1702.         case PT_UNDEFINED: return NULL;
  1703.     }
  1704.     return NULL;
  1705. }
  1706. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CStoreScalarAggregator(EPrimitiveType g)
  1707. {
  1708.     switch (g)
  1709.     {
  1710.         case PT_BOOL: return new CStoreScalarAggregator<bool>();
  1711.         case PT_CHAR: return new CStoreScalarAggregator<char>();
  1712.         case PT_INT8: return new CStoreScalarAggregator<int8_t>();
  1713.         case PT_UINT8: return new CStoreScalarAggregator<uint8_t>();
  1714.         case PT_INT16: return new CStoreScalarAggregator<int16_t>();
  1715.         case PT_UINT16: return new CStoreScalarAggregator<uint16_t>();
  1716.         case PT_INT32: return new CStoreScalarAggregator<int32_t>();
  1717.         case PT_UINT32: return new CStoreScalarAggregator<uint32_t>();
  1718.         case PT_INT64: return new CStoreScalarAggregator<int64_t>();
  1719.         case PT_UINT64: return new CStoreScalarAggregator<uint64_t>();
  1720.         case PT_FLOAT32: return new CStoreScalarAggregator<float32_t>();
  1721.         case PT_FLOAT64: return new CStoreScalarAggregator<float64_t>();
  1722.         case PT_FLOATMAX: return new CStoreScalarAggregator<floatmax_t>();
  1723.         case PT_COMPLEX128: return new CStoreScalarAggregator<complex128_t>();
  1724.         case PT_SGOBJECT:
  1725.         case PT_UNDEFINED: return NULL;
  1726.     }
  1727.     return NULL;
  1728. }
  1729. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CScalarResult(EPrimitiveType g)
  1730. {
  1731.     switch (g)
  1732.     {
  1733.         case PT_BOOL: return new CScalarResult<bool>();
  1734.         case PT_CHAR: return new CScalarResult<char>();
  1735.         case PT_INT8: return new CScalarResult<int8_t>();
  1736.         case PT_UINT8: return new CScalarResult<uint8_t>();
  1737.         case PT_INT16: return new CScalarResult<int16_t>();
  1738.         case PT_UINT16: return new CScalarResult<uint16_t>();
  1739.         case PT_INT32: return new CScalarResult<int32_t>();
  1740.         case PT_UINT32: return new CScalarResult<uint32_t>();
  1741.         case PT_INT64: return new CScalarResult<int64_t>();
  1742.         case PT_UINT64: return new CScalarResult<uint64_t>();
  1743.         case PT_FLOAT32: return new CScalarResult<float32_t>();
  1744.         case PT_FLOAT64: return new CScalarResult<float64_t>();
  1745.         case PT_FLOATMAX: return new CScalarResult<floatmax_t>();
  1746.         case PT_COMPLEX128: return new CScalarResult<complex128_t>();
  1747.         case PT_SGOBJECT:
  1748.         case PT_UNDEFINED: return NULL;
  1749.     }
  1750.     return NULL;
  1751. }
  1752. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CVectorResult(EPrimitiveType g)
  1753. {
  1754.     switch (g)
  1755.     {
  1756.         case PT_BOOL: return new CVectorResult<bool>();
  1757.         case PT_CHAR: return new CVectorResult<char>();
  1758.         case PT_INT8: return new CVectorResult<int8_t>();
  1759.         case PT_UINT8: return new CVectorResult<uint8_t>();
  1760.         case PT_INT16: return new CVectorResult<int16_t>();
  1761.         case PT_UINT16: return new CVectorResult<uint16_t>();
  1762.         case PT_INT32: return new CVectorResult<int32_t>();
  1763.         case PT_UINT32: return new CVectorResult<uint32_t>();
  1764.         case PT_INT64: return new CVectorResult<int64_t>();
  1765.         case PT_UINT64: return new CVectorResult<uint64_t>();
  1766.         case PT_FLOAT32: return new CVectorResult<float32_t>();
  1767.         case PT_FLOAT64: return new CVectorResult<float64_t>();
  1768.         case PT_FLOATMAX: return new CVectorResult<floatmax_t>();
  1769.         case PT_COMPLEX128: return new CVectorResult<complex128_t>();
  1770.         case PT_SGOBJECT:
  1771.         case PT_UNDEFINED: return NULL;
  1772.     }
  1773.     return NULL;
  1774. }
  1775. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CDenseMatrixOperator(EPrimitiveType g)
  1776. {
  1777.     switch (g)
  1778.     {
  1779.         case PT_BOOL: return new CDenseMatrixOperator<bool>();
  1780.         case PT_CHAR: return new CDenseMatrixOperator<char>();
  1781.         case PT_INT8: return new CDenseMatrixOperator<int8_t>();
  1782.         case PT_UINT8: return new CDenseMatrixOperator<uint8_t>();
  1783.         case PT_INT16: return new CDenseMatrixOperator<int16_t>();
  1784.         case PT_UINT16: return new CDenseMatrixOperator<uint16_t>();
  1785.         case PT_INT32: return new CDenseMatrixOperator<int32_t>();
  1786.         case PT_UINT32: return new CDenseMatrixOperator<uint32_t>();
  1787.         case PT_INT64: return new CDenseMatrixOperator<int64_t>();
  1788.         case PT_UINT64: return new CDenseMatrixOperator<uint64_t>();
  1789.         case PT_FLOAT32: return new CDenseMatrixOperator<float32_t>();
  1790.         case PT_FLOAT64: return new CDenseMatrixOperator<float64_t>();
  1791.         case PT_FLOATMAX: return new CDenseMatrixOperator<floatmax_t>();
  1792.         case PT_COMPLEX128: return new CDenseMatrixOperator<complex128_t>();
  1793.         case PT_SGOBJECT:
  1794.         case PT_UNDEFINED: return NULL;
  1795.     }
  1796.     return NULL;
  1797. }
  1798. static SHOGUN_TEMPLATE_CLASS CSGObject* __new_CSparseMatrixOperator(EPrimitiveType g)
  1799. {
  1800.     switch (g)
  1801.     {
  1802.         case PT_BOOL: return new CSparseMatrixOperator<bool>();
  1803.         case PT_CHAR: return new CSparseMatrixOperator<char>();
  1804.         case PT_INT8: return new CSparseMatrixOperator<int8_t>();
  1805.         case PT_UINT8: return new CSparseMatrixOperator<uint8_t>();
  1806.         case PT_INT16: return new CSparseMatrixOperator<int16_t>();
  1807.         case PT_UINT16: return new CSparseMatrixOperator<uint16_t>();
  1808.         case PT_INT32: return new CSparseMatrixOperator<int32_t>();
  1809.         case PT_UINT32: return new CSparseMatrixOperator<uint32_t>();
  1810.         case PT_INT64: return new CSparseMatrixOperator<int64_t>();
  1811.         case PT_UINT64: return new CSparseMatrixOperator<uint64_t>();
  1812.         case PT_FLOAT32: return new CSparseMatrixOperator<float32_t>();
  1813.         case PT_FLOAT64: return new CSparseMatrixOperator<float64_t>();
  1814.         case PT_FLOATMAX: return new CSparseMatrixOperator<floatmax_t>();
  1815.         case PT_COMPLEX128: return new CSparseMatrixOperator<complex128_t>();
  1816.         case PT_SGOBJECT:
  1817.         case PT_UNDEFINED: return NULL;
  1818.     }
  1819.     return NULL;
  1820. }
  1821. typedef CSGObject* (*new_sgserializable_t)(EPrimitiveType generic);
  1822. #ifndef DOXYGEN_SHOULD_SKIP_THIS
  1823. typedef struct
  1824. {
  1825.     const char* m_class_name;
  1826.     new_sgserializable_t m_new_sgserializable;
  1827. } class_list_entry_t;
  1828. #endif
  1829.  
  1830. static class_list_entry_t class_list[] = {
  1831. {"AveragedPerceptron", SHOGUN_BASIC_CLASS __new_CAveragedPerceptron},
  1832. {"FeatureBlockLogisticRegression", SHOGUN_BASIC_CLASS __new_CFeatureBlockLogisticRegression},
  1833. {"GaussianProcessClassification", SHOGUN_BASIC_CLASS __new_CGaussianProcessClassification},
  1834. {"LDA", SHOGUN_BASIC_CLASS __new_CLDA},
  1835. {"NearestCentroid", SHOGUN_BASIC_CLASS __new_CNearestCentroid},
  1836. {"Perceptron", SHOGUN_BASIC_CLASS __new_CPerceptron},
  1837. {"PluginEstimate", SHOGUN_BASIC_CLASS __new_CPluginEstimate},
  1838. {"MKLClassification", SHOGUN_BASIC_CLASS __new_CMKLClassification},
  1839. {"MKLMulticlass", SHOGUN_BASIC_CLASS __new_CMKLMulticlass},
  1840. {"MKLOneClass", SHOGUN_BASIC_CLASS __new_CMKLOneClass},
  1841. {"GNPPLib", SHOGUN_BASIC_CLASS __new_CGNPPLib},
  1842. {"GNPPSVM", SHOGUN_BASIC_CLASS __new_CGNPPSVM},
  1843. {"GPBTSVM", SHOGUN_BASIC_CLASS __new_CGPBTSVM},
  1844. {"LibLinear", SHOGUN_BASIC_CLASS __new_CLibLinear},
  1845. {"LibSVM", SHOGUN_BASIC_CLASS __new_CLibSVM},
  1846. {"LibSVMOneClass", SHOGUN_BASIC_CLASS __new_CLibSVMOneClass},
  1847. {"MPDSVM", SHOGUN_BASIC_CLASS __new_CMPDSVM},
  1848. {"NewtonSVM", SHOGUN_BASIC_CLASS __new_CNewtonSVM},
  1849. {"OnlineLibLinear", SHOGUN_BASIC_CLASS __new_COnlineLibLinear},
  1850. {"OnlineSVMSGD", SHOGUN_BASIC_CLASS __new_COnlineSVMSGD},
  1851. {"QPBSVMLib", SHOGUN_BASIC_CLASS __new_CQPBSVMLib},
  1852. {"SGDQN", SHOGUN_BASIC_CLASS __new_CSGDQN},
  1853. {"SVM", SHOGUN_BASIC_CLASS __new_CSVM},
  1854. {"SVMLight", SHOGUN_BASIC_CLASS __new_CSVMLight},
  1855. {"SVMLightOneClass", SHOGUN_BASIC_CLASS __new_CSVMLightOneClass},
  1856. {"SVMLin", SHOGUN_BASIC_CLASS __new_CSVMLin},
  1857. {"SVMOcas", SHOGUN_BASIC_CLASS __new_CSVMOcas},
  1858. {"SVMSGD", SHOGUN_BASIC_CLASS __new_CSVMSGD},
  1859. {"WDSVMOcas", SHOGUN_BASIC_CLASS __new_CWDSVMOcas},
  1860. {"VowpalWabbit", SHOGUN_BASIC_CLASS __new_CVowpalWabbit},
  1861. {"VwEnvironment", SHOGUN_BASIC_CLASS __new_CVwEnvironment},
  1862. {"VwParser", SHOGUN_BASIC_CLASS __new_CVwParser},
  1863. {"VwRegressor", SHOGUN_BASIC_CLASS __new_CVwRegressor},
  1864. {"VwNativeCacheReader", SHOGUN_BASIC_CLASS __new_CVwNativeCacheReader},
  1865. {"VwNativeCacheWriter", SHOGUN_BASIC_CLASS __new_CVwNativeCacheWriter},
  1866. {"VwAdaptiveLearner", SHOGUN_BASIC_CLASS __new_CVwAdaptiveLearner},
  1867. {"VwNonAdaptiveLearner", SHOGUN_BASIC_CLASS __new_CVwNonAdaptiveLearner},
  1868. {"GMM", SHOGUN_BASIC_CLASS __new_CGMM},
  1869. {"Hierarchical", SHOGUN_BASIC_CLASS __new_CHierarchical},
  1870. {"KMeans", SHOGUN_BASIC_CLASS __new_CKMeans},
  1871. {"KMeansBase", SHOGUN_BASIC_CLASS __new_CKMeansBase},
  1872. {"KMeansMiniBatch", SHOGUN_BASIC_CLASS __new_CKMeansMiniBatch},
  1873. {"DiffusionMaps", SHOGUN_BASIC_CLASS __new_CDiffusionMaps},
  1874. {"FactorAnalysis", SHOGUN_BASIC_CLASS __new_CFactorAnalysis},
  1875. {"HashedDocConverter", SHOGUN_BASIC_CLASS __new_CHashedDocConverter},
  1876. {"HessianLocallyLinearEmbedding", SHOGUN_BASIC_CLASS __new_CHessianLocallyLinearEmbedding},
  1877. {"Isomap", SHOGUN_BASIC_CLASS __new_CIsomap},
  1878. {"KernelLocallyLinearEmbedding", SHOGUN_BASIC_CLASS __new_CKernelLocallyLinearEmbedding},
  1879. {"LaplacianEigenmaps", SHOGUN_BASIC_CLASS __new_CLaplacianEigenmaps},
  1880. {"LinearLocalTangentSpaceAlignment", SHOGUN_BASIC_CLASS __new_CLinearLocalTangentSpaceAlignment},
  1881. {"LocalTangentSpaceAlignment", SHOGUN_BASIC_CLASS __new_CLocalTangentSpaceAlignment},
  1882. {"LocalityPreservingProjections", SHOGUN_BASIC_CLASS __new_CLocalityPreservingProjections},
  1883. {"LocallyLinearEmbedding", SHOGUN_BASIC_CLASS __new_CLocallyLinearEmbedding},
  1884. {"ManifoldSculpting", SHOGUN_BASIC_CLASS __new_CManifoldSculpting},
  1885. {"MultidimensionalScaling", SHOGUN_BASIC_CLASS __new_CMultidimensionalScaling},
  1886. {"NeighborhoodPreservingEmbedding", SHOGUN_BASIC_CLASS __new_CNeighborhoodPreservingEmbedding},
  1887. {"StochasticProximityEmbedding", SHOGUN_BASIC_CLASS __new_CStochasticProximityEmbedding},
  1888. {"TDistributedStochasticNeighborEmbedding", SHOGUN_BASIC_CLASS __new_CTDistributedStochasticNeighborEmbedding},
  1889. {"FFSep", SHOGUN_BASIC_CLASS __new_CFFSep},
  1890. {"FastICA", SHOGUN_BASIC_CLASS __new_CFastICA},
  1891. {"Jade", SHOGUN_BASIC_CLASS __new_CJade},
  1892. {"JediSep", SHOGUN_BASIC_CLASS __new_CJediSep},
  1893. {"SOBI", SHOGUN_BASIC_CLASS __new_CSOBI},
  1894. {"UWedgeSep", SHOGUN_BASIC_CLASS __new_CUWedgeSep},
  1895. {"AttenuatedEuclideanDistance", SHOGUN_BASIC_CLASS __new_CAttenuatedEuclideanDistance},
  1896. {"BrayCurtisDistance", SHOGUN_BASIC_CLASS __new_CBrayCurtisDistance},
  1897. {"CanberraMetric", SHOGUN_BASIC_CLASS __new_CCanberraMetric},
  1898. {"CanberraWordDistance", SHOGUN_BASIC_CLASS __new_CCanberraWordDistance},
  1899. {"ChebyshewMetric", SHOGUN_BASIC_CLASS __new_CChebyshewMetric},
  1900. {"ChiSquareDistance", SHOGUN_BASIC_CLASS __new_CChiSquareDistance},
  1901. {"CosineDistance", SHOGUN_BASIC_CLASS __new_CCosineDistance},
  1902. {"CustomDistance", SHOGUN_BASIC_CLASS __new_CCustomDistance},
  1903. {"CustomMahalanobisDistance", SHOGUN_BASIC_CLASS __new_CCustomMahalanobisDistance},
  1904. {"EuclideanDistance", SHOGUN_BASIC_CLASS __new_CEuclideanDistance},
  1905. {"GeodesicMetric", SHOGUN_BASIC_CLASS __new_CGeodesicMetric},
  1906. {"HammingWordDistance", SHOGUN_BASIC_CLASS __new_CHammingWordDistance},
  1907. {"JensenMetric", SHOGUN_BASIC_CLASS __new_CJensenMetric},
  1908. {"KernelDistance", SHOGUN_BASIC_CLASS __new_CKernelDistance},
  1909. {"MahalanobisDistance", SHOGUN_BASIC_CLASS __new_CMahalanobisDistance},
  1910. {"ManhattanMetric", SHOGUN_BASIC_CLASS __new_CManhattanMetric},
  1911. {"ManhattanWordDistance", SHOGUN_BASIC_CLASS __new_CManhattanWordDistance},
  1912. {"MinkowskiMetric", SHOGUN_BASIC_CLASS __new_CMinkowskiMetric},
  1913. {"SparseEuclideanDistance", SHOGUN_BASIC_CLASS __new_CSparseEuclideanDistance},
  1914. {"TanimotoDistance", SHOGUN_BASIC_CLASS __new_CTanimotoDistance},
  1915. {"EMMixtureModel", SHOGUN_BASIC_CLASS __new_CEMMixtureModel},
  1916. {"Gaussian", SHOGUN_BASIC_CLASS __new_CGaussian},
  1917. {"HMM", SHOGUN_BASIC_CLASS __new_CHMM},
  1918. {"Histogram", SHOGUN_BASIC_CLASS __new_CHistogram},
  1919. {"KernelDensity", SHOGUN_BASIC_CLASS __new_CKernelDensity},
  1920. {"LinearHMM", SHOGUN_BASIC_CLASS __new_CLinearHMM},
  1921. {"MixtureModel", SHOGUN_BASIC_CLASS __new_CMixtureModel},
  1922. {"PositionalPWM", SHOGUN_BASIC_CLASS __new_CPositionalPWM},
  1923. {"GaussianDistribution", SHOGUN_BASIC_CLASS __new_CGaussianDistribution},
  1924. {"MajorityVote", SHOGUN_BASIC_CLASS __new_CMajorityVote},
  1925. {"MeanRule", SHOGUN_BASIC_CLASS __new_CMeanRule},
  1926. {"WeightedMajorityVote", SHOGUN_BASIC_CLASS __new_CWeightedMajorityVote},
  1927. {"ClusteringAccuracy", SHOGUN_BASIC_CLASS __new_CClusteringAccuracy},
  1928. {"ClusteringMutualInformation", SHOGUN_BASIC_CLASS __new_CClusteringMutualInformation},
  1929. {"ContingencyTableEvaluation", SHOGUN_BASIC_CLASS __new_CContingencyTableEvaluation},
  1930. {"AccuracyMeasure", SHOGUN_BASIC_CLASS __new_CAccuracyMeasure},
  1931. {"ErrorRateMeasure", SHOGUN_BASIC_CLASS __new_CErrorRateMeasure},
  1932. {"BALMeasure", SHOGUN_BASIC_CLASS __new_CBALMeasure},
  1933. {"WRACCMeasure", SHOGUN_BASIC_CLASS __new_CWRACCMeasure},
  1934. {"F1Measure", SHOGUN_BASIC_CLASS __new_CF1Measure},
  1935. {"CrossCorrelationMeasure", SHOGUN_BASIC_CLASS __new_CCrossCorrelationMeasure},
  1936. {"RecallMeasure", SHOGUN_BASIC_CLASS __new_CRecallMeasure},
  1937. {"PrecisionMeasure", SHOGUN_BASIC_CLASS __new_CPrecisionMeasure},
  1938. {"SpecificityMeasure", SHOGUN_BASIC_CLASS __new_CSpecificityMeasure},
  1939. {"CrossValidationResult", SHOGUN_BASIC_CLASS __new_CCrossValidationResult},
  1940. {"CrossValidation", SHOGUN_BASIC_CLASS __new_CCrossValidation},
  1941. {"CrossValidationMKLStorage", SHOGUN_BASIC_CLASS __new_CCrossValidationMKLStorage},
  1942. {"CrossValidationMulticlassStorage", SHOGUN_BASIC_CLASS __new_CCrossValidationMulticlassStorage},
  1943. {"CrossValidationPrintOutput", SHOGUN_BASIC_CLASS __new_CCrossValidationPrintOutput},
  1944. {"CrossValidationSplitting", SHOGUN_BASIC_CLASS __new_CCrossValidationSplitting},
  1945. {"GradientCriterion", SHOGUN_BASIC_CLASS __new_CGradientCriterion},
  1946. {"GradientEvaluation", SHOGUN_BASIC_CLASS __new_CGradientEvaluation},
  1947. {"GradientResult", SHOGUN_BASIC_CLASS __new_CGradientResult},
  1948. {"LOOCrossValidationSplitting", SHOGUN_BASIC_CLASS __new_CLOOCrossValidationSplitting},
  1949. {"MeanAbsoluteError", SHOGUN_BASIC_CLASS __new_CMeanAbsoluteError},
  1950. {"MeanSquaredError", SHOGUN_BASIC_CLASS __new_CMeanSquaredError},
  1951. {"MeanSquaredLogError", SHOGUN_BASIC_CLASS __new_CMeanSquaredLogError},
  1952. {"MulticlassAccuracy", SHOGUN_BASIC_CLASS __new_CMulticlassAccuracy},
  1953. {"MulticlassOVREvaluation", SHOGUN_BASIC_CLASS __new_CMulticlassOVREvaluation},
  1954. {"MultilabelAccuracy", SHOGUN_BASIC_CLASS __new_CMultilabelAccuracy},
  1955. {"PRCEvaluation", SHOGUN_BASIC_CLASS __new_CPRCEvaluation},
  1956. {"ROCEvaluation", SHOGUN_BASIC_CLASS __new_CROCEvaluation},
  1957. {"StratifiedCrossValidationSplitting", SHOGUN_BASIC_CLASS __new_CStratifiedCrossValidationSplitting},
  1958. {"StructuredAccuracy", SHOGUN_BASIC_CLASS __new_CStructuredAccuracy},
  1959. {"Alphabet", SHOGUN_BASIC_CLASS __new_CAlphabet},
  1960. {"BinnedDotFeatures", SHOGUN_BASIC_CLASS __new_CBinnedDotFeatures},
  1961. {"CombinedDotFeatures", SHOGUN_BASIC_CLASS __new_CCombinedDotFeatures},
  1962. {"CombinedFeatures", SHOGUN_BASIC_CLASS __new_CCombinedFeatures},
  1963. {"DataGenerator", SHOGUN_BASIC_CLASS __new_CDataGenerator},
  1964. {"DummyFeatures", SHOGUN_BASIC_CLASS __new_CDummyFeatures},
  1965. {"ExplicitSpecFeatures", SHOGUN_BASIC_CLASS __new_CExplicitSpecFeatures},
  1966. {"FKFeatures", SHOGUN_BASIC_CLASS __new_CFKFeatures},
  1967. {"FactorGraphFeatures", SHOGUN_BASIC_CLASS __new_CFactorGraphFeatures},
  1968. {"ImplicitWeightedSpecFeatures", SHOGUN_BASIC_CLASS __new_CImplicitWeightedSpecFeatures},
  1969. {"IndexFeatures", SHOGUN_BASIC_CLASS __new_CIndexFeatures},
  1970. {"LBPPyrDotFeatures", SHOGUN_BASIC_CLASS __new_CLBPPyrDotFeatures},
  1971. {"LatentFeatures", SHOGUN_BASIC_CLASS __new_CLatentFeatures},
  1972. {"PolyFeatures", SHOGUN_BASIC_CLASS __new_CPolyFeatures},
  1973. {"RandomFourierDotFeatures", SHOGUN_BASIC_CLASS __new_CRandomFourierDotFeatures},
  1974. {"RealFileFeatures", SHOGUN_BASIC_CLASS __new_CRealFileFeatures},
  1975. {"SNPFeatures", SHOGUN_BASIC_CLASS __new_CSNPFeatures},
  1976. {"SparsePolyFeatures", SHOGUN_BASIC_CLASS __new_CSparsePolyFeatures},
  1977. {"Subset", SHOGUN_BASIC_CLASS __new_CSubset},
  1978. {"SubsetStack", SHOGUN_BASIC_CLASS __new_CSubsetStack},
  1979. {"TOPFeatures", SHOGUN_BASIC_CLASS __new_CTOPFeatures},
  1980. {"WDFeatures", SHOGUN_BASIC_CLASS __new_CWDFeatures},
  1981. {"HashedDocDotFeatures", SHOGUN_BASIC_CLASS __new_CHashedDocDotFeatures},
  1982. {"HashedWDFeatures", SHOGUN_BASIC_CLASS __new_CHashedWDFeatures},
  1983. {"HashedWDFeaturesTransposed", SHOGUN_BASIC_CLASS __new_CHashedWDFeaturesTransposed},
  1984. {"StreamingHashedDocDotFeatures", SHOGUN_BASIC_CLASS __new_CStreamingHashedDocDotFeatures},
  1985. {"StreamingVwFeatures", SHOGUN_BASIC_CLASS __new_CStreamingVwFeatures},
  1986. {"GaussianBlobsDataGenerator", SHOGUN_BASIC_CLASS __new_CGaussianBlobsDataGenerator},
  1987. {"MeanShiftDataGenerator", SHOGUN_BASIC_CLASS __new_CMeanShiftDataGenerator},
  1988. {"BinaryFile", SHOGUN_BASIC_CLASS __new_CBinaryFile},
  1989. {"CSVFile", SHOGUN_BASIC_CLASS __new_CCSVFile},
  1990. {"File", SHOGUN_BASIC_CLASS __new_CFile},
  1991. {"IOBuffer", SHOGUN_BASIC_CLASS __new_CIOBuffer},
  1992. {"LibSVMFile", SHOGUN_BASIC_CLASS __new_CLibSVMFile},
  1993. {"LineReader", SHOGUN_BASIC_CLASS __new_CLineReader},
  1994. {"NeuralNetworkFileReader", SHOGUN_BASIC_CLASS __new_CNeuralNetworkFileReader},
  1995. {"Parser", SHOGUN_BASIC_CLASS __new_CParser},
  1996. {"ProtobufFile", SHOGUN_BASIC_CLASS __new_CProtobufFile},
  1997. {"SerializableAsciiFile", SHOGUN_BASIC_CLASS __new_CSerializableAsciiFile},
  1998. {"UAIFile", SHOGUN_BASIC_CLASS __new_CUAIFile},
  1999. {"StreamingAsciiFile", SHOGUN_BASIC_CLASS __new_CStreamingAsciiFile},
  2000. {"StreamingFile", SHOGUN_BASIC_CLASS __new_CStreamingFile},
  2001. {"StreamingFileFromFeatures", SHOGUN_BASIC_CLASS __new_CStreamingFileFromFeatures},
  2002. {"StreamingVwCacheFile", SHOGUN_BASIC_CLASS __new_CStreamingVwCacheFile},
  2003. {"StreamingVwFile", SHOGUN_BASIC_CLASS __new_CStreamingVwFile},
  2004. {"ANOVAKernel", SHOGUN_BASIC_CLASS __new_CANOVAKernel},
  2005. {"AUCKernel", SHOGUN_BASIC_CLASS __new_CAUCKernel},
  2006. {"BesselKernel", SHOGUN_BASIC_CLASS __new_CBesselKernel},
  2007. {"CauchyKernel", SHOGUN_BASIC_CLASS __new_CCauchyKernel},
  2008. {"Chi2Kernel", SHOGUN_BASIC_CLASS __new_CChi2Kernel},
  2009. {"CircularKernel", SHOGUN_BASIC_CLASS __new_CCircularKernel},
  2010. {"CombinedKernel", SHOGUN_BASIC_CLASS __new_CCombinedKernel},
  2011. {"ConstKernel", SHOGUN_BASIC_CLASS __new_CConstKernel},
  2012. {"CustomKernel", SHOGUN_BASIC_CLASS __new_CCustomKernel},
  2013. {"DiagKernel", SHOGUN_BASIC_CLASS __new_CDiagKernel},
  2014. {"DistanceKernel", SHOGUN_BASIC_CLASS __new_CDistanceKernel},
  2015. {"ExponentialKernel", SHOGUN_BASIC_CLASS __new_CExponentialKernel},
  2016. {"GaussianARDKernel", SHOGUN_BASIC_CLASS __new_CGaussianARDKernel},
  2017. {"GaussianCompactKernel", SHOGUN_BASIC_CLASS __new_CGaussianCompactKernel},
  2018. {"GaussianKernel", SHOGUN_BASIC_CLASS __new_CGaussianKernel},
  2019. {"GaussianShiftKernel", SHOGUN_BASIC_CLASS __new_CGaussianShiftKernel},
  2020. {"GaussianShortRealKernel", SHOGUN_BASIC_CLASS __new_CGaussianShortRealKernel},
  2021. {"HistogramIntersectionKernel", SHOGUN_BASIC_CLASS __new_CHistogramIntersectionKernel},
  2022. {"InverseMultiQuadricKernel", SHOGUN_BASIC_CLASS __new_CInverseMultiQuadricKernel},
  2023. {"JensenShannonKernel", SHOGUN_BASIC_CLASS __new_CJensenShannonKernel},
  2024. {"LinearKernel", SHOGUN_BASIC_CLASS __new_CLinearKernel},
  2025. {"LogKernel", SHOGUN_BASIC_CLASS __new_CLogKernel},
  2026. {"MultiquadricKernel", SHOGUN_BASIC_CLASS __new_CMultiquadricKernel},
  2027. {"PeriodicKernel", SHOGUN_BASIC_CLASS __new_CPeriodicKernel},
  2028. {"PolyKernel", SHOGUN_BASIC_CLASS __new_CPolyKernel},
  2029. {"PowerKernel", SHOGUN_BASIC_CLASS __new_CPowerKernel},
  2030. {"ProductKernel", SHOGUN_BASIC_CLASS __new_CProductKernel},
  2031. {"PyramidChi2", SHOGUN_BASIC_CLASS __new_CPyramidChi2},
  2032. {"RationalQuadraticKernel", SHOGUN_BASIC_CLASS __new_CRationalQuadraticKernel},
  2033. {"SigmoidKernel", SHOGUN_BASIC_CLASS __new_CSigmoidKernel},
  2034. {"SphericalKernel", SHOGUN_BASIC_CLASS __new_CSphericalKernel},
  2035. {"SplineKernel", SHOGUN_BASIC_CLASS __new_CSplineKernel},
  2036. {"TStudentKernel", SHOGUN_BASIC_CLASS __new_CTStudentKernel},
  2037. {"TensorProductPairKernel", SHOGUN_BASIC_CLASS __new_CTensorProductPairKernel},
  2038. {"WaveKernel", SHOGUN_BASIC_CLASS __new_CWaveKernel},
  2039. {"WaveletKernel", SHOGUN_BASIC_CLASS __new_CWaveletKernel},
  2040. {"WeightedDegreeRBFKernel", SHOGUN_BASIC_CLASS __new_CWeightedDegreeRBFKernel},
  2041. {"AvgDiagKernelNormalizer", SHOGUN_BASIC_CLASS __new_CAvgDiagKernelNormalizer},
  2042. {"DiceKernelNormalizer", SHOGUN_BASIC_CLASS __new_CDiceKernelNormalizer},
  2043. {"FirstElementKernelNormalizer", SHOGUN_BASIC_CLASS __new_CFirstElementKernelNormalizer},
  2044. {"IdentityKernelNormalizer", SHOGUN_BASIC_CLASS __new_CIdentityKernelNormalizer},
  2045. {"RidgeKernelNormalizer", SHOGUN_BASIC_CLASS __new_CRidgeKernelNormalizer},
  2046. {"ScatterKernelNormalizer", SHOGUN_BASIC_CLASS __new_CScatterKernelNormalizer},
  2047. {"SqrtDiagKernelNormalizer", SHOGUN_BASIC_CLASS __new_CSqrtDiagKernelNormalizer},
  2048. {"TanimotoKernelNormalizer", SHOGUN_BASIC_CLASS __new_CTanimotoKernelNormalizer},
  2049. {"VarianceKernelNormalizer", SHOGUN_BASIC_CLASS __new_CVarianceKernelNormalizer},
  2050. {"ZeroMeanCenterKernelNormalizer", SHOGUN_BASIC_CLASS __new_CZeroMeanCenterKernelNormalizer},
  2051. {"CommUlongStringKernel", SHOGUN_BASIC_CLASS __new_CCommUlongStringKernel},
  2052. {"CommWordStringKernel", SHOGUN_BASIC_CLASS __new_CCommWordStringKernel},
  2053. {"DistantSegmentsKernel", SHOGUN_BASIC_CLASS __new_CDistantSegmentsKernel},
  2054. {"FixedDegreeStringKernel", SHOGUN_BASIC_CLASS __new_CFixedDegreeStringKernel},
  2055. {"GaussianMatchStringKernel", SHOGUN_BASIC_CLASS __new_CGaussianMatchStringKernel},
  2056. {"HistogramWordStringKernel", SHOGUN_BASIC_CLASS __new_CHistogramWordStringKernel},
  2057. {"LinearStringKernel", SHOGUN_BASIC_CLASS __new_CLinearStringKernel},
  2058. {"LocalAlignmentStringKernel", SHOGUN_BASIC_CLASS __new_CLocalAlignmentStringKernel},
  2059. {"LocalityImprovedStringKernel", SHOGUN_BASIC_CLASS __new_CLocalityImprovedStringKernel},
  2060. {"MatchWordStringKernel", SHOGUN_BASIC_CLASS __new_CMatchWordStringKernel},
  2061. {"OligoStringKernel", SHOGUN_BASIC_CLASS __new_COligoStringKernel},
  2062. {"PolyMatchStringKernel", SHOGUN_BASIC_CLASS __new_CPolyMatchStringKernel},
  2063. {"PolyMatchWordStringKernel", SHOGUN_BASIC_CLASS __new_CPolyMatchWordStringKernel},
  2064. {"RegulatoryModulesStringKernel", SHOGUN_BASIC_CLASS __new_CRegulatoryModulesStringKernel},
  2065. {"SNPStringKernel", SHOGUN_BASIC_CLASS __new_CSNPStringKernel},
  2066. {"SalzbergWordStringKernel", SHOGUN_BASIC_CLASS __new_CSalzbergWordStringKernel},
  2067. {"SimpleLocalityImprovedStringKernel", SHOGUN_BASIC_CLASS __new_CSimpleLocalityImprovedStringKernel},
  2068. {"SparseSpatialSampleStringKernel", SHOGUN_BASIC_CLASS __new_CSparseSpatialSampleStringKernel},
  2069. {"SpectrumMismatchRBFKernel", SHOGUN_BASIC_CLASS __new_CSpectrumMismatchRBFKernel},
  2070. {"SpectrumRBFKernel", SHOGUN_BASIC_CLASS __new_CSpectrumRBFKernel},
  2071. {"SubsequenceStringKernel", SHOGUN_BASIC_CLASS __new_CSubsequenceStringKernel},
  2072. {"WeightedCommWordStringKernel", SHOGUN_BASIC_CLASS __new_CWeightedCommWordStringKernel},
  2073. {"WeightedDegreePositionStringKernel", SHOGUN_BASIC_CLASS __new_CWeightedDegreePositionStringKernel},
  2074. {"WeightedDegreeStringKernel", SHOGUN_BASIC_CLASS __new_CWeightedDegreeStringKernel},
  2075. {"BinaryLabels", SHOGUN_BASIC_CLASS __new_CBinaryLabels},
  2076. {"FactorGraphObservation", SHOGUN_BASIC_CLASS __new_CFactorGraphObservation},
  2077. {"FactorGraphLabels", SHOGUN_BASIC_CLASS __new_CFactorGraphLabels},
  2078. {"LabelsFactory", SHOGUN_BASIC_CLASS __new_CLabelsFactory},
  2079. {"LatentLabels", SHOGUN_BASIC_CLASS __new_CLatentLabels},
  2080. {"MulticlassLabels", SHOGUN_BASIC_CLASS __new_CMulticlassLabels},
  2081. {"MultilabelLabels", SHOGUN_BASIC_CLASS __new_CMultilabelLabels},
  2082. {"RegressionLabels", SHOGUN_BASIC_CLASS __new_CRegressionLabels},
  2083. {"StructuredLabels", SHOGUN_BASIC_CLASS __new_CStructuredLabels},
  2084. {"LatentSOSVM", SHOGUN_BASIC_CLASS __new_CLatentSOSVM},
  2085. {"LatentSVM", SHOGUN_BASIC_CLASS __new_CLatentSVM},
  2086. {"BitString", SHOGUN_BASIC_CLASS __new_CBitString},
  2087. {"CircularBuffer", SHOGUN_BASIC_CLASS __new_CCircularBuffer},
  2088. {"Compressor", SHOGUN_BASIC_CLASS __new_CCompressor},
  2089. {"Data", SHOGUN_BASIC_CLASS __new_CData},
  2090. {"DelimiterTokenizer", SHOGUN_BASIC_CLASS __new_CDelimiterTokenizer},
  2091. {"DynamicArray", SHOGUN_BASIC_CLASS __new_CDynamicArray},
  2092. {"DynamicObjectArray", SHOGUN_BASIC_CLASS __new_CDynamicObjectArray},
  2093. {"Hash", SHOGUN_BASIC_CLASS __new_CHash},
  2094. {"IndexBlock", SHOGUN_BASIC_CLASS __new_CIndexBlock},
  2095. {"IndexBlockGroup", SHOGUN_BASIC_CLASS __new_CIndexBlockGroup},
  2096. {"IndexBlockTree", SHOGUN_BASIC_CLASS __new_CIndexBlockTree},
  2097. {"ListElement", SHOGUN_BASIC_CLASS __new_CListElement},
  2098. {"List", SHOGUN_BASIC_CLASS __new_CList},
  2099. {"NGramTokenizer", SHOGUN_BASIC_CLASS __new_CNGramTokenizer},
  2100. {"Signal", SHOGUN_BASIC_CLASS __new_CSignal},
  2101. {"StructuredData", SHOGUN_BASIC_CLASS __new_CStructuredData},
  2102. {"Time", SHOGUN_BASIC_CLASS __new_CTime},
  2103. {"WrappedObjectArray", SHOGUN_BASIC_CLASS __new_CWrappedObjectArray},
  2104. {"SerialComputationEngine", SHOGUN_BASIC_CLASS __new_CSerialComputationEngine},
  2105. {"JobResult", SHOGUN_BASIC_CLASS __new_CJobResult},
  2106. {"AbsoluteDeviationLoss", SHOGUN_BASIC_CLASS __new_CAbsoluteDeviationLoss},
  2107. {"ExponentialLoss", SHOGUN_BASIC_CLASS __new_CExponentialLoss},
  2108. {"HingeLoss", SHOGUN_BASIC_CLASS __new_CHingeLoss},
  2109. {"HuberLoss", SHOGUN_BASIC_CLASS __new_CHuberLoss},
  2110. {"LogLoss", SHOGUN_BASIC_CLASS __new_CLogLoss},
  2111. {"LogLossMargin", SHOGUN_BASIC_CLASS __new_CLogLossMargin},
  2112. {"SmoothHingeLoss", SHOGUN_BASIC_CLASS __new_CSmoothHingeLoss},
  2113. {"SquaredHingeLoss", SHOGUN_BASIC_CLASS __new_CSquaredHingeLoss},
  2114. {"SquaredLoss", SHOGUN_BASIC_CLASS __new_CSquaredLoss},
  2115. {"BaggingMachine", SHOGUN_BASIC_CLASS __new_CBaggingMachine},
  2116. {"BaseMulticlassMachine", SHOGUN_BASIC_CLASS __new_CBaseMulticlassMachine},
  2117. {"DistanceMachine", SHOGUN_BASIC_CLASS __new_CDistanceMachine},
  2118. {"GaussianProcessMachine", SHOGUN_BASIC_CLASS __new_CGaussianProcessMachine},
  2119. {"KernelMachine", SHOGUN_BASIC_CLASS __new_CKernelMachine},
  2120. {"KernelMulticlassMachine", SHOGUN_BASIC_CLASS __new_CKernelMulticlassMachine},
  2121. {"KernelStructuredOutputMachine", SHOGUN_BASIC_CLASS __new_CKernelStructuredOutputMachine},
  2122. {"LinearMachine", SHOGUN_BASIC_CLASS __new_CLinearMachine},
  2123. {"LinearMulticlassMachine", SHOGUN_BASIC_CLASS __new_CLinearMulticlassMachine},
  2124. {"LinearStructuredOutputMachine", SHOGUN_BASIC_CLASS __new_CLinearStructuredOutputMachine},
  2125. {"Machine", SHOGUN_BASIC_CLASS __new_CMachine},
  2126. {"NativeMulticlassMachine", SHOGUN_BASIC_CLASS __new_CNativeMulticlassMachine},
  2127. {"OnlineLinearMachine", SHOGUN_BASIC_CLASS __new_COnlineLinearMachine},
  2128. {"RandomForest", SHOGUN_BASIC_CLASS __new_CRandomForest},
  2129. {"StochasticGBMachine", SHOGUN_BASIC_CLASS __new_CStochasticGBMachine},
  2130. {"StructuredOutputMachine", SHOGUN_BASIC_CLASS __new_CStructuredOutputMachine},
  2131. {"ConstMean", SHOGUN_BASIC_CLASS __new_CConstMean},
  2132. {"EPInferenceMethod", SHOGUN_BASIC_CLASS __new_CEPInferenceMethod},
  2133. {"ExactInferenceMethod", SHOGUN_BASIC_CLASS __new_CExactInferenceMethod},
  2134. {"FITCInferenceMethod", SHOGUN_BASIC_CLASS __new_CFITCInferenceMethod},
  2135. {"GaussianARDSparseKernel", SHOGUN_BASIC_CLASS __new_CGaussianARDSparseKernel},
  2136. {"GaussianLikelihood", SHOGUN_BASIC_CLASS __new_CGaussianLikelihood},
  2137. {"KLCholeskyInferenceMethod", SHOGUN_BASIC_CLASS __new_CKLCholeskyInferenceMethod},
  2138. {"KLCovarianceInferenceMethod", SHOGUN_BASIC_CLASS __new_CKLCovarianceInferenceMethod},
  2139. {"KLDiagonalInferenceMethod", SHOGUN_BASIC_CLASS __new_CKLDiagonalInferenceMethod},
  2140. {"KLDualInferenceMethodMinimizer", SHOGUN_BASIC_CLASS __new_CKLDualInferenceMethodMinimizer},
  2141. {"KLDualInferenceMethod", SHOGUN_BASIC_CLASS __new_CKLDualInferenceMethod},
  2142. {"LogitDVGLikelihood", SHOGUN_BASIC_CLASS __new_CLogitDVGLikelihood},
  2143. {"LogitLikelihood", SHOGUN_BASIC_CLASS __new_CLogitLikelihood},
  2144. {"LogitVGLikelihood", SHOGUN_BASIC_CLASS __new_CLogitVGLikelihood},
  2145. {"LogitVGPiecewiseBoundLikelihood", SHOGUN_BASIC_CLASS __new_CLogitVGPiecewiseBoundLikelihood},
  2146. {"MultiLaplaceInferenceMethod", SHOGUN_BASIC_CLASS __new_CMultiLaplaceInferenceMethod},
  2147. {"ProbitLikelihood", SHOGUN_BASIC_CLASS __new_CProbitLikelihood},
  2148. {"ProbitVGLikelihood", SHOGUN_BASIC_CLASS __new_CProbitVGLikelihood},
  2149. {"SingleFITCLaplaceInferenceMethod", SHOGUN_BASIC_CLASS __new_CSingleFITCLaplaceInferenceMethod},
  2150. {"SingleFITCLaplaceNewtonOptimizer", SHOGUN_BASIC_CLASS __new_CSingleFITCLaplaceNewtonOptimizer},
  2151. {"SingleLaplaceInferenceMethod", SHOGUN_BASIC_CLASS __new_CSingleLaplaceInferenceMethod},
  2152. {"SingleLaplaceNewtonOptimizer", SHOGUN_BASIC_CLASS __new_CSingleLaplaceNewtonOptimizer},
  2153. {"SoftMaxLikelihood", SHOGUN_BASIC_CLASS __new_CSoftMaxLikelihood},
  2154. {"StudentsTLikelihood", SHOGUN_BASIC_CLASS __new_CStudentsTLikelihood},
  2155. {"StudentsTVGLikelihood", SHOGUN_BASIC_CLASS __new_CStudentsTVGLikelihood},
  2156. {"VarDTCInferenceMethod", SHOGUN_BASIC_CLASS __new_CVarDTCInferenceMethod},
  2157. {"ZeroMean", SHOGUN_BASIC_CLASS __new_CZeroMean},
  2158. {"Integration", SHOGUN_BASIC_CLASS __new_CIntegration},
  2159. {"JacobiEllipticFunctions", SHOGUN_BASIC_CLASS __new_CJacobiEllipticFunctions},
  2160. {"Math", SHOGUN_BASIC_CLASS __new_CMath},
  2161. {"Random", SHOGUN_BASIC_CLASS __new_CRandom},
  2162. {"SparseInverseCovariance", SHOGUN_BASIC_CLASS __new_CSparseInverseCovariance},
  2163. {"Statistics", SHOGUN_BASIC_CLASS __new_CStatistics},
  2164. {"FFDiag", SHOGUN_BASIC_CLASS __new_CFFDiag},
  2165. {"JADiag", SHOGUN_BASIC_CLASS __new_CJADiag},
  2166. {"JADiagOrth", SHOGUN_BASIC_CLASS __new_CJADiagOrth},
  2167. {"JediDiag", SHOGUN_BASIC_CLASS __new_CJediDiag},
  2168. {"QDiag", SHOGUN_BASIC_CLASS __new_CQDiag},
  2169. {"UWedge", SHOGUN_BASIC_CLASS __new_CUWedge},
  2170. {"DirectEigenSolver", SHOGUN_BASIC_CLASS __new_CDirectEigenSolver},
  2171. {"LanczosEigenSolver", SHOGUN_BASIC_CLASS __new_CLanczosEigenSolver},
  2172. {"ConjugateGradientSolver", SHOGUN_BASIC_CLASS __new_CConjugateGradientSolver},
  2173. {"DirectLinearSolverComplex", SHOGUN_BASIC_CLASS __new_CDirectLinearSolverComplex},
  2174. {"DirectSparseLinearSolver", SHOGUN_BASIC_CLASS __new_CDirectSparseLinearSolver},
  2175. {"LogDetEstimator", SHOGUN_BASIC_CLASS __new_CLogDetEstimator},
  2176. {"IndividualJobResultAggregator", SHOGUN_BASIC_CLASS __new_CIndividualJobResultAggregator},
  2177. {"DenseExactLogJob", SHOGUN_BASIC_CLASS __new_CDenseExactLogJob},
  2178. {"RationalApproximationCGMJob", SHOGUN_BASIC_CLASS __new_CRationalApproximationCGMJob},
  2179. {"RationalApproximationIndividualJob", SHOGUN_BASIC_CLASS __new_CRationalApproximationIndividualJob},
  2180. {"DenseMatrixExactLog", SHOGUN_BASIC_CLASS __new_CDenseMatrixExactLog},
  2181. {"LogRationalApproximationCGM", SHOGUN_BASIC_CLASS __new_CLogRationalApproximationCGM},
  2182. {"LogRationalApproximationIndividual", SHOGUN_BASIC_CLASS __new_CLogRationalApproximationIndividual},
  2183. {"NormalSampler", SHOGUN_BASIC_CLASS __new_CNormalSampler},
  2184. {"ProbingSampler", SHOGUN_BASIC_CLASS __new_CProbingSampler},
  2185. {"LMNN", SHOGUN_BASIC_CLASS __new_CLMNN},
  2186. {"LMNNStatistics", SHOGUN_BASIC_CLASS __new_CLMNNStatistics},
  2187. {"GradientModelSelection", SHOGUN_BASIC_CLASS __new_CGradientModelSelection},
  2188. {"GridSearchModelSelection", SHOGUN_BASIC_CLASS __new_CGridSearchModelSelection},
  2189. {"ModelSelectionParameters", SHOGUN_BASIC_CLASS __new_CModelSelectionParameters},
  2190. {"ParameterCombination", SHOGUN_BASIC_CLASS __new_CParameterCombination},
  2191. {"RandomSearchModelSelection", SHOGUN_BASIC_CLASS __new_CRandomSearchModelSelection},
  2192. {"BruteKNNSolver", SHOGUN_BASIC_CLASS __new_CBruteKNNSolver},
  2193. {"CoverTreeKNNSolver", SHOGUN_BASIC_CLASS __new_CCoverTreeKNNSolver},
  2194. {"GMNPLib", SHOGUN_BASIC_CLASS __new_CGMNPLib},
  2195. {"GMNPSVM", SHOGUN_BASIC_CLASS __new_CGMNPSVM},
  2196. {"GaussianNaiveBayes", SHOGUN_BASIC_CLASS __new_CGaussianNaiveBayes},
  2197. {"KDTREEKNNSolver", SHOGUN_BASIC_CLASS __new_CKDTREEKNNSolver},
  2198. {"KNN", SHOGUN_BASIC_CLASS __new_CKNN},
  2199. {"LSHKNNSolver", SHOGUN_BASIC_CLASS __new_CLSHKNNSolver},
  2200. {"LaRank", SHOGUN_BASIC_CLASS __new_CLaRank},
  2201. {"MCLDA", SHOGUN_BASIC_CLASS __new_CMCLDA},
  2202. {"MulticlassLibLinear", SHOGUN_BASIC_CLASS __new_CMulticlassLibLinear},
  2203. {"MulticlassLibSVM", SHOGUN_BASIC_CLASS __new_CMulticlassLibSVM},
  2204. {"MulticlassOCAS", SHOGUN_BASIC_CLASS __new_CMulticlassOCAS},
  2205. {"MulticlassOneVsOneStrategy", SHOGUN_BASIC_CLASS __new_CMulticlassOneVsOneStrategy},
  2206. {"MulticlassOneVsRestStrategy", SHOGUN_BASIC_CLASS __new_CMulticlassOneVsRestStrategy},
  2207. {"MulticlassSVM", SHOGUN_BASIC_CLASS __new_CMulticlassSVM},
  2208. {"QDA", SHOGUN_BASIC_CLASS __new_CQDA},
  2209. {"ThresholdRejectionStrategy", SHOGUN_BASIC_CLASS __new_CThresholdRejectionStrategy},
  2210. {"DixonQTestRejectionStrategy", SHOGUN_BASIC_CLASS __new_CDixonQTestRejectionStrategy},
  2211. {"ScatterSVM", SHOGUN_BASIC_CLASS __new_CScatterSVM},
  2212. {"ShareBoost", SHOGUN_BASIC_CLASS __new_CShareBoost},
  2213. {"ECOCAEDDecoder", SHOGUN_BASIC_CLASS __new_CECOCAEDDecoder},
  2214. {"ECOCDiscriminantEncoder", SHOGUN_BASIC_CLASS __new_CECOCDiscriminantEncoder},
  2215. {"ECOCEDDecoder", SHOGUN_BASIC_CLASS __new_CECOCEDDecoder},
  2216. {"ECOCForestEncoder", SHOGUN_BASIC_CLASS __new_CECOCForestEncoder},
  2217. {"ECOCHDDecoder", SHOGUN_BASIC_CLASS __new_CECOCHDDecoder},
  2218. {"ECOCIHDDecoder", SHOGUN_BASIC_CLASS __new_CECOCIHDDecoder},
  2219. {"ECOCLLBDecoder", SHOGUN_BASIC_CLASS __new_CECOCLLBDecoder},
  2220. {"ECOCOVOEncoder", SHOGUN_BASIC_CLASS __new_CECOCOVOEncoder},
  2221. {"ECOCOVREncoder", SHOGUN_BASIC_CLASS __new_CECOCOVREncoder},
  2222. {"ECOCRandomDenseEncoder", SHOGUN_BASIC_CLASS __new_CECOCRandomDenseEncoder},
  2223. {"ECOCRandomSparseEncoder", SHOGUN_BASIC_CLASS __new_CECOCRandomSparseEncoder},
  2224. {"ECOCStrategy", SHOGUN_BASIC_CLASS __new_CECOCStrategy},
  2225. {"BalancedConditionalProbabilityTree", SHOGUN_BASIC_CLASS __new_CBalancedConditionalProbabilityTree},
  2226. {"BallTree", SHOGUN_BASIC_CLASS __new_CBallTree},
  2227. {"C45ClassifierTree", SHOGUN_BASIC_CLASS __new_CC45ClassifierTree},
  2228. {"CARTree", SHOGUN_BASIC_CLASS __new_CCARTree},
  2229. {"CHAIDTree", SHOGUN_BASIC_CLASS __new_CCHAIDTree},
  2230. {"ID3ClassifierTree", SHOGUN_BASIC_CLASS __new_CID3ClassifierTree},
  2231. {"KDTree", SHOGUN_BASIC_CLASS __new_CKDTree},
  2232. {"RandomCARTree", SHOGUN_BASIC_CLASS __new_CRandomCARTree},
  2233. {"RandomConditionalProbabilityTree", SHOGUN_BASIC_CLASS __new_CRandomConditionalProbabilityTree},
  2234. {"RelaxedTree", SHOGUN_BASIC_CLASS __new_CRelaxedTree},
  2235. {"Autoencoder", SHOGUN_BASIC_CLASS __new_CAutoencoder},
  2236. {"DeepAutoencoder", SHOGUN_BASIC_CLASS __new_CDeepAutoencoder},
  2237. {"DeepBeliefNetwork", SHOGUN_BASIC_CLASS __new_CDeepBeliefNetwork},
  2238. {"NeuralConvolutionalLayer", SHOGUN_BASIC_CLASS __new_CNeuralConvolutionalLayer},
  2239. {"NeuralInputLayer", SHOGUN_BASIC_CLASS __new_CNeuralInputLayer},
  2240. {"NeuralLayer", SHOGUN_BASIC_CLASS __new_CNeuralLayer},
  2241. {"NeuralLayers", SHOGUN_BASIC_CLASS __new_CNeuralLayers},
  2242. {"NeuralLeakyRectifiedLinearLayer", SHOGUN_BASIC_CLASS __new_CNeuralLeakyRectifiedLinearLayer},
  2243. {"NeuralLinearLayer", SHOGUN_BASIC_CLASS __new_CNeuralLinearLayer},
  2244. {"NeuralLogisticLayer", SHOGUN_BASIC_CLASS __new_CNeuralLogisticLayer},
  2245. {"NeuralNetwork", SHOGUN_BASIC_CLASS __new_CNeuralNetwork},
  2246. {"NeuralRectifiedLinearLayer", SHOGUN_BASIC_CLASS __new_CNeuralRectifiedLinearLayer},
  2247. {"NeuralSoftmaxLayer", SHOGUN_BASIC_CLASS __new_CNeuralSoftmaxLayer},
  2248. {"RBM", SHOGUN_BASIC_CLASS __new_CRBM},
  2249. {"LBFGSMinimizer", SHOGUN_BASIC_CLASS __new_CLBFGSMinimizer},
  2250. {"Tron", SHOGUN_BASIC_CLASS __new_CTron},
  2251. {"DimensionReductionPreprocessor", SHOGUN_BASIC_CLASS __new_CDimensionReductionPreprocessor},
  2252. {"FisherLDA", SHOGUN_BASIC_CLASS __new_CFisherLDA},
  2253. {"HomogeneousKernelMap", SHOGUN_BASIC_CLASS __new_CHomogeneousKernelMap},
  2254. {"KernelPCA", SHOGUN_BASIC_CLASS __new_CKernelPCA},
  2255. {"LogPlusOne", SHOGUN_BASIC_CLASS __new_CLogPlusOne},
  2256. {"NormOne", SHOGUN_BASIC_CLASS __new_CNormOne},
  2257. {"PCA", SHOGUN_BASIC_CLASS __new_CPCA},
  2258. {"PNorm", SHOGUN_BASIC_CLASS __new_CPNorm},
  2259. {"PruneVarSubMean", SHOGUN_BASIC_CLASS __new_CPruneVarSubMean},
  2260. {"RandomFourierGaussPreproc", SHOGUN_BASIC_CLASS __new_CRandomFourierGaussPreproc},
  2261. {"RescaleFeatures", SHOGUN_BASIC_CLASS __new_CRescaleFeatures},
  2262. {"SortUlongString", SHOGUN_BASIC_CLASS __new_CSortUlongString},
  2263. {"SortWordString", SHOGUN_BASIC_CLASS __new_CSortWordString},
  2264. {"SumOne", SHOGUN_BASIC_CLASS __new_CSumOne},
  2265. {"GaussianProcessRegression", SHOGUN_BASIC_CLASS __new_CGaussianProcessRegression},
  2266. {"KRRNystrom", SHOGUN_BASIC_CLASS __new_CKRRNystrom},
  2267. {"KernelRidgeRegression", SHOGUN_BASIC_CLASS __new_CKernelRidgeRegression},
  2268. {"LeastAngleRegression", SHOGUN_BASIC_CLASS __new_CLeastAngleRegression},
  2269. {"LeastSquaresRegression", SHOGUN_BASIC_CLASS __new_CLeastSquaresRegression},
  2270. {"LinearRidgeRegression", SHOGUN_BASIC_CLASS __new_CLinearRidgeRegression},
  2271. {"LibLinearRegression", SHOGUN_BASIC_CLASS __new_CLibLinearRegression},
  2272. {"LibSVR", SHOGUN_BASIC_CLASS __new_CLibSVR},
  2273. {"MKLRegression", SHOGUN_BASIC_CLASS __new_CMKLRegression},
  2274. {"SVRLight", SHOGUN_BASIC_CLASS __new_CSVRLight},
  2275. {"BTestMMD", SHOGUN_BASIC_CLASS __new_CBTestMMD},
  2276. {"LinearTimeMMD", SHOGUN_BASIC_CLASS __new_CLinearTimeMMD},
  2277. {"MultiKernelQuadraticTimeMMD", SHOGUN_BASIC_CLASS __new_CMultiKernelQuadraticTimeMMD},
  2278. {"QuadraticTimeMMD", SHOGUN_BASIC_CLASS __new_CQuadraticTimeMMD},
  2279. {"KernelSelectionStrategy", SHOGUN_BASIC_CLASS __new_CKernelSelectionStrategy},
  2280. {"CCSOSVM", SHOGUN_BASIC_CLASS __new_CCCSOSVM},
  2281. {"DisjointSet", SHOGUN_BASIC_CLASS __new_CDisjointSet},
  2282. {"DualLibQPBMSOSVM", SHOGUN_BASIC_CLASS __new_CDualLibQPBMSOSVM},
  2283. {"DynProg", SHOGUN_BASIC_CLASS __new_CDynProg},
  2284. {"FWSOSVM", SHOGUN_BASIC_CLASS __new_CFWSOSVM},
  2285. {"FactorDataSource", SHOGUN_BASIC_CLASS __new_CFactorDataSource},
  2286. {"Factor", SHOGUN_BASIC_CLASS __new_CFactor},
  2287. {"FactorGraph", SHOGUN_BASIC_CLASS __new_CFactorGraph},
  2288. {"FactorGraphDataGenerator", SHOGUN_BASIC_CLASS __new_CFactorGraphDataGenerator},
  2289. {"FactorGraphModel", SHOGUN_BASIC_CLASS __new_CFactorGraphModel},
  2290. {"FactorType", SHOGUN_BASIC_CLASS __new_CFactorType},
  2291. {"TableFactorType", SHOGUN_BASIC_CLASS __new_CTableFactorType},
  2292. {"GEMPLP", SHOGUN_BASIC_CLASS __new_CGEMPLP},
  2293. {"GraphCut", SHOGUN_BASIC_CLASS __new_CGraphCut},
  2294. {"HMSVMModel", SHOGUN_BASIC_CLASS __new_CHMSVMModel},
  2295. {"HashedMultilabelModel", SHOGUN_BASIC_CLASS __new_CHashedMultilabelModel},
  2296. {"HierarchicalMultilabelModel", SHOGUN_BASIC_CLASS __new_CHierarchicalMultilabelModel},
  2297. {"IntronList", SHOGUN_BASIC_CLASS __new_CIntronList},
  2298. {"MAPInference", SHOGUN_BASIC_CLASS __new_CMAPInference},
  2299. {"MulticlassModel", SHOGUN_BASIC_CLASS __new_CMulticlassModel},
  2300. {"MulticlassSOLabels", SHOGUN_BASIC_CLASS __new_CMulticlassSOLabels},
  2301. {"MultilabelCLRModel", SHOGUN_BASIC_CLASS __new_CMultilabelCLRModel},
  2302. {"MultilabelModel", SHOGUN_BASIC_CLASS __new_CMultilabelModel},
  2303. {"SparseMultilabel", SHOGUN_BASIC_CLASS __new_CSparseMultilabel},
  2304. {"MultilabelSOLabels", SHOGUN_BASIC_CLASS __new_CMultilabelSOLabels},
  2305. {"Plif", SHOGUN_BASIC_CLASS __new_CPlif},
  2306. {"PlifArray", SHOGUN_BASIC_CLASS __new_CPlifArray},
  2307. {"PlifMatrix", SHOGUN_BASIC_CLASS __new_CPlifMatrix},
  2308. {"SOSVMHelper", SHOGUN_BASIC_CLASS __new_CSOSVMHelper},
  2309. {"SegmentLoss", SHOGUN_BASIC_CLASS __new_CSegmentLoss},
  2310. {"Sequence", SHOGUN_BASIC_CLASS __new_CSequence},
  2311. {"SequenceLabels", SHOGUN_BASIC_CLASS __new_CSequenceLabels},
  2312. {"StochasticSOSVM", SHOGUN_BASIC_CLASS __new_CStochasticSOSVM},
  2313. {"TwoStateModel", SHOGUN_BASIC_CLASS __new_CTwoStateModel},
  2314. {"DomainAdaptationMulticlassLibLinear", SHOGUN_BASIC_CLASS __new_CDomainAdaptationMulticlassLibLinear},
  2315. {"DomainAdaptationSVM", SHOGUN_BASIC_CLASS __new_CDomainAdaptationSVM},
  2316. {"DomainAdaptationSVMLinear", SHOGUN_BASIC_CLASS __new_CDomainAdaptationSVMLinear},
  2317. {"LibLinearMTL", SHOGUN_BASIC_CLASS __new_CLibLinearMTL},
  2318. {"MultitaskKernelMaskNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelMaskNormalizer},
  2319. {"MultitaskKernelMaskPairNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelMaskPairNormalizer},
  2320. {"MultitaskKernelNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelNormalizer},
  2321. {"MultitaskKernelPlifNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelPlifNormalizer},
  2322. {"Node", SHOGUN_BASIC_CLASS __new_CNode},
  2323. {"MultitaskKernelTreeNormalizer", SHOGUN_BASIC_CLASS __new_CMultitaskKernelTreeNormalizer},
  2324. {"MultitaskL12LogisticRegression", SHOGUN_BASIC_CLASS __new_CMultitaskL12LogisticRegression},
  2325. {"MultitaskLeastSquaresRegression", SHOGUN_BASIC_CLASS __new_CMultitaskLeastSquaresRegression},
  2326. {"MultitaskLinearMachine", SHOGUN_BASIC_CLASS __new_CMultitaskLinearMachine},
  2327. {"MultitaskLogisticRegression", SHOGUN_BASIC_CLASS __new_CMultitaskLogisticRegression},
  2328. {"MultitaskROCEvaluation", SHOGUN_BASIC_CLASS __new_CMultitaskROCEvaluation},
  2329. {"MultitaskTraceLogisticRegression", SHOGUN_BASIC_CLASS __new_CMultitaskTraceLogisticRegression},
  2330. {"Task", SHOGUN_BASIC_CLASS __new_CTask},
  2331. {"TaskGroup", SHOGUN_BASIC_CLASS __new_CTaskGroup},
  2332. {"TaskTree", SHOGUN_BASIC_CLASS __new_CTaskTree},
  2333. {"MulticlassLogisticRegression", SHOGUN_BASIC_CLASS __new_CMulticlassLogisticRegression},
  2334. {"MulticlassTreeGuidedLogisticRegression", SHOGUN_BASIC_CLASS __new_CMulticlassTreeGuidedLogisticRegression},
  2335. {"NLOPTMinimizer", SHOGUN_BASIC_CLASS __new_CNLOPTMinimizer},
  2336. {"MultitaskClusteredLogisticRegression", SHOGUN_BASIC_CLASS __new_CMultitaskClusteredLogisticRegression},
  2337. {"DenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CDenseFeatures},
  2338. {"DenseSubSamplesFeatures", SHOGUN_TEMPLATE_CLASS __new_CDenseSubSamplesFeatures},
  2339. {"DenseSubsetFeatures", SHOGUN_TEMPLATE_CLASS __new_CDenseSubsetFeatures},
  2340. {"MatrixFeatures", SHOGUN_TEMPLATE_CLASS __new_CMatrixFeatures},
  2341. {"SparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CSparseFeatures},
  2342. {"StringFeatures", SHOGUN_TEMPLATE_CLASS __new_CStringFeatures},
  2343. {"StringFileFeatures", SHOGUN_TEMPLATE_CLASS __new_CStringFileFeatures},
  2344. {"HashedDenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CHashedDenseFeatures},
  2345. {"HashedSparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CHashedSparseFeatures},
  2346. {"StreamingDenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingDenseFeatures},
  2347. {"StreamingHashedDenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingHashedDenseFeatures},
  2348. {"StreamingHashedSparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingHashedSparseFeatures},
  2349. {"StreamingSparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingSparseFeatures},
  2350. {"StreamingStringFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingStringFeatures},
  2351. {"BinaryStream", SHOGUN_TEMPLATE_CLASS __new_CBinaryStream},
  2352. {"MemoryMappedFile", SHOGUN_TEMPLATE_CLASS __new_CMemoryMappedFile},
  2353. {"SimpleFile", SHOGUN_TEMPLATE_CLASS __new_CSimpleFile},
  2354. {"ParseBuffer", SHOGUN_TEMPLATE_CLASS __new_CParseBuffer},
  2355. {"StreamingFileFromDenseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingFileFromDenseFeatures},
  2356. {"StreamingFileFromSparseFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingFileFromSparseFeatures},
  2357. {"StreamingFileFromStringFeatures", SHOGUN_TEMPLATE_CLASS __new_CStreamingFileFromStringFeatures},
  2358. {"Cache", SHOGUN_TEMPLATE_CLASS __new_CCache},
  2359. {"Set", SHOGUN_TEMPLATE_CLASS __new_CSet},
  2360. {"WrappedBasic", SHOGUN_TEMPLATE_CLASS __new_CWrappedBasic},
  2361. {"WrappedSGMatrix", SHOGUN_TEMPLATE_CLASS __new_CWrappedSGMatrix},
  2362. {"WrappedSGVector", SHOGUN_TEMPLATE_CLASS __new_CWrappedSGVector},
  2363. {"TreeMachine", SHOGUN_TEMPLATE_CLASS __new_CTreeMachine},
  2364. {"DecompressString", SHOGUN_TEMPLATE_CLASS __new_CDecompressString},
  2365. {"StoreScalarAggregator", SHOGUN_TEMPLATE_CLASS __new_CStoreScalarAggregator},
  2366. {"ScalarResult", SHOGUN_TEMPLATE_CLASS __new_CScalarResult},
  2367. {"VectorResult", SHOGUN_TEMPLATE_CLASS __new_CVectorResult},
  2368. {"DenseMatrixOperator", SHOGUN_TEMPLATE_CLASS __new_CDenseMatrixOperator},
  2369. {"SparseMatrixOperator", SHOGUN_TEMPLATE_CLASS __new_CSparseMatrixOperator},    {NULL, NULL}
  2370. };
  2371.  
  2372. CSGObject* shogun::new_sgserializable(const char* sgserializable_name,
  2373.                            EPrimitiveType generic)
  2374. {
  2375.     for (class_list_entry_t* i=class_list; i->m_class_name != NULL;
  2376.          i++)
  2377.     {
  2378.         if (strncmp(i->m_class_name, sgserializable_name, STRING_LEN) == 0)
  2379.             return i->m_new_sgserializable(generic);
  2380.     }
  2381.  
  2382.     return NULL;
  2383. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement