npstat::QuantileRegressionOnKDTree< Point, Numeric > Class Template Reference
Inheritance diagram for npstat::QuantileRegressionOnKDTree< Point, Numeric >:
Detailed Descriptiontemplate<class Point, class Numeric>
|
npstat::QuantileRegressionOnKDTree< Point, Numeric >::QuantileRegressionOnKDTree | ( | const KDTree< Point, Numeric > & | dataTree, |
const Functor1< double, Point > & | regressedValue, | ||
const QuadraticOrthoPolyND & | poly, | ||
double | quantile | ||
) |
Constructor arguments are as follows:
dataTree – the tree of data points.
regressedValue – a functor that provides the observed value for the given input point. Typically, this value will be just one of the Point coordinates not used in k-d tree construction.
poly – the set of orthogonal polynomials used to construct the local regression surface.
quantile – the target quantile (between 0.0 and 1.0).
This object will not own "dataTree", "regressedValue", or "poly" objects. These objects must still exist when the QuantileRegressionOnKDTree object is in use.
|
inlinevirtual |
Method from AbsVisitor that we have to implement
Implements npstat::AbsVisitor< Point, double >.
|
inline |
Examine the data
|
virtual |
Process one array point
Implements npstat::AbsVisitor< Point, double >.
Reimplemented in npstat::CensoredQuantileRegressionOnKDTree< Point, Numeric >.
|
inlinevirtual |
Return the result at the end of array processing
Implements npstat::AbsVisitor< Point, double >.