source: trunk/src/RegressionLocal.h @ 206

Last change on this file since 206 was 206, checked in by Peter, 18 years ago

.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1// $Id: RegressionLocal.h 206 2004-11-02 18:31:09Z peter $
2
3#ifndef _theplu_statistics_regression_local_
4#define _theplu_statistics_regression_local_
5
6// C++ tools include
7/////////////////////
8#include "Regression.h"
9#include "RegressionKernel.h"
10#include "vector.h"
11
12// Standard C++ includes
13////////////////////////
14
15
16namespace theplu {
17namespace statistics { 
18 
19 
20  ///
21  /// Class for Locally-weighted regression.   
22  ///
23 
24  class RegressionLocal
25  {
26 
27  public:
28    ///
29    /// Default Constructor.
30    ///
31    RegressionLocal(void);
32
33    ///
34    /// Constructor doing the thing.
35    ///
36    RegressionLocal(const gslapi::vector& x, const gslapi::vector& y, 
37                    const Regression&, const RegressionKernel&);
38
39    ///
40    /// Copy Constructor. (Not implemented)
41    ///
42    RegressionLocal(const RegressionLocal&);
43
44    ///
45    /// Destructor
46    ///
47    virtual ~RegressionLocal(void) {};
48
49         
50  private:
51    gslapi::vector data_x_;
52    gslapi::vector data_y_;
53    const RegressionKernel* kernel_;
54    const Regression* regression_;
55    gslapi::vector estimated_x_;
56    gslapi::vector estimated_y_;
57   
58  };
59
60}} // of namespace statistics and namespace theplu
61
62#endif
63
Note: See TracBrowser for help on using the repository browser.