#include <Experiment.h>
Inheritance diagram for PLearn::Experiment:
Public Types | |
typedef Object | inherited |
Public Member Functions | |
Experiment () | |
virtual void | build () |
Should call simply inherited::build(), then this class's build_(). | |
PLEARN_DECLARE_OBJECT (Experiment) | |
Declares name and deepCopy methods. | |
virtual void | run () |
runs the experiment | |
Public Attributes | |
string | expdir |
Path of this experiment's directory in which to save all experiment results (will be created if it does not already exist). | |
PP< Learner > | learner |
VMat | dataset |
PP< Splitter > | splitter |
bool | save_models |
bool | save_initial_models |
bool | save_test_outputs |
bool | save_test_costs |
Static Protected Member Functions | |
void | declareOptions (OptionList &ol) |
Declares this class' options. | |
Private Member Functions | |
void | build_ () |
This does the actual building. |
|
Reimplemented from PLearn::Object. Definition at line 55 of file Experiment.h. |
|
Definition at line 49 of file Experiment.cc. |
|
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 84 of file Experiment.cc. References build_(). |
|
This does the actual building.
Reimplemented from PLearn::Object. Definition at line 78 of file Experiment.cc. References dataset, and splitter. Referenced by build(). |
|
Declares this class' options.
Reimplemented from PLearn::Object. Definition at line 56 of file Experiment.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
Declares name and deepCopy methods.
|
|
runs the experiment
Reimplemented from PLearn::Object. Definition at line 90 of file Experiment.cc. References PLearn::append_slash(), expdir, fname, PLearn::force_mkdir(), PLearn::VecStatsCollector::getMean(), PLearn::VecStatsCollector::getStdDev(), PLearn::VecStatsCollector::getStdError(), k, learner, PLearn::TVec< T >::length(), PLearn::pathexists(), PLERROR, PLearn::TVec< T >::println(), PLearn::save(), save_initial_models, save_models, save_test_costs, save_test_outputs, PLearn::TVec< T >::size(), slash, splitter, PLearn::TVec< T >::subVec(), PLearn::tostring(), PLearn::VecStatsCollector::update(), and PLearn::Vec. |
|
Definition at line 66 of file Experiment.h. Referenced by build_(). |
|
Path of this experiment's directory in which to save all experiment results (will be created if it does not already exist).
Definition at line 64 of file Experiment.h. Referenced by run(). |
|
Definition at line 65 of file Experiment.h. Referenced by run(). |
|
Definition at line 69 of file Experiment.h. Referenced by run(). |
|
Definition at line 68 of file Experiment.h. Referenced by run(). |
|
Definition at line 71 of file Experiment.h. Referenced by run(). |
|
Definition at line 70 of file Experiment.h. Referenced by run(). |
|
Definition at line 67 of file Experiment.h. |