Changeset 706 for trunk/yat/classifier/SVM.h
- Timestamp:
- Dec 19, 2006, 9:59:19 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/classifier/SVM.h
r692 r706 92 92 /// @returns mean of vector \f$ C_i \f$ 93 93 /// 94 inline double C(void) const { return 1 /C_inverse_; }94 inline double C(void) const { return 1.0/C_inverse_; } 95 95 96 96 /// … … 139 139 140 140 /// 141 /// Function sets \f$ \alpha=0 \f$ and makes SVM untrained. 142 /// 143 inline void reset(void) 144 { trained_=false; alpha_=utility::vector(target_.size(),0); } 141 /// @brief Function sets \f$ \alpha=0 \f$ and makes SVM untrained. 142 /// 143 void reset(void); 145 144 146 145 ///
Note: See TracChangeset
for help on using the changeset viewer.