OpenANN  1.1.0
An open source library for artificial neural networks.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Evaluation.h
Go to the documentation of this file.
1 #ifndef OPENANN_EVALUATION_H_
2 #define OPENANN_EVALUATION_H_
3 
10 #include <Eigen/Core>
11 
12 namespace OpenANN
13 {
14 
15 class Optimizer;
16 class Learner;
17 class DataSet;
18 
32 double sse(Learner& learner, DataSet& dataSet);
33 
47 double mse(Learner& learner, DataSet& dataSet);
48 
62 double rmse(Learner& learner, DataSet& dataSet);
63 
77 double ce(Learner& learner, DataSet& dataSet);
78 
88 double accuracy(Learner& learner, DataSet& dataSet);
89 
98 double weightedAccuracy(Learner& learner, DataSet& dataSet, Eigen::VectorXd weights);
99 
110 Eigen::MatrixXi confusionMatrix(Learner& learner, DataSet& dataSet);
111 
122 int classificationHits(Learner& learner, DataSet& dataSet);
123 
133 double crossValidation(int folds, Learner& learner, DataSet& dataSet,
134  Optimizer& opt);
135 
145 int oneOfCDecoding(const Eigen::VectorXd& target);
146 
147 } // namespace OpenANN
148 
149 #endif // OPENANN_EVALUATION_H_