#include <SourceVMatrixSplitter.h>
Inheritance diagram for PLearn::SourceVMatrixSplitter:
Public Member Functions | |
SourceVMatrixSplitter () | |
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. | |
PLEARN_DECLARE_OBJECT (SourceVMatrixSplitter) | |
Declares name and deepCopy methods. | |
virtual void | setDataSet (VMat the_dataset) |
Overridden to forward to underlying splitter. | |
virtual int | nsplits () const |
Returns the number of available different "splits". | |
virtual int | nSetsPerSplit () const |
Returns the number of sets per split. | |
virtual TVec< VMat > | getSplit (int i=0) |
Returns split number i. | |
Public Attributes | |
PP< SourceVMatrix > | source_vm |
PP< Splitter > | source_splitter |
int | to_apply |
Static Protected Member Functions | |
void | declareOptions (OptionList &ol) |
Declares this class' options. | |
Private Types | |
typedef Splitter | inherited |
Private Member Functions | |
void | build_ () |
This does the actual building. |
|
Reimplemented from PLearn::Splitter. Definition at line 58 of file SourceVMatrixSplitter.h. |
|
Definition at line 49 of file SourceVMatrixSplitter.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 89 of file SourceVMatrixSplitter.cc. References build_(). |
|
This does the actual building.
Reimplemented from PLearn::Object. Definition at line 84 of file SourceVMatrixSplitter.cc. Referenced by build(). |
|
Declares this class' options.
Reimplemented from PLearn::Object. Definition at line 59 of file SourceVMatrixSplitter.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
Returns split number i.
Implements PLearn::Splitter. Definition at line 119 of file SourceVMatrixSplitter.cc. References k, source_splitter, source_vm, and to_apply. |
|
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::Splitter. Definition at line 95 of file SourceVMatrixSplitter.cc. References PLERROR. |
|
Returns the number of sets per split.
Implements PLearn::Splitter. Definition at line 114 of file SourceVMatrixSplitter.cc. References source_splitter. |
|
Returns the number of available different "splits".
Implements PLearn::Splitter. Definition at line 109 of file SourceVMatrixSplitter.cc. References source_splitter. |
|
Declares name and deepCopy methods.
|
|
Overridden to forward to underlying splitter.
Reimplemented from PLearn::Splitter. Definition at line 132 of file SourceVMatrixSplitter.cc. References source_splitter. |
|
Definition at line 75 of file SourceVMatrixSplitter.h. Referenced by getSplit(), nSetsPerSplit(), nsplits(), and setDataSet(). |
|
Definition at line 74 of file SourceVMatrixSplitter.h. Referenced by getSplit(). |
|
Definition at line 76 of file SourceVMatrixSplitter.h. Referenced by getSplit(). |