#include <VarMeasurer.h>
Inheritance diagram for PLearn::VarMeasurer:
Public Member Functions | |
VarMeasurer (Var the_v, int the_every, const string &the_filename, const string &the_onscreen_prompt="") | |
virtual bool | measure (int t, const Vec &costs) |
Public Attributes | |
Var | v |
int | every |
string | filename |
ofstream | out |
string | onscreen_prompt |
|
Definition at line 64 of file VarMeasurer.h. References every, filename, onscreen_prompt, out, and v. |
|
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 from PLearn::Measurer. Definition at line 45 of file VarMeasurer.cc. References PLearn::endl(), every, PLearn::Var::length(), onscreen_prompt, out, v, and PLearn::Vec. |
|
Definition at line 57 of file VarMeasurer.h. Referenced by measure(), and VarMeasurer(). |
|
Definition at line 58 of file VarMeasurer.h. Referenced by VarMeasurer(). |
|
Definition at line 60 of file VarMeasurer.h. Referenced by measure(), and VarMeasurer(). |
|
Definition at line 59 of file VarMeasurer.h. Referenced by measure(), and VarMeasurer(). |
|
Definition at line 56 of file VarMeasurer.h. Referenced by measure(), and VarMeasurer(). |