Changeset 1162
- Timestamp:
- Feb 26, 2008, 5:24:11 PM (16 years ago)
- Location:
- trunk/yat/classifier
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/yat/classifier/KNN.h
r1160 r1162 233 233 data_mlw_=0; 234 234 target_=⌖ 235 trained_=true;236 235 } 237 236 … … 249 248 data_mlw_=&data; 250 249 target_=⌖ 251 trained_=true;252 250 } 253 251 -
trunk/yat/classifier/NBC.cc
r1160 r1162 85 85 } 86 86 } 87 trained_=true;88 87 } 89 88 … … 116 115 } 117 116 } 118 trained_=true;119 117 } 120 118 -
trunk/yat/classifier/NCC.h
r1160 r1162 178 178 } 179 179 } 180 trained_=true;181 180 } 182 181 … … 200 199 } 201 200 } 202 trained_=true;203 201 } 204 202 -
trunk/yat/classifier/SupervisedClassifier.cc
r1157 r1162 31 31 32 32 SupervisedClassifier::SupervisedClassifier() 33 : trained_(false)34 33 { 35 34 } -
trunk/yat/classifier/SupervisedClassifier.h
r1160 r1162 96 96 virtual void train(const MatrixLookupWeighted&, const Target&)=0; 97 97 98 99 protected:100 101 /// true if classifier successfully trained102 bool trained_;103 104 98 }; 105 99
Note: See TracChangeset
for help on using the changeset viewer.