SHOGUN  v2.0.0
 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) 2012 Fernando José Iglesias García
8  * Copyright (C) 2012 Fernando José Iglesias García
9  */
10 
11 #ifndef _LINEAR_STRUCTURED_OUTPUT_MACHINE__H__
12 #define _LINEAR_STRUCTURED_OUTPUT_MACHINE__H__
13 
16 
17 namespace shogun
18 {
19 
22 {
23  public:
26 
34 
37 
42  void set_features(CFeatures* f);
43 
48  CFeatures* get_features() const;
49 
55 
64  virtual CStructuredLabels* apply_structured(CFeatures* data = NULL);
65 
67  inline virtual const char* get_name() const
68  {
69  return "LinearStructuredOutputMachine";
70  }
71 
72  private:
74  void register_parameters();
75 
76  protected:
79 
82 
83 }; /* class CLinearStructuredOutputMachine */
84 
85 } /* namespace shogun */
86 
87 #endif /* _LINEAR_STRUCTURED_OUTPUT_MACHINE__H__ */

SHOGUN Machine Learning Toolbox - Documentation