Ignore:
Timestamp:
02/07/12 20:43:20 (2 years ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
Message:

Change logreg2 regression test to get rid of undeterministic SE calculation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/testing/regression/tests_20/modules_logreg2.py

    r9952 r9965  
    1111for ex in data[:5]: 
    1212    print ex.getclass(), lr(ex) 
    13      
    14 orngLR.printOUT(lr)  
     13 
     14out = [''] 
     15 
     16# get the longest attribute name 
     17longest=0 
     18for at in lr.continuized_domain.features: 
     19    if len(at.name)>longest: 
     20        longest=len(at.name) 
     21 
     22# print out the head 
     23for i in range(len(lr.continuized_domain.features)): 
     24    print lr.continuized_domain.features[i].name, lr.beta[i+1] 
Note: See TracChangeset for help on using the changeset viewer.