# Changeset 963 for trunk/yat

Ignore:
Timestamp:
Oct 10, 2007, 11:04:52 PM (14 years ago)
Message:

fixes #268. SVM throws if when train() fails

Location:
trunk/yat/classifier
Files:
2 edited

Unmodified
Added
Removed
• ## trunk/yat/classifier/NBC.cc

 r961 #include #include #include #include
• ## trunk/yat/classifier/SVM.h

 r865 /// /// Default is max_epochs set to 10,000,000. /// Default is max_epochs set to 100,000. /// /// @return number of maximal epochs @note If the training problem is not linearly separable and C is set to infinity, the minima will be located in the infinity, and thus the minumum will not be reached within the maximal and thus the minimum will not be reached within the maximal number of epochs. More exactly, when the problem is not linearly separable, there exists an eigenvector to \f\$ maximal number of epochs and the of \f\$ C \f\$ should be decreased. \throw if maximal number of epoch is reach. @return true if succesful
Note: See TracChangeset for help on using the changeset viewer.