#include <BALL/QSAR/kpcrModel.h>
Public Member Functions | |
Constructors and Destructors | |
KPCRModel (const QSARData &q, int k_type, double p1, double p2=-1) | |
KPCRModel (const QSARData &q, Vector< double > &w) | |
KPCRModel (const QSARData &q, String s1, String s2) | |
KPCRModel (const QSARData &q, const LinearModel &lm, int column) | |
~KPCRModel () | |
Accessors | |
void | setFracVar (double frac_var) |
void | train () |
void | setParameters (vector< double > &v) |
vector< double > | getParameters () const |
Private Attributes | |
double | frac_var_ |
class for kernel principal component regression
Definition at line 46 of file kpcrModel.h.
BALL::QSAR::KPCRModel::KPCRModel | ( | const QSARData & | q, | |
const LinearModel & | lm, | |||
int | column | |||
) |
BALL::QSAR::KPCRModel::~KPCRModel | ( | ) |
vector<double> BALL::QSAR::KPCRModel::getParameters | ( | ) | const [virtual] |
Reimplemented from BALL::QSAR::Model.
void BALL::QSAR::KPCRModel::setFracVar | ( | double | frac_var | ) |
set the fraction of the variance that should be explained by the latente variables.
void BALL::QSAR::KPCRModel::setParameters | ( | vector< double > & | ) | [virtual] |
sets the model parameters according to the given values.
Reimplemented from BALL::QSAR::Model.
void BALL::QSAR::KPCRModel::train | ( | ) | [virtual] |
Starts training the model.
Implements BALL::QSAR::Model.
double BALL::QSAR::KPCRModel::frac_var_ [private] |
Definition at line 80 of file kpcrModel.h.