#include <LearnerCommand.h>
Inheritance diagram for PLearn::LearnerCommand:
Public Member Functions | |
LearnerCommand () | |
virtual void | run (const vector< string > &args) |
The actual implementation of the 'LearnerCommand' command. | |
Static Public Member Functions | |
void | train (const string &learner_spec_file, const string &trainset_spec, const string &save_learner_file) |
void | test (const string &trained_learner_file, const string &testset_spec, const string &stats_file, const string &outputs_file, const string &costs_file) |
void | compute_outputs (const string &trained_learner_file, const string &test_inputs_spec, const string &outputs_file) |
Static Protected Attributes | |
PLearnCommandRegistry | reg_ |
This allows to register the 'LearnerCommand' command in the command registry. |
|
Definition at line 57 of file LearnerCommand.cc. References PLearn::save(), and PLearn::use(). |
|
Definition at line 106 of file LearnerCommand.cc. References PLearn::getDataSet(), PLearn::VMat::length(), and PLearn::load(). Referenced by run(). |
|
The actual implementation of the 'LearnerCommand' command.
Implements PLearn::PLearnCommand. Definition at line 117 of file LearnerCommand.cc. References compute_outputs(), PLERROR, test(), and train(). |
|
Definition at line 87 of file LearnerCommand.cc. References PLearn::getDataSet(), PLearn::VMat::length(), PLearn::load(), and PLearn::save(). Referenced by run(). |
|
Definition at line 73 of file LearnerCommand.cc. References PLearn::getDataSet(), PLearn::load(), and PLearn::save(). Referenced by run(). |
|
This allows to register the 'LearnerCommand' command in the command registry.
|