#include <BootstrapVMatrix.h>
Inheritance diagram for PLearn::BootstrapVMatrix:
Public Member Functions | |
BootstrapVMatrix () | |
BootstrapVMatrix (VMat m, real frac, bool shuffle=false) | |
Construct a boostrap of another VMatrix. | |
PLEARN_DECLARE_OBJECT (BootstrapVMatrix) | |
virtual void | build () |
Should call simply inherited::build(), then this class's build_(). | |
Static Public Member Functions | |
void | declareOptions (OptionList &ol) |
Declares this class' options. | |
Public Attributes | |
real | frac |
Public build options. | |
bool | shuffle |
Private Types | |
typedef SelectRowsVMatrix | inherited |
Private Member Functions | |
void | build_ () |
This does the actual building. |
|
Reimplemented from PLearn::SelectRowsVMatrix. Definition at line 52 of file BootstrapVMatrix.h. |
|
Definition at line 58 of file BootstrapVMatrix.cc. References PLearn::shuffle(). |
|
Construct a boostrap of another VMatrix.
Definition at line 63 of file BootstrapVMatrix.cc. References build(), and PLearn::shuffle(). |
|
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::SelectRowsVMatrix. Definition at line 91 of file BootstrapVMatrix.cc. References build_(). Referenced by BootstrapVMatrix(). |
|
This does the actual building.
Reimplemented from PLearn::SelectRowsVMatrix. Definition at line 100 of file BootstrapVMatrix.cc. References frac, PLearn::VMat::length(), shuffle, PLearn::shuffleElements(), PLearn::sortElements(), and PLearn::TVec< int >::subVec(). Referenced by build(). |
|
Declares this class' options.
Reimplemented from PLearn::SelectRowsVMatrix. Definition at line 74 of file BootstrapVMatrix.cc. References PLearn::declareOption(), PLearn::OptionList, and PLearn::redeclareOption(). |
|
|
|
Public build options.
Definition at line 57 of file BootstrapVMatrix.h. Referenced by build_(). |
|
Definition at line 58 of file BootstrapVMatrix.h. Referenced by build_(). |