SHOGUN  4.1.0
 全部  命名空间 文件 函数 变量 类型定义 枚举 枚举值 友元 宏定义  
MultitaskTraceLogisticRegression.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  * Copyright (C) 2012 Sergey Lisitsyn
8  */
9 
10 #ifndef MULTITASKTRACELOGISTICREGRESSION_H_
11 #define MULTITASKTRACELOGISTICREGRESSION_H_
12 
13 #include <shogun/lib/config.h>
14 
16 
17 namespace shogun
18 {
25 {
26 
27  public:
29 
30 
32 
41  float64_t rho, CDotFeatures* training_data,
42  CBinaryLabels* training_labels, CTaskGroup* task_relation);
43 
46 
50  void set_rho(float64_t rho);
51 
55  float64_t get_rho() const;
56 
61  virtual const char* get_name() const
62  {
63  return "MultitaskTraceLogisticRegression";
64  }
65 
66  private:
67 
69  void init();
70 
71  protected:
72 
74  virtual bool train_machine(CFeatures* data=NULL);
75 
78 
79  protected:
80 
83 
84 };
85 }
86 #endif
class TaskGroup used to represent a group of tasks. Tasks in group do not overlap.
Definition: TaskGroup.h:28
Features that support dot products among other operations.
Definition: DotFeatures.h:44
class Multitask Logistic Regression used to solve classification problems with a few tasks related vi...
class MultitaskTraceLogisticRegression, a classifier for multitask problems. Supports only task group...
#define MACHINE_PROBLEM_TYPE(PT)
Definition: Machine.h:120
double float64_t
Definition: common.h:50
all of classes and functions are contained in the shogun namespace
Definition: class_list.h:18
virtual bool train_locked_implementation(SGVector< index_t > *tasks)
The class Features is the base class of all feature objects.
Definition: Features.h:68
Binary Labels for binary classification.
Definition: BinaryLabels.h:37

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