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
kplsModel.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
//
5
6
#ifndef BALL_QSAR_KPLSMODEL_H
7
#define BALL_QSAR_KPLSMODEL_H
8
9
#ifndef BALL_QSAR_KERNELMODEL_H
10
#include <
BALL/QSAR/kernelModel.h
>
11
#endif
12
13
#ifndef BALL_QSAR_NONLINEARMODEL_H
14
#include <
BALL/QSAR/nonlinearModel.h
>
15
#endif
16
17
#ifndef BALL_QSAR_LATENTVARIABLEMODEL_H
18
#include <
BALL/QSAR/latentVariableModel.h
>
19
#endif
20
21
namespace
BALL
22
{
23
namespace
QSAR
24
{
26
class
BALL_EXPORT
KPLSModel
:
public
KernelModel
,
public
LatentVariableModel
27
{
28
public
:
32
KPLSModel
(
const
QSARData
& q,
int
k_type,
double
p1,
double
p2=-1);
33
34
KPLSModel
(
const
QSARData
& q, Eigen::VectorXd& w);
35
36
KPLSModel
(
const
QSARData
& q,
String
s1,
String
s2);
37
38
KPLSModel
(
const
QSARData
& q,
const
LinearModel
& lm,
int
column);
39
40
~
KPLSModel
();
41
42
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
44
45
49
50
void
train();
51
53
bool
optimizeParameters(
int
k
,
int
no_steps);
54
56
int
getNoComponents();
57
58
void
setNoComponents(
int
d);
59
61
const
Eigen::MatrixXd* getU();
62
63
void
setParameters(vector<double>& v);
64
65
vector<double> getParameters()
const
;
67
68
69
protected
:
72
Eigen::MatrixXd
U_
;
73
74
int
no_components_
;
76
77
};
78
}
79
}
80
81
#endif // KPLSMODEL
BALL::String
Definition:
string.h:61
latentVariableModel.h
nonlinearModel.h
BALL::Constants::k
BALL_EXTERN_VARIABLE const double k
Definition:
constants.h:93
BALL::QSAR::LinearModel
Definition:
linearModel.h:17
BALL::QSAR::KernelModel
Definition:
kernelModel.h:27
BALL::QSAR::LatentVariableModel
Definition:
latentVariableModel.h:19
kernelModel.h
BALL::QSAR::KPLSModel
Definition:
kplsModel.h:26
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
BALL::QSAR::QSARData
Definition:
QSARData.h:55
BALL::QSAR::KPLSModel::no_components_
int no_components_
Definition:
kplsModel.h:74
BALL::QSAR::KPLSModel::U_
Eigen::MatrixXd U_
Definition:
kplsModel.h:72
Generated by
1.8.7