npstat::SequentialPolyFilterND Class Reference
Inheritance diagram for npstat::SequentialPolyFilterND:
Detailed DescriptionThis class performs local polynomial filtering in multiple dimensions by sequential application of one-dimensional filters Constructor & Destructor Documentation◆ SequentialPolyFilterND()
Main constructor. The arguments are as follows: filters – Array of pointers to LocalPolyFilter1D objects which will be used to perform filtering in each dimension. The filters should be compatible with the expected span of the data arrays. nFilters – Number of elements in the "filters" array. Should be equal to the dimensionality of the data arrays which will be processed by the "filter" function. takeOwnership – If this argument is set to "true", we will call the "delete" operator on each element of the "filters" array the destructor. Member Function Documentation◆ convolve()
template<class ArrIn , class ArrOut >
A diffent filtering method in which the shapes of the kernels are determined by the positions of the "sources" (i.e., sample points) instead of the positions at which the density (or response) is estimated. Note that elements of "out" array themselves are used as result accumulators. ◆ dataShape()
Required shape of the data array Implements npstat::AbsPolyFilterND. ◆ dim()
Inspect object properties Implements npstat::AbsPolyFilterND. ◆ filter() [1/2]
template<class ArrIn , class ArrOut >
This method performs the filtering ◆ filter() [2/2]
Get the filter for the given dimension ◆ getFilter()
Get the effective multivariate filter coefficients for the given grid point. Note that this operation is quite slow (it involves building a multivariate array using outer products of 1-d arrays) and should not be used when fast performance is essential. ◆ getFilterMatrix()
Get the complete effective filter matrix ◆ isCompatible()
template<class Array >
Check compatibility of an array with the filter ◆ linearSelfContribution()
Contribution of a single point into the density estimate using the linear index of the point Implements npstat::AbsPolyFilterND. ◆ selfContribution()
Contribution of a single point into the density estimate at that point (not normalized). This is needed for various leaving-one-out cross validation procedures. Implements npstat::AbsPolyFilterND. ◆ sparseFilterTriplets()
template<class Triplet >
Get the info needed to construct the sparse filter matrix The documentation for this class was generated from the following file: Generated by 1.9.1 |