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
pcrModel.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
//
5
6
#ifndef PCRMODEL
7
#define PCRMODEL
8
9
#ifndef LMODEL
10
#include <
BALL/QSAR/linearModel.h
>
11
#endif
12
13
#ifndef QSAR_EXCEPTION
14
#include <
BALL/QSAR/exception.h
>
15
#endif
16
17
#include <
BALL/QSAR/rrModel.h
>
18
19
#include <
BALL/QSAR/latentVariableModel.h
>
20
21
22
namespace
BALL
23
{
24
namespace
QSAR
25
{
26
class
BALL_EXPORT
PCRModel
:
public
LinearModel
,
public
LatentVariableModel
27
{
28
public
:
29
36
PCRModel
(
const
QSARData
& q,
double
frac_var=0.99);
37
38
~
PCRModel
();
40
45
void
train();
46
47
49
void
setFracVar(
double
frac_var);
50
51
void
setParameters(vector<double>& v);
52
53
vector<double> getParameters()
const
;
54
57
static
void
calculateEigenvectors(
const
Eigen::MatrixXd& data,
double
frac_var, Eigen::MatrixXd& output);
59
60
61
62
protected
:
63
68
double
frac_var_
;
70
71
};
72
}
73
}
74
75
#endif // PCRMODEL
linearModel.h
latentVariableModel.h
BALL::QSAR::PCRModel::frac_var_
double frac_var_
Definition:
pcrModel.h:68
exception.h
BALL::QSAR::LinearModel
Definition:
linearModel.h:17
rrModel.h
BALL::QSAR::LatentVariableModel
Definition:
latentVariableModel.h:19
BALL::QSAR::PCRModel
Definition:
pcrModel.h:26
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
BALL::QSAR::QSARData
Definition:
QSARData.h:55
Generated by
1.8.7