OpenANN
1.1.0
An open source library for artificial neural networks.
|
Evaluates learners for multiclass problems. More...
#include <Evaluator.h>
Public Member Functions | |
MulticlassEvaluator (int interval=1, Logger::Target target=Logger::CONSOLE) | |
Create MulticlassEvaluator. More... | |
virtual | ~MulticlassEvaluator () |
virtual void | evaluate (Learner &learner, DataSet &dataSet) |
Evaluate learner on data set. More... | |
Public Member Functions inherited from OpenANN::Evaluator | |
virtual | ~Evaluator () |
Evaluates learners for multiclass problems.
The following metrics will be computed:
In addition, the number of iteration and the elapsed time will be logged. The logger will be called "evaluation", i.e. the corresponding log file is "evaluation.log" or "evaluation-date.log".
OpenANN::MulticlassEvaluator::MulticlassEvaluator | ( | int | interval = 1 , |
Logger::Target | target = Logger::CONSOLE |
||
) |
Create MulticlassEvaluator.
interval | logging interval, the learner will be evaluated after interval iterations |
target | target of the logger |
|
virtual |
|
virtual |
Evaluate learner on data set.
learner | current model |
dataSet | validation set |
Implements OpenANN::Evaluator.