SHOGUN  v2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
StructuredOutputMachine.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 _STRUCTURED_OUTPUT_MACHINE__H__
12 #define _STRUCTURED_OUTPUT_MACHINE__H__
13 
16 #include <shogun/machine/Machine.h>
19 
20 namespace shogun
21 {
22 class CStructuredModel;
23 class CLossFunction;
24 
27 {
28  public:
31 
34 
42 
44  virtual ~CStructuredOutputMachine();
45 
50  void set_model(CStructuredModel* model);
51 
56  void set_loss(CLossFunction* loss);
57 
59  virtual const char* get_name() const
60  {
61  return "StructuredOutputMachine";
62  }
63 
64  private:
66  void register_parameters();
67 
68  protected:
71 
74 
75 
76 }; /* class CStructuredOutputMachine */
77 
78 } /* namespace shogun */
79 
80 #endif /* _STRUCTURED_OUTPUT_MACHINE__H__ */

SHOGUN Machine Learning Toolbox - Documentation