BALL
1.4.79
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
QSAR
bayesModel.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
//
5
6
#ifndef BALL_QSAR_BAYESMODEL_H
7
#define BALL_QSAR_BAYESMODEL_H
8
9
#ifndef BALL_QSAR_CLASSIFICATIONMODEL_H
10
#include <
BALL/QSAR/classificationModel.h
>
11
#endif
12
13
namespace
BALL
14
{
15
namespace
QSAR
16
{
18
class
BALL_EXPORT
BayesModel
:
public
ClassificationModel
19
{
20
public
:
21
22
BayesModel
(
const
QSARData
& q);
23
24
virtual
bool
isTrained() = 0;
25
28
virtual
vector<double> calculateProbabilities(
int
activitiy_index,
int
feature_index,
double
feature_value) = 0;
29
31
virtual
int
getNoResponseVariables() = 0;
32
33
34
protected
:
36
double
min_prob_diff_
;
37
39
double
undef_act_class_id_
;
40
41
};
42
}
43
}
44
45
#endif //BAYESMODEL_H
BALL::QSAR::BayesModel
Definition:
bayesModel.h:18
BALL::QSAR::BayesModel::undef_act_class_id_
double undef_act_class_id_
Definition:
bayesModel.h:39
classificationModel.h
BALL::QSAR::BayesModel::min_prob_diff_
double min_prob_diff_
Definition:
bayesModel.h:36
BALL::QSAR::ClassificationModel
Definition:
classificationModel.h:26
BALL_EXPORT
#define BALL_EXPORT
Definition:
COMMON/global.h:50
BALL::QSAR::QSARData
Definition:
QSARData.h:55
Generated by
1.8.7