SHOGUN  3.2.1
 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 
13 #include <shogun/lib/config.h>
14 
16 
17 namespace shogun
18 {
25 {
26 
27  public:
29 
30 
32 
42  float64_t rho1, float64_t rho2, CDotFeatures* training_data,
43  CBinaryLabels* training_labels, CTaskGroup* task_group);
44 
47 
51  void set_rho1(float64_t rho1);
52 
56  float64_t get_rho1() const;
57 
61  void set_rho2(float64_t rho2);
62 
66  float64_t get_rho2() const;
67 
72  virtual const char* get_name() const
73  {
74  return "MultitaskL12LogisticRegression";
75  }
76 
77  private:
78 
80  void init();
81 
82  protected:
83 
88  virtual bool train_machine(CFeatures* data=NULL);
89 
95 
96  protected:
97 
100 
103 
104 };
105 }
106 #endif

SHOGUN Machine Learning Toolbox - Documentation