BALL::QSAR::KPCRModel Class Reference

#include <BALL/QSAR/kpcrModel.h>

Inheritance diagram for BALL::QSAR::KPCRModel:
Inheritance graph
[legend]

List of all members.

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< doublegetParameters () const

Private Attributes

double frac_var_

Detailed Description

class for kernel principal component regression

Definition at line 46 of file kpcrModel.h.


Constructor & Destructor Documentation

BALL::QSAR::KPCRModel::KPCRModel ( const QSARData q,
int  k_type,
double  p1,
double  p2 = -1 
)
BALL::QSAR::KPCRModel::KPCRModel ( const QSARData q,
Vector< double > &  w 
)
BALL::QSAR::KPCRModel::KPCRModel ( const QSARData q,
String  s1,
String  s2 
)
BALL::QSAR::KPCRModel::KPCRModel ( const QSARData q,
const LinearModel lm,
int  column 
)
BALL::QSAR::KPCRModel::~KPCRModel (  ) 

Member Function Documentation

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.


Member Data Documentation

Definition at line 80 of file kpcrModel.h.

Generated by  doxygen 1.6.3