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
logitModel.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
//
5
6
#ifndef LOGITMODEL
7
#define LOGITMODEL
8
9
#ifndef CLASSIFICATION
10
#include <
BALL/QSAR/classificationModel.h
>
11
#endif
12
13
14
15
namespace
BALL{
16
namespace
QSAR {
17
19
class
BALL_EXPORT
LogitModel
:
public
ClassificationModel
20
{
21
public
:
25
LogitModel
(
const
QSARData
& q);
26
27
~
LogitModel
();
28
29
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
31
32
36
void
train();
37
38
Eigen::VectorXd predict(
const
vector<double>& substance,
bool
transform);
39
40
void
saveToFile(
string
filename);
41
42
void
readFromFile(
string
filename);
44
45
46
protected
:
50
Eigen::MatrixXd
training_result_
;
52
53
};
54
}
55
}
56
57
#endif // LOGITMODEL
BALL::QSAR::LogitModel::training_result_
Eigen::MatrixXd training_result_
Definition:
logitModel.h:50
BALL::QSAR::LogitModel
Definition:
logitModel.h:19
classificationModel.h
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