SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
LinearStructuredOutputMachine.h
浏览该文件的文档.
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__ */
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...
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
The class Features is the base class of all feature objects.
Definition: Features.h:68

SHOGUN 机器学习工具包 - 项目文档