Changeset 207
- Timestamp:
- Nov 2, 2004, 8:26:44 PM (19 years ago)
- Location:
- trunk/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/Makefile.am
r205 r207 17 17 Score.cc Statistics.cc \ 18 18 PolynomialKernelFunction.cc random_singleton.cc \ 19 RegressionKernel.cc RegressionLinear.cc ROC.cc Score.cc Statistics.cc \ 19 Regression.cc RegressionKernel.cc RegressionLinear.cc ROC.cc Score.cc \ 20 Statistics.cc \ 20 21 SVD.cc SVM.cc tScore.cc vector.cc WeightedAverager.cc WeNNI.cc 21 22 … … 33 34 Regression.h RegressionLinear.h RegressionLocal.h RegressionNaive.h \ 34 35 ROC.h Score.h \ 35 PolynomialKernelFunction.h random_singleton.h \36 PolynomialKernelFunction.h random_singleton.h Regression.h \ 36 37 RegressionKernel.h RegressionLinear.h ROC.h Score.h \ 37 38 Statistics.h stl_utility.h SVD.h SVM.h tScore.h vector.h WeNNI.h \ -
trunk/src/Regression.h
r206 r207 10 10 // Standard C++ includes 11 11 //////////////////////// 12 //#include <gsl/gsl_fit.h> 12 13 13 14 14 namespace theplu { 15 15 namespace statistics { 16 16 17 class gslapi::vector;18 17 19 18 /// … … 28 27 /// Default Constructor. 29 28 /// 30 Regression( void);29 Regression(); 31 30 32 31 /// -
trunk/src/RegressionLinear.h
r204 r207 51 51 &cov00_, &cov01_, &cov11_, &sumsq_); } 52 52 53 inline double k(void) const { return k_; } 54 inline double m(void) const { return m_; } 55 56 53 57 /// 54 58 /// This function computes the best-fit linear regression … … 58 62 /// \f$ y_i \f$ 59 63 /// 60 inline int fit_weighted( gslapi::vector& x,gslapi::vector& y,61 gslapi::vector& w)64 inline int fit_weighted(const gslapi::vector& x, const gslapi::vector& y, 65 const gslapi::vector& w) 62 66 { return gsl_fit_wlinear_vector(x.gsl_vector_pointer(), 63 67 w.gsl_vector_pointer(),
Note: See TracChangeset
for help on using the changeset viewer.