Changeset 3626:2518d84e0ad5 in orange


Ignore:
Timestamp:
04/30/07 17:53:32 (7 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
f576e902fe3178516fe8b144d7dfc04372a92aad
Message:
  • checks whether the constructed model contains any support vectors
File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/svm.cpp

    r3605 r3626  
    35813581    model=svm_train(&prob,&param); 
    35823582 
     3583  if (!model->nSV) { 
     3584    svm_destroy_model(model); 
     3585    if (x_space) 
     3586      free(x_space); 
     3587      raiseError("LibSVM returned no support vectors"); 
     3588  } 
     3589   
    35833590    //cout<<"end training"<<endl; 
    35843591    svm_destroy_param(&param); 
Note: See TracChangeset for help on using the changeset viewer.