Changeset 9039:fe5503756953 in orange


Ignore:
Timestamp:
09/28/11 13:26:30 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
fd93350386367473f461ca5014942d7b98d2fe75
Message:

Fixed an error in svm_save_model_alt function when saving a model with precomputed kernel.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • source/orange/libsvm_interface.cpp

    r9021 r9039  
    116116 
    117117        if(param.kernel_type == PRECOMPUTED) 
    118             stream << (int)(p->value) << " "; 
     118            stream << "0:" << (int)(p->value) << " "; 
    119119        else 
    120120            while(p->index != -1) 
Note: See TracChangeset for help on using the changeset viewer.