Ignore:
Timestamp:
Feb 18, 2006, 5:02:43 PM (16 years ago)
Author:
Peter
Message:

added kernels using weights

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/classifier/Kernel_MEV.h

    r512 r513  
    3737
    3838    ///
    39     ///   @todo Constructor taking the \a data matrix, the KernelFunction and a
     39    ///   Constructor taking the \a data matrix, the KernelFunction and a
    4040    ///   \a weight matrix as input. Each column in the data matrix
    4141    ///   corresponds to one sample.
    42     Kernel_MEV(const gslapi::matrix& data, const KernelFunction&,
    43                const gslapi::matrix& weight);
    44 
    45     ///
    46     /// Copy constructor (not implemented)
    47     ///
    48     Kernel_MEV(const Kernel_MEV&);
     42    inline Kernel_MEV(const gslapi::matrix& data, const KernelFunction& kf,
     43                      const gslapi::matrix& weight)
     44    : Kernel(data,kf,weight) {}
    4945
    5046    ///
     
    6157                      gslapi::vector(data_,column,false)); }
    6258
     59  private:
    6360    ///
    64     /// @brief number of samples
     61    /// Copy constructor (not implemented)
    6562    ///
    66     inline size_t size(void) const { return data_.columns(); }
    67 
    68   private:
     63    Kernel_MEV(const Kernel_MEV&);
    6964
    7065  }; // class Kernel_MEV
Note: See TracChangeset for help on using the changeset viewer.