Loading...
Searching...
No Matches
rrModel.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
//
#ifndef RIDGEMODEL
#define RIDGEMODEL
#ifndef MLRMODEL
#include <BALL/QSAR/mlrModel.h>
#endif
#ifndef QSAR_EXCEPTION
#include <BALL/QSAR/exception.h>
#endif
namespace BALL
{
namespace QSAR
{
class BALL_EXPORT RRModel : public MLRModel
{
public:
RRModel(const QSARData& q, double lambda=0.003);
~RRModel();
void train();
void setParameters(vector<double>& v);
vector<double> getParameters() const;
private:
double lambda_;
};
}
}
#endif // RIDGEMODEL
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
exception.h
BALL::QSAR::MLRModel::MLRModel
MLRModel(const QSARData &q)
BALL::QSAR::QSARData
Definition QSARData.h:56
BALL::QSAR::RRModel::RRModel
RRModel(const QSARData &q, double lambda=0.003)
BALL::QSAR::RRModel::~RRModel
~RRModel()
BALL::QSAR::RRModel::setParameters
void setParameters(vector< double > &v)
BALL::QSAR::RRModel::train
void train()
BALL::QSAR::RRModel::getParameters
vector< double > getParameters() const
mlrModel.h
BALL::QSAR
Definition allModel.h:17
BALL
Definition constants.h:13