OpenANN  1.1.0
An open source library for artificial neural networks.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
List of all members | Public Member Functions
OpenANN::MulticlassEvaluator Class Reference

Evaluates learners for multiclass problems. More...

#include <Evaluator.h>

+ Inheritance diagram for OpenANN::MulticlassEvaluator:

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 ()
 

Detailed Description

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".

Constructor & Destructor Documentation

OpenANN::MulticlassEvaluator::MulticlassEvaluator ( int  interval = 1,
Logger::Target  target = Logger::CONSOLE 
)

Create MulticlassEvaluator.

Parameters
intervallogging interval, the learner will be evaluated after interval iterations
targettarget of the logger
virtual OpenANN::MulticlassEvaluator::~MulticlassEvaluator ( )
virtual

Member Function Documentation

virtual void OpenANN::MulticlassEvaluator::evaluate ( Learner learner,
DataSet dataSet 
)
virtual

Evaluate learner on data set.

Parameters
learnercurrent model
dataSetvalidation set

Implements OpenANN::Evaluator.


The documentation for this class was generated from the following file: