Changeset 3673:132f6bb01437 in orange


Ignore:
Timestamp:
05/21/07 11:18:06 (7 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
48fe930bfbe657b0c60a412403955e685d3fa78d
Message:

Changed TSVMClassifier.nSV from FloatList to IntList

Location:
source/orange
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • source/orange/svm.cpp

    r3666 r3673  
    36923692    int svm_type=model->param.svm_type; 
    36933693    if (svm_type==C_SVC || svm_type==NU_SVC){ 
    3694         nSV=mlnew TFloatList(nr_class); // num of SVs for each class (sum = model->l) 
     3694        nSV=mlnew TIntList(nr_class); // num of SVs for each class (sum = model->l) 
    36953695        for(i=0;i<nr_class;i++) 
    36963696            nSV->at(i)=model->nSV[i]; 
  • source/orange/svm.hpp

    r3662 r3673  
    218218    PFloatList getDecisionValues(const TExample &); 
    219219 
    220     PFloatList nSV; //PR nSV 
     220    PIntList nSV; //PR nSV 
    221221    PFloatList rho; //PR rho 
    222222    PFloatListList coef; //PR coef 
Note: See TracChangeset for help on using the changeset viewer.