#include <Measurer.h>
Inheritance diagram for PLearn::CallbackMeasurer:
Public Member Functions | |
CallbackMeasurer (MeasurerCallbackFunction the_callback) | |
virtual bool | measure (int t, const Vec &costs) |
Public Attributes | |
MeasurerCallbackFunction | callback |
|
Definition at line 84 of file Measurer.h. References callback. |
|
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 should be false). Reimplemented from PLearn::Measurer. Definition at line 53 of file Measurer.cc. References callback, and PLearn::Vec. |
|
Definition at line 82 of file Measurer.h. Referenced by CallbackMeasurer(), and measure(). |