PLearn 0.1
Public Member Functions
PLearn::Measurer Class Reference

#include <Measurer.h>

Inheritance diagram for PLearn::Measurer:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual bool measure (int t, const Vec &costs)
virtual void measure (int t)
 this method is kept temporarily during the transition to the above "measure" standard from the old one below
virtual ~Measurer ()

Detailed Description

Definition at line 57 of file Measurer.h.


Constructor & Destructor Documentation

PLearn::Measurer::~Measurer ( ) [virtual]

Definition at line 50 of file Measurer.cc.

{}

Member Function Documentation

virtual bool PLearn::Measurer::measure ( int  t,
const Vec costs 
) [inline, virtual]

This method is called at iteration t of a training algorithm, and it can monitor the cost values given the costs vector. The returned value indicates whether training should be stopped (by default shoudl be false).

Reimplemented in PLearn::CallbackMeasurer, and PLearn::VarMeasurer.

Definition at line 65 of file Measurer.h.

{ return false; }
virtual void PLearn::Measurer::measure ( int  t) [inline, virtual]

this method is kept temporarily during the transition to the above "measure" standard from the old one below

Definition at line 69 of file Measurer.h.

References c.

    {
        Vec c;
        measure(t,c);
    }

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines