SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
GUIConverter.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  * Written (W) 2012 Sergey Lisitsyn
8  * Copyright (C) 2012 Sergey Lisitsyn
9  */
10 
11 #ifndef __GUICONVERTER_H__
12 #define __GUICONVERTER_H__
13 
14 #include <shogun/lib/config.h>
15 #include <shogun/base/SGObject.h>
18 
19 namespace shogun
20 {
21 class CSGInterface;
22 
24 class CGUIConverter : public CSGObject
25 {
26  public:
29  {
30 
31  };
32 
36  CGUIConverter(CSGInterface* interface);
37 
39  bool create_locallylinearembedding(int32_t k);
43  bool create_localtangentspacealignment(int32_t k);
49  bool create_laplacianeigenmaps(int32_t k, float64_t width);
51  bool create_localitypreservingprojections(int32_t k, float64_t width);
53  bool create_diffusionmaps(int32_t t, float64_t width);
55  bool create_isomap(int32_t k);
58 
60  CDenseFeatures<float64_t>* embed(int32_t target_dim);
61 
64 
66  virtual const char* get_name() const { return "GUIPreprocessor"; }
67 
68  protected:
69 
72 
74  CSGInterface* m_ui;
75 };
76 }
77 #endif

SHOGUN Machine Learning Toolbox - Documentation