Ignore:
Timestamp:
Sep 5, 2006, 10:31:04 AM (15 years ago)
Author:
Peter
Message:

fixes #125 removing obsolete function and cleaning in Kernel classes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/c++_tools/classifier/Kernel_SEV.h

    r628 r629  
    5757
    5858    ///
    59     /// Calculates the scalar product using the KernelFunction between
    60     /// data vector @a vec and column \f$ i \f$ in data matrix.
    61     ///
    62     /// @return kernel element between data @a vec and training sample @a i
    63     ///
    64     double element(const DataLookup1D& vec, const size_t i) const;
    65 
    66     ///
    67     /// Using the KernelFunction this function calculates the scalar
    68     /// product between vector @a vec and the column \f$ i \f$ in data
    69     /// matrix. The KernelFunction expects a weight vector for each of
    70     /// the two data vectors and as this Kernel is non-weighted each
    71     /// value in the data matrix is associated to a unity weight.
    72     ///
    73     /// @return weighted kernel element between data @a vec and
    74     /// training sample @a i
    75     ///
    76     double element(const DataLookup1D& vec, const DataLookup1D& w,
    77                    const size_t i) const;
    78 
    79     ///
    8059    /// @todo remove this function
    8160    ///
    8261    const Kernel* selected(const std::vector<size_t>& index) const;
    83 
    84     ///
    85     /// @return false
    86     ///
    87     inline bool weighted(void) const { return false; }
    8862
    8963  private:
Note: See TracChangeset for help on using the changeset viewer.