#include <ExplicitSplitter.h>
Inheritance diagram for PLearn::ExplicitSplitter:


Public Member Functions | |
| ExplicitSplitter () | |
| 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 (ExplicitSplitter) | |
| Declares name and deepCopy methods. | |
| 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 | |
| TMat< VMat > | splitsets |
| The datasets of the split. | |
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 50 of file ExplicitSplitter.h. |
|
|
Definition at line 46 of file ExplicitSplitter.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 68 of file ExplicitSplitter.cc. References build_(). |
|
|
This does the actual building.
Reimplemented from PLearn::Object. Definition at line 63 of file ExplicitSplitter.cc. Referenced by build(). |
|
|
Declares this class' options.
Reimplemented from PLearn::Object. Definition at line 56 of file ExplicitSplitter.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
|
Returns split number i.
Implements PLearn::Splitter. Definition at line 91 of file ExplicitSplitter.cc. |
|
|
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::Splitter. Definition at line 74 of file ExplicitSplitter.cc. References PLearn::deepCopyField(), and splitsets. |
|
|
Returns the number of sets per split.
Implements PLearn::Splitter. Definition at line 85 of file ExplicitSplitter.cc. References splitsets, and PLearn::TMat< VMat >::width(). |
|
|
Returns the number of available different "splits".
Implements PLearn::Splitter. Definition at line 80 of file ExplicitSplitter.cc. References PLearn::TMat< VMat >::length(), and splitsets. |
|
|
Declares name and deepCopy methods.
|
|
|
The datasets of the split.
Definition at line 63 of file ExplicitSplitter.h. Referenced by getSplit(), makeDeepCopyFromShallowCopy(), nSetsPerSplit(), and nsplits(). |
1.3.7