PLearn 0.1
|
#include <Measurer.h>
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 () |
Definition at line 57 of file Measurer.h.
PLearn::Measurer::~Measurer | ( | ) | [virtual] |
Definition at line 50 of file Measurer.cc.
{}
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] |