#include <Train.h>
Inheritance diagram for PLearn::Train:
Public Member Functions | |
void | run () |
Overload this for runnable objects (default method issues a runtime error) Runnable objects are objects that can be used as *THE* object of a .plearn script. | |
Train () | |
Default constructor. | |
PLEARN_DECLARE_OBJECT (Train) | |
virtual void | build () |
Should call simply inherited::build(), then this class's build_(). | |
virtual void | makeDeepCopyFromShallowCopy (map< const void *, void * > &copies) |
Transforms a shallow copy into a deep copy. | |
Public Attributes | |
PP< PLearner > | learner |
string | psave |
VMat | trainset |
Static Protected Member Functions | |
void | declareOptions (OptionList &ol) |
Declares this class' options. | |
Private Types | |
typedef Object | inherited |
Private Member Functions | |
void | build_ () |
This does the actual building. |
|
Reimplemented from PLearn::Object. |
|
Default constructor.
|
|
Should call simply inherited::build(), then this class's build_(). This method should be callable again at later times, after modifying some option fields to change the "architecture" of the object. Reimplemented from PLearn::Object. Definition at line 101 of file Train.cc. References build_(). |
|
This does the actual building.
Reimplemented from PLearn::Object. Definition at line 89 of file Train.cc. Referenced by build(). |
|
Declares this class' options.
Reimplemented from PLearn::Object. Definition at line 64 of file Train.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
Transforms a shallow copy into a deep copy.
Definition at line 117 of file Train.cc. References PLERROR. |
|
|
|
Overload this for runnable objects (default method issues a runtime error) Runnable objects are objects that can be used as *THE* object of a .plearn script. The run() method specifies what they should do when executed. Reimplemented from PLearn::Object. Definition at line 107 of file Train.cc. References PLearn::endl(), learner, psave, PLearn::save(), and trainset. |
|
Definition at line 73 of file Train.h. Referenced by run(). |
|
Definition at line 75 of file Train.h. Referenced by run(). |
|
Definition at line 76 of file Train.h. Referenced by run(). |