SHOGUN  v3.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DirectorLatentModel.h
Go to the documentation of this file.
1 /*
2  * This program is free software; you can redistribute it and/or modify
3  * it under the terms of the GNU General Public License as published by
4  * the Free Software Foundation; either version 3 of the License, or
5  * (at your option) any later version.
6  *
7  * Copyright (C) 2012 Viktor Gal
8  */
9 
10 #ifndef _DIRECTOR_LATENT_MODEL_H_
11 #define _DIRECTOR_LATENT_MODEL_H_
12 
14 #include <shogun/lib/config.h>
15 #ifdef USE_SWIG_DIRECTORS
16 namespace shogun
17 {
18 
19 class CLatentModel;
20 
21 #define IGNORE_IN_CLASSLIST
22 
29 IGNORE_IN_CLASSLIST class CDirectorLatentModel : public CLatentModel
30 {
31  public:
33  CDirectorLatentModel();
34 
36  virtual ~CDirectorLatentModel();
37 
42  virtual int32_t get_dim() const;
43 
48  virtual CDotFeatures* get_psi_feature_vectors();
49 
58  virtual CData* infer_latent_variable(const SGVector<float64_t>& w, index_t idx);
59 
65  virtual void argmax_h(const SGVector<float64_t>& w);
66 
68  virtual const char* get_name() const { return "DirectorLatentModel"; }
69 
70 }; /* class CDirectorLatentModel */
71 } /* namespace shogun */
72 #endif /* USE_SWIG_DIRECTORS */
73 #endif /* _DIRECTOR_LATENT_MODEL_H_ */
74 

SHOGUN Machine Learning Toolbox - Documentation