BALL 1.5.0
Loading...
Searching...
No Matches
plsModel.h
Go to the documentation of this file.
1// -*- Mode: C++; tab-width: 2; -*-
2// vi: set ts=2:
3//
4//
5
6#ifndef PLSMODEL
7#define PLSMODEL
8
9#ifndef LMODEL
11#endif
12
13#ifndef STATISTICS
15#endif
16
17#ifndef QSAR_EXCEPTION
18#include <BALL/QSAR/exception.h>
19#endif
20
22
23
24namespace BALL
25{
26 namespace QSAR
27 {
29 {
30 public:
36 PLSModel(const QSARData& q);
37
39
40 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
42
43
49 virtual void train();
50
52 virtual bool optimizeParameters(int k, int no_steps);
53
55 void setNoComponents(int no);
56
59
61 const Eigen::MatrixXd* getU();
62
63 void setParameters(vector<double>& v);
64
65 vector<double> getParameters() const;
67
68
69 protected:
73
74 Eigen::MatrixXd U_;
75
78 };
79 }
80}
81
82
83#endif // PLSMODEL
const Eigen::MatrixXd * getU()
virtual bool optimizeParameters(int k, int no_steps)
void setParameters(vector< double > &v)
Eigen::MatrixXd U_
Definition plsModel.h:74
void setNoComponents(int no)
virtual void train()
PLSModel(const QSARData &q)
vector< double > getParameters() const
#define BALL_EXPORT