SHOGUN  3.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DomainAdaptationMulticlassLibLinear.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  * Written (W) 2012 Sergey Lisitsyn
8  * Copyright (C) 2012 Sergey Lisitsyn
9  */
10 
11 #ifndef _DOMAINADAPTATIONMULTICLASSLIBLINEAR_H___
12 #define _DOMAINADAPTATIONMULTICLASSLIBLINEAR_H___
13 #include <shogun/lib/config.h>
14 #ifdef HAVE_LAPACK
16 
17 namespace shogun
18 {
19 
24 {
25  public:
28 
36  CDotFeatures* target_features, CLabels* target_labels,
37  CLinearMulticlassMachine* source_machine);
38 
41 
43  virtual CBinaryLabels* get_submachine_outputs(int32_t);
44 
46  virtual const char* get_name() const
47  {
48  return "DomainAdaptationMulticlassLibLinear";
49  }
50 
54  float64_t get_source_bias() const;
58  void set_source_bias(float64_t source_bias);
59 
67  void set_train_factor(float64_t train_factor);
68 
76  void set_source_machine(CLinearMulticlassMachine* source_machine);
77 
78 protected:
79 
82 
83 private:
84 
86  void init_defaults();
87 
89  void register_parameters();
90 
91 protected:
92 
95 
98 
101 };
102 }
103 #endif /* HAVE_LAPACK */
104 #endif

SHOGUN Machine Learning Toolbox - Documentation