npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
npstat::AbsPolyFilter1D Struct Referenceabstract

#include <AbsPolyFilter1D.hh>

Inheritance diagram for npstat::AbsPolyFilter1D:
npstat::ConstantBandwidthSmoother1D npstat::ContribConstant1D npstat::ContribVector1D npstat::LocalPolyFilter1D npstat::DummyLocalPolyFilter1D

Public Member Functions

virtual unsigned dataLen () const =0
 
virtual double selfContribution (unsigned index) const =0
 

Detailed Description

Base class for LOrPE, etc. smoothers which can be later used with cross-validation algorithms. These algorithms usually work according to the "leaving-one-out" method, in which the contribution of one point into the density estimate must be subtracted. Therefore, this contribution must be known to begin with, and this is precisely the info this class is intended to convey.

Member Function Documentation

◆ dataLen()

virtual unsigned npstat::AbsPolyFilter1D::dataLen ( ) const
pure virtual

◆ selfContribution()

virtual double npstat::AbsPolyFilter1D::selfContribution ( unsigned  index) const
pure virtual

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.

Implemented in npstat::ConstantBandwidthSmoother1D, npstat::ContribConstant1D, npstat::LocalPolyFilter1D, and npstat::ContribVector1D.


The documentation for this struct was generated from the following file: