-
-
Notifications
You must be signed in to change notification settings - Fork 1k
/
Latent.i
34 lines (24 loc) · 1000 Bytes
/
Latent.i
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
/*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
* (at your option) any later version.
*
* Written (W) 2009 Soeren Sonnenburg, 2012 Viktor Gal
* Copyright (C) 2009 Fraunhofer Institute FIRST and Max-Planck-Society
*/
#if defined(USE_SWIG_DIRECTORS) && defined(SWIGPYTHON)
%feature("director") shogun::CDirectorLatentModel;
#endif
/* Remove C Prefix */
%rename(LatentModel) CLatentModel;
%rename(LinearLatentMachine) CLinearLatentMachine;
%rename(LatentSVM) CLatentSVM;
%rename(DirectorLatentModel) CDirectorLatentModel;
/* Include Class Headers to make them visible from within the target language */
%include <shogun/latent/LatentModel.h>
%include <shogun/latent/DirectorLatentModel.h>
%include <shogun/machine/LinearLatentMachine.h>
#ifdef USE_GPL_SHOGUN
%include <shogun/latent/LatentSVM.h>
#endif //USE_GPL_SHOGUN