npstat is hosted by Hepforge, IPPP Durham
NPStat  5.10.0
minuitLocalRegression.hh
Go to the documentation of this file.
1 #ifndef NPSI_MINUITLOCALREGRESSION_HH_
2 #define NPSI_MINUITLOCALREGRESSION_HH_
3 
4 /*!
5 // \file minuitLocalRegression.hh
6 //
7 // \brief Local logistic regression using Minuit as a minimization engine
8 //
9 // Author: I. Volobouev
10 //
11 // March 2010
12 */
13 
15 
16 namespace npsi {
17  //@{
18  /**
19  // High-level driver function for performing local logistic regression
20  // fits using Minuit2 as a minimization engine. It is assumed that the
21  // constant bandwidth is set up already, with the weight function which
22  // was used to create the orthogonal polynomials. The weight function is
23  // assumed to be symmetric in each dimension.
24  */
25  template <class Point, class Numeric, class BooleanFunctor,
26  typename Num2, unsigned StackLen2, unsigned StackDim2>
29  const unsigned maxdeg, npstat::ArrayND<Num2,StackLen2,StackDim2>* result,
30  const npstat::BoxND<Numeric>& resultBox, unsigned reportProgressEvery = 0);
31 
32 
33  template <typename Numeric, unsigned StackLen, unsigned StackDim,
34  typename Num2, unsigned StackLen2, unsigned StackDim2>
35  void minuitLogisticRegressionOnGrid(
37  const unsigned maxdeg, npstat::ArrayND<Num2,StackLen2,StackDim2>* result,
38  unsigned reportProgressEvery = 0);
39  //@}
40 }
41 
42 #include "npstat/interfaces/minuitLocalRegression.icc"
43 
44 #endif // NPSI_MINUITLOCALREGRESSION_HH_
Facilities for performing local linear and quadratic logistic regression.
Definition: ArrayND.hh:93
Definition: LocalLogisticRegression.hh:196
Definition: LocalLogisticRegression.hh:140
Definition: fitCompositeJohnson.hh:16
void minuitUnbinnedLogisticRegression(npstat::LogisticRegressionOnKDTree< Point, Numeric, BooleanFunctor > &reg, const unsigned maxdeg, npstat::ArrayND< Num2, StackLen2, StackDim2 > *result, const npstat::BoxND< Numeric > &resultBox, unsigned reportProgressEvery=0)
Definition: BoxND.hh:25