#include <ScaledConditionalCDFSmoother.h>
Inheritance diagram for PLearn::ScaledConditionalCDFSmoother:
Public Types | |
typedef ConditionalCDFSmoother | inherited |
Public Member Functions | |
ScaledConditionalCDFSmoother () | |
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 (ScaledConditionalCDFSmoother) | |
Declares name and deepCopy methods. | |
virtual real | smooth (const Vec &source_function, Vec &smoothed_function, Vec bin_positions=Vec(), Vec dest_bin_positions=Vec()) const |
Public Attributes | |
bool | preserve_relative_density |
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::ConditionalCDFSmoother. Definition at line 64 of file ScaledConditionalCDFSmoother.h. |
|
Definition at line 51 of file ScaledConditionalCDFSmoother.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::ConditionalCDFSmoother. Definition at line 94 of file ScaledConditionalCDFSmoother.cc. References build_(). |
|
This does the actual building.
Reimplemented from PLearn::ConditionalCDFSmoother. Definition at line 89 of file ScaledConditionalCDFSmoother.cc. Referenced by build(). |
|
Declares this class' options.
Reimplemented from PLearn::ConditionalCDFSmoother. Definition at line 67 of file ScaledConditionalCDFSmoother.cc. References PLearn::declareOption(), and PLearn::OptionList. |
|
Transforms a shallow copy into a deep copy.
Reimplemented from PLearn::ConditionalCDFSmoother. Definition at line 101 of file ScaledConditionalCDFSmoother.cc. |
|
Declares name and deepCopy methods.
|
|
Reimplemented from PLearn::ConditionalCDFSmoother. Definition at line 111 of file ScaledConditionalCDFSmoother.cc. References PLearn::endl(), PLERROR, preserve_relative_density, PLearn::TVec< T >::resize(), PLearn::TVec< T >::size(), and PLearn::Vec. |
|
Definition at line 74 of file ScaledConditionalCDFSmoother.h. Referenced by smooth(). |