SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MultitaskTraceLogisticRegression.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  * 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

SHOGUN Machine Learning Toolbox - Documentation