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
kpcrModel.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_KPCRMODEL_H
7
#define BALL_QSAR_KPCRMODEL_H
8
9
#ifndef BALL_QSAR_KERNELMODEL_H
10
#include <
BALL/QSAR/kernelModel.h
>
11
#endif
12
13
#ifndef BALL_QSAR_PCRMODEL_H
14
#include <
BALL/QSAR/pcrModel.h
>
15
#endif
16
17
#ifndef BALL_QSAR_NONLINEARMODEL_H
18
#include <
BALL/QSAR/nonlinearModel.h
>
19
#endif
20
21
namespace
BALL
22
{
23
namespace
QSAR
24
{
26
class
BALL_EXPORT
KPCRModel
:
public
KernelModel
,
public
LatentVariableModel
27
{
28
public
:
32
KPCRModel
(
const
QSARData
& q,
int
k_type,
double
p1,
double
p2=-1);
33
34
KPCRModel
(
const
QSARData
& q, Eigen::VectorXd& w);
35
36
KPCRModel
(
const
QSARData
& q,
String
s1,
String
s2);
37
38
KPCRModel
(
const
QSARData
& q,
const
LinearModel
& lm,
int
column);
39
40
~
KPCRModel
();
42
43
48
void
setFracVar(
double
frac_var);
49
50
void
train();
51
52
void
setParameters(vector<double>& v);
53
54
vector<double> getParameters()
const
;
56
57
58
private
:
59
60
double
frac_var_;
61
};
62
}
63
}
64
65
#endif //KPCRMODEL
BALL::String
Definition:
string.h:61
nonlinearModel.h
pcrModel.h
BALL::QSAR::LinearModel
Definition:
linearModel.h:17
BALL::QSAR::KernelModel
Definition:
kernelModel.h:27
BALL::QSAR::LatentVariableModel
Definition:
latentVariableModel.h:19
kernelModel.h
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
BALL::QSAR::QSARData
Definition:
QSARData.h:55
BALL::QSAR::KPCRModel
Definition:
kpcrModel.h:26
Generated by
1.8.7