Changeset 322
 Timestamp:
 May 26, 2005, 10:50:05 PM (18 years ago)
 Location:
 trunk/lib/svm
 Files:

 2 edited
Legend:
 Unmodified
 Added
 Removed

trunk/lib/svm/Kernel_MEV.h
r307 r322 12 12 13 13 /// 14 /// @brief Memory Efficient Kernel 14 15 /// Class taking care of the \f$NxN\f$ kernel matrix, where 15 16 /// \f$N\f$ is number of samples. Type of Kernel is defined by a 16 /// KernelFunction. This Memory Efficient Version s (SEV) does not17 /// KernelFunction. This Memory Efficient Version (MEV) does not 17 18 /// store the kernel matrix in memory, but calculates each element 18 /// when it is needed. 19 /// when it is needed. When memory allows do always use Kernel_SEV 20 /// instead. 19 21 /// 20 22 /// @see also Kernel_SEV … … 35 37 36 38 /// 39 /// @todo 37 40 /// Constructor taking the \a data matrix, the KernelFunction and a 38 41 /// \a weight matrix as input. Each column in the data matrix 39 42 /// corresponds to one sample. 40 /// @todo41 43 Kernel_MEV(const gslapi::matrix& data, const KernelFunction&, 42 44 const gslapi::matrix& weight); … … 51 53 /// matrix 52 54 /// 53 virtual double operator()( size_t row,size_t column) const;55 virtual double operator()(const size_t row,const size_t column) const; 54 56 55 57 /// 
trunk/lib/svm/Kernel_SEV.h
r307 r322 14 14 15 15 /// 16 /// @brief Speed Efficient Kernel 16 17 /// Class taking care of the \f$NxN\f$ kernel matrix, where 17 18 /// \f$N\f$ is number of samples. Type of Kernel is defined by a 18 /// KernelFunction. This Speed Efficient Versions (SEV) calculated 19 /// the kernel matrix once and the kernel is stored in memory. 19 /// KernelFunction. This Speed Efficient Version (SEV) calculated 20 /// the kernel matrix once and the kernel is stored in 21 /// memory. When \f$N\f$ is large and the kernel matrix cannot be 22 /// stored in memory, use Kernel_MEV instead. 20 23 /// 21 24 /// @see also Kernel_MEV … … 32 35 Kernel_SEV(const gslapi::matrix&, const KernelFunction&); 33 36 37 /// 38 /// @todo 39 /// Copy constructor 40 /// 34 41 Kernel_SEV(const Kernel_SEV&); 35 42 … … 40 47 41 48 /// 42 /// @return element at position (\a row, \a column) ofthe Kernel49 /// @return element at position (\a row, \a column) in the Kernel 43 50 /// matrix 44 51 /// 45 inline double operator()( size_t row,size_t column) const52 inline double operator()(const size_t row,const size_t column) const 46 53 { return kernel_(row,column); } 47 54
Note: See TracChangeset
for help on using the changeset viewer.