|
virtual CPP11_shared_ptr< const LocalPolyFilter1D > | provideFilter (int symbetaPower, double bandwidth, double degree, unsigned nbins, double binwidth, const BoundaryHandling &bm, unsigned excludedBin, bool excludeCentralPoint) |
|
unsigned long | nMemoized () const |
|
void | firstMemoizedInfo (int *symbetaPower, double *bandwidth, double *degree, unsigned *nbins, double *binwidth, BoundaryHandling *bm, unsigned *excludedBin, bool *excludeCentralPoint) const |
|
std::vector< double > | knownBandwidthValues () const |
|
bool | operator== (const MemoizingSymbetaFilterProvider &r) const |
|
bool | operator!= (const MemoizingSymbetaFilterProvider &r) const |
|
gs::ClassId | classId () const |
|
bool | write (std::ostream &of) const |
|
virtual void | startMemoizing () |
|
virtual void | stopMemoizing () |
|
virtual bool | isMemoizing () const |
|
|
static const char * | classname () |
|
static unsigned | version () |
|
static void | restore (const gs::ClassId &id, std::istream &in, MemoizingSymbetaFilterProvider *ptr) |
|
◆ provideFilter()
virtual CPP11_shared_ptr<const LocalPolyFilter1D> npstat::MemoizingSymbetaFilterProvider::provideFilter |
( |
int |
symbetaPower, |
|
|
double |
bandwidth, |
|
|
double |
degree, |
|
|
unsigned |
nbins, |
|
|
double |
binwidth, |
|
|
const BoundaryHandling & |
bm, |
|
|
unsigned |
excludedBin, |
|
|
bool |
excludeCentralPoint |
|
) |
| |
|
virtual |
Parameters are:
symbetaPower – This parameter defines which kernel to use. Negative value means use Gaussian.
bandwidth – Kernel bandwidth.
degree – Polynomial degree.
nbins – Number of bins in the discretized dataset.
binwidth – Bin width.
bm – Boundary handling method.
excludedBin – Bin number to exclude. Numbers equal to nbins and larger are to be ignored.
excludeCentralPoint – Exclude central bin from the weight function.
The function should return an instance of LocalPolyFilter1D wrapped into a smart pointer.
Reimplemented from npstat::SimpleSymbetaFilterProvider.
The documentation for this class was generated from the following file: