BALL 1.5.0
Loading...
Searching...
No Matches
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
19namespace BALL
20{
21 namespace QSAR
22 {
24 {
25 public:
31 RRModel(const QSARData& q, double lambda=0.003);
32
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
RRModel(const QSARData &q, double lambda=0.003)
void setParameters(vector< double > &v)
vector< double > getParameters() const
#define BALL_EXPORT