BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
QSAR
plsModel.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
//
5
6
#ifndef PLSMODEL
7
#define PLSMODEL
8
9
#ifndef LMODEL
10
#include <
BALL/QSAR/linearModel.h
>
11
#endif
12
13
#ifndef STATISTICS
14
#include <
BALL/QSAR/statistics.h
>
15
#endif
16
17
#ifndef QSAR_EXCEPTION
18
#include <
BALL/QSAR/exception.h
>
19
#endif
20
21
#include <
BALL/QSAR/latentVariableModel.h
>
22
23
24
namespace
BALL
25
{
26
namespace
QSAR
27
{
28
class
BALL_EXPORT
PLSModel
:
public
LinearModel
,
public
LatentVariableModel
29
{
30
public
:
36
PLSModel
(
const
QSARData
& q);
37
38
~
PLSModel
();
39
40
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
42
43
49
virtual
void
train();
50
52
virtual
bool
optimizeParameters(
int
k
,
int
no_steps);
53
55
void
setNoComponents(
int
no);
56
58
int
getNoComponents();
59
61
const
Eigen::MatrixXd* getU();
62
63
void
setParameters(vector<double>& v);
64
65
vector<double> getParameters()
const
;
67
68
69
protected
:
73
74
Eigen::MatrixXd
U_
;
75
76
int
no_components_
;
78
};
79
}
80
}
81
82
83
#endif // PLSMODEL
linearModel.h
latentVariableModel.h
BALL::QSAR::PLSModel::U_
Eigen::MatrixXd U_
Definition:
plsModel.h:74
BALL::QSAR::PLSModel
Definition:
plsModel.h:28
statistics.h
exception.h
BALL::Constants::k
BALL_EXTERN_VARIABLE const double k
Definition:
constants.h:93
BALL::QSAR::PLSModel::no_components_
int no_components_
Definition:
plsModel.h:76
BALL::QSAR::LinearModel
Definition:
linearModel.h:17
BALL::QSAR::LatentVariableModel
Definition:
latentVariableModel.h:19
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
BALL::QSAR::QSARData
Definition:
QSARData.h:55
Generated by
1.8.7