Changeset 1108
- Timestamp:
- Feb 19, 2008, 6:40:59 PM (16 years ago)
- Location:
- trunk/yat/classifier
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/classifier/SVM.cc
r1102 r1108 56 56 trained_(false) 57 57 { 58 } 59 60 61 SVM::SVM(const SVM& other) 62 : bias_(other.bias_), C_inverse_(other.C_inverse_), kernel_(NULL), 63 margin_(0), max_epochs_(other.max_epochs_), tolerance_(other.tolerance_), 64 trained_(other.trained_) 65 { 66 if (other.kernel_) 67 kernel_ = new KernelLookup(*other.kernel_); 58 68 } 59 69 -
trunk/yat/classifier/SVM.h
r1102 r1108 61 61 SVM(void); 62 62 63 /** 64 Copy constructor. 65 */ 66 SVM(const SVM&); 67 63 68 /// 64 69 /// Destructor … … 184 189 private: 185 190 /// 186 /// Copy constructor. (not implemented)187 ///188 SVM(const SVM&);189 190 ///191 191 /// Calculates bounds for alpha2 192 192 ///
Note: See TracChangeset
for help on using the changeset viewer.