SHOGUN  v3.1.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 
17 
18 namespace shogun
19 {
20 
23 {
24  public:
27 
34 
37 
43 
49 
58  virtual CStructuredLabels* apply_structured(CFeatures* data = NULL);
59 
64  virtual void store_model_features();
65 
67  virtual const char* get_name() const
68  {
69  return "LinearStructuredOutputMachine";
70  }
71 
72  private:
74  void register_parameters();
75 
76  protected:
79 
80 }; /* class CLinearStructuredOutputMachine */
81 
82 } /* namespace shogun */
83 
84 #endif /* _LINEAR_STRUCTURED_OUTPUT_MACHINE__H__ */
Base class of the labels used in Structured Output (SO) problems.
virtual CStructuredLabels * apply_structured(CFeatures *data=NULL)
Class CStructuredModel that represents the application specific model and contains most of the applic...
The class Features is the base class of all feature objects.
Definition: Features.h:62

SHOGUN Machine Learning Toolbox - Documentation