Changeset 10639:b80b09cd23e3 in orange


Ignore:
Timestamp:
03/26/12 13:58:47 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed an error in get_linear_svm_weights.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/classification/svm/__init__.py

    r10638 r10639  
    821821                w = {} 
    822822                 
    823                 for alpha, sv_ind in bin_classifier.coef[0]: 
     823                for coef, sv_ind in bin_classifier.coef[0]: 
    824824                    SV = SVs[sv_ind] 
    825825                    attributes = SVs.domain.attributes + \ 
Note: See TracChangeset for help on using the changeset viewer.