SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LinearStructuredOutputMachine.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) 2013 Thoralf Klein
8  * Written (W) 2012 Fernando José Iglesias García
9  * Copyright (C) 2012 Fernando José Iglesias García
10  */
11 
12 #ifndef _LINEAR_STRUCTURED_OUTPUT_MACHINE__H__
13 #define _LINEAR_STRUCTURED_OUTPUT_MACHINE__H__
14 
15 #include <shogun/lib/config.h>
16 
18 #include <shogun/lib/SGVector.h>
19 
20 namespace shogun
21 {
22 
23 class CFeatures;
24 
27 {
28  public:
31 
38 
41 
47 
53 
62  virtual CStructuredLabels* apply_structured(CFeatures* data = NULL);
63 
68  virtual void store_model_features();
69 
71  virtual const char* get_name() const
72  {
73  return "LinearStructuredOutputMachine";
74  }
75 
76  private:
78  void register_parameters();
79 
80  protected:
83 
84 }; /* class CLinearStructuredOutputMachine */
85 
86 } /* namespace shogun */
87 
88 #endif /* _LINEAR_STRUCTURED_OUTPUT_MACHINE__H__ */

SHOGUN Machine Learning Toolbox - Documentation