Changeset 281


Ignore:
Timestamp:
Apr 20, 2005, 6:45:02 PM (18 years ago)
Author:
Peter
Message:

added TriCube? kernel for Regression

Location:
trunk
Files:
2 added
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Makefile.am

    r262 r281  
    1414  NNI.cc PCA.cc PolynomialKernelFunction.cc random_singleton.cc     \
    1515  Regression.cc RegressionKernel.cc RegressionKernelBox.cc          \
     16  RegressionKernelTriCube.cc  \
    1617  RegressionLinear.cc RegressionLocal.cc RegressionNaive.cc ROC.cc  \
    1718  Score.cc Statistics.cc stl_utility.cc SVD.cc SVM.cc tScore.cc \
     
    2829  Merge.h NNI.h PCA.h Pearson.h PolynomialKernelFunction.h            \
    2930  random_singleton.h Regression.h RegressionKernel.h                  \
    30   RegressionKernelBox.h RegressionLinear.h RegressionLocal.h          \
     31  RegressionKernelBox.h RegressionKernelTriCube.h RegressionLinear.h \
     32  RegressionLocal.h         \
    3133  RegressionNaive.h ROC.h Score.h Statistics.h stl_utility.h SVD.h    \
    3234  SVM.h tScore.h vector.h WeightedAverager.h WeNNI.h
  • trunk/src/RegressionKernel.h

    r216 r281  
    88
    99  ///
    10   /// Virtual class for calculating the weights in Local Regression
     10  /// Virtual class for calculating the weights in RegressionLocal
    1111  ///
    1212
  • trunk/src/RegressionLocal.cc

    r280 r281  
    7878      gslapi::vector w(nof_points);
    7979      for (size_t j=0; j<y.size(); j++)
    80         w(j) = kernel_->weight( (x(j)-(data_[min_index].first+
    81                                        data_[min_index+nof_points-1].first) /2)
     80        w(j) = kernel_->weight( (x(j)- (data_[min_index].first +
     81                                        data_[min_index+nof_points-1].first) /2)
    8282                                /width );
    8383     
  • trunk/todo.txt

    r277 r281  
    22/// File with items to do. Line should start with class:
    33///
    4 RegressionKernelTriCube: Create
Note: See TracChangeset for help on using the changeset viewer.