Changeset 629 for trunk/c++_tools/classifier/Kernel_SEV.h
 Timestamp:
 Sep 5, 2006, 10:31:04 AM (15 years ago)
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

trunk/c++_tools/classifier/Kernel_SEV.h
r628 r629 57 57 58 58 /// 59 /// Calculates the scalar product using the KernelFunction between60 /// 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 i63 ///64 double element(const DataLookup1D& vec, const size_t i) const;65 66 ///67 /// Using the KernelFunction this function calculates the scalar68 /// product between vector @a vec and the column \f$ i \f$ in data69 /// matrix. The KernelFunction expects a weight vector for each of70 /// the two data vectors and as this Kernel is nonweighted each71 /// value in the data matrix is associated to a unity weight.72 ///73 /// @return weighted kernel element between data @a vec and74 /// training sample @a i75 ///76 double element(const DataLookup1D& vec, const DataLookup1D& w,77 const size_t i) const;78 79 ///80 59 /// @todo remove this function 81 60 /// 82 61 const Kernel* selected(const std::vector<size_t>& index) const; 83 84 ///85 /// @return false86 ///87 inline bool weighted(void) const { return false; }88 62 89 63 private:
Note: See TracChangeset
for help on using the changeset viewer.