Loading...
Searching...
No Matches
bayesModel.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
//
#ifndef BALL_QSAR_BAYESMODEL_H
#define BALL_QSAR_BAYESMODEL_H
#ifndef BALL_QSAR_CLASSIFICATIONMODEL_H
#include <BALL/QSAR/classificationModel.h>
#endif
namespace BALL
{
namespace QSAR
{
class BALL_EXPORT BayesModel : public ClassificationModel
{
public:
BayesModel(const QSARData& q);
virtual bool isTrained() = 0;
virtual vector<double> calculateProbabilities(int activitiy_index, int feature_index, double feature_value) = 0;
virtual int getNoResponseVariables() = 0;
protected:
double min_prob_diff_;
double undef_act_class_id_;
};
}
}
#endif //BAYESMODEL_H
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
BALL::QSAR::BayesModel::undef_act_class_id_
double undef_act_class_id_
Definition bayesModel.h:39
BALL::QSAR::BayesModel::getNoResponseVariables
virtual int getNoResponseVariables()=0
BALL::QSAR::BayesModel::calculateProbabilities
virtual vector< double > calculateProbabilities(int activitiy_index, int feature_index, double feature_value)=0
BALL::QSAR::BayesModel::min_prob_diff_
double min_prob_diff_
Definition bayesModel.h:36
BALL::QSAR::BayesModel::BayesModel
BayesModel(const QSARData &q)
BALL::QSAR::BayesModel::isTrained
virtual bool isTrained()=0
BALL::QSAR::ClassificationModel::ClassificationModel
ClassificationModel(const QSARData &q)
BALL::QSAR::QSARData
Definition QSARData.h:56
classificationModel.h
BALL::QSAR
Definition allModel.h:17
BALL
Definition constants.h:13