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
rrModel.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
//
5
6
#ifndef RIDGEMODEL
7
#define RIDGEMODEL
8
9
#ifndef MLRMODEL
10
#include <
BALL/QSAR/mlrModel.h
>
11
#endif
12
13
#ifndef QSAR_EXCEPTION
14
#include <
BALL/QSAR/exception.h
>
15
#endif
16
17
18
19
namespace
BALL
20
{
21
namespace
QSAR
22
{
23
class
BALL_EXPORT
RRModel
:
public
MLRModel
24
{
25
public
:
31
RRModel
(
const
QSARData
& q,
double
lambda=0.003);
32
33
~
RRModel
();
35
40
void
train();
41
42
void
setParameters(vector<double>& v);
43
44
vector<double> getParameters()
const
;
46
47
private
:
51
double
lambda_;
52
54
};
55
}
56
}
57
58
#endif // RIDGEMODEL
59
BALL::QSAR::RRModel
Definition:
rrModel.h:23
exception.h
BALL::QSAR::MLRModel
Definition:
mlrModel.h:22
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
BALL::QSAR::QSARData
Definition:
QSARData.h:55
mlrModel.h
Generated by
1.8.7