STK++ 0.9.13
STK_AdditiveBSplineRegressionPage.h
Go to the documentation of this file.
1/*--------------------------------------------------------------------*/
2/* Copyright (C) 2004-2016 Serge Iovleff, Université Lille 1, Inria
3
4 This program is free software; you can redistribute it and/or modify
5 it under the terms of the GNU Lesser General Public License as
6 published by the Free Software Foundation; either version 2 of the
7 License, or (at your option) any later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 GNU Lesser General Public License for more details.
13
14 You should have received a copy of the GNU Lesser General Public
15 License along with this program; if not, write to the
16 Free Software Foundation, Inc.,
17 59 Temple Place,
18 Suite 330,
19 Boston, MA 02111-1307
20 USA
21
22 Contact : S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
23 */
24
25/*
26 * Project: stkpp::aam
27 * created on: 27 sept. 2010
28 * Purpose: Define the AdditiveBSplineRegressionPage.
29 * Author: iovleff, S..._Dot_I..._At_stkpp_Dot_org (see copyright for ...)
30 *
31 **/
32
37#ifndef STK_ADDITIVEBSPLINEREGRESSIONPAGE_H
38#define STK_ADDITIVEBSPLINEREGRESSIONPAGE_H
39
42
43namespace STK
44{
60{
61 public:
72
76 inline int nbControlPoints() const { return nbControlPoints_;}
80 inline int degree() const { return degree_;}
85 { return position_;}
86
88 virtual bool validate();
89
93 inline virtual AdditiveBSplineRegressionPage* clone() const
94 { return new AdditiveBSplineRegressionPage(*this);}
95
96 protected:
103};
104
105} // namespace STK
106
107
108#endif /* STK_ADDITIVEBSPLINEREGRESSIONPAGE_H */
In this file we define the Interface base class IPage.
In this file we declare the utilities enumerations and methods for the Regress project.
In this Page, we manage the options for the computation of the Additive BSpline regression.
Regress::KnotsPosition position_
positions of the knots.
int nbControlPoints() const
number of control points
virtual AdditiveBSplineRegressionPage * clone() const
Create a copy of the AdditiveBSplineRegressionPage.
Regress::KnotsPosition const & knotsPositions() const
get the method for positioning the knots.
A IPage is an interface base class for reading and/or writing a page of option in a file.
Definition STK_IPage.h:94
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
KnotsPosition
Method to use for positioning the knots for BSpline basis.
The namespace STK is the main domain space of the Statistical ToolKit project.