SHOGUN  v3.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MultitaskL12LogisticRegression.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 MULTITASKL12LOGISTICREGRESSION_H_
11 #define MULTITASKL12LOGISTICREGRESSION_H_
12 
14 
15 namespace shogun
16 {
23 {
24 
25  public:
27 
28 
30 
40  float64_t rho1, float64_t rho2, CDotFeatures* training_data,
41  CBinaryLabels* training_labels, CTaskGroup* task_group);
42 
45 
49  void set_rho1(float64_t rho1);
50 
54  float64_t get_rho1() const;
55 
59  void set_rho2(float64_t rho2);
60 
64  float64_t get_rho2() const;
65 
70  virtual const char* get_name() const
71  {
72  return "MultitaskL12LogisticRegression";
73  }
74 
75  private:
76 
78  void init();
79 
80  protected:
81 
86  virtual bool train_machine(CFeatures* data=NULL);
87 
93 
94  protected:
95 
98 
101 
102 };
103 }
104 #endif

SHOGUN Machine Learning Toolbox - Documentation