Changeset 9875:d07bba5ba88b in orange


Ignore:
Timestamp:
02/06/12 22:17:27 (2 years ago)
Author:
Matija Polajnar <matija.polajnar@…>
Branch:
default
rebase_source:
6b5cff403f19f88357473558d1866e14cb80342a
Message:

Revert incorrect lanumek's commit which reverted to an old version of those files (along with making some useful changes which I have incorporated).

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • Orange/testing/regression/results_orange25/reliability-long.py.txt

    r9854 r9875  
    55SAbias absolute        0.095   0.352 
    66LCV absolute           0.069   0.504 
    7 BVCK_absolute          0.060   0.562 
    8 BAGV absolute          0.078   0.448 
     7BVCK_absolute          0.058   0.574 
     8BAGV absolute            nan     nan 
    99CNK signed             0.233   0.021 
    1010CNK absolute           0.058   0.574 
  • Orange/testing/regression/results_orange25/reliability-run.py.txt

    r9854 r9875  
    1 SAvar absolute 10.701260376 
    2 SAbias signed -0.0246158599854 
    3 SAbias absolute 0.0246158599854 
    4 LCV absolute 5.16450013273 
    5 BVCK_absolute 0.0697603345819 
    6 BAGV absolute 0.0221634151355 
    7 CNK signed -0.117357254028 
    8 CNK absolute 0.117357254028 
    9 Mahalanobis absolute 5.70795369148 
    10 Mahalanobis to center 2.74633686492 
     1Instance 0 
     2   SAvar absolute 10.701260376 
     3   SAbias signed -0.0246158599854 
     4   SAbias absolute 0.0246158599854 
     5   LCV absolute 5.16450013273 
     6   BVCK_absolute 0.0586786270142 
     7   BAGV absolute 0.0 
     8   CNK signed -0.117357254028 
     9   CNK absolute 0.117357254028 
     10   Mahalanobis absolute 5.70795369148 
     11   Mahalanobis to center 2.74633686492 
     12Instance 1 
     13   SAvar absolute 10.7012599945 
     14   SAbias signed -0.0270875930786 
     15   SAbias absolute 0.0270875930786 
     16   LCV absolute 2.99310729294 
     17   BVCK_absolute 0.530257987976 
     18   BAGV absolute 0.0 
     19   CNK signed 1.06051597595 
     20   CNK absolute 1.06051597595 
     21   Mahalanobis absolute 4.45522534847 
     22   Mahalanobis to center 2.11993694001 
     23Instance 2 
     24   SAvar absolute 10.7012619019 
     25   SAbias signed -0.0769199371338 
     26   SAbias absolute 0.0769199371338 
     27   LCV absolute 4.46030248588 
     28   BVCK_absolute 0.803800964355 
     29   BAGV absolute 0.0 
     30   CNK signed -1.60760192871 
     31   CNK absolute 1.60760192871 
     32   Mahalanobis absolute 4.45998907089 
     33   Mahalanobis to center 2.20910797014 
     34Instance 3 
     35   SAvar absolute 10.7012609482 
     36   SAbias signed 0.00884370803833 
     37   SAbias absolute 0.00884370803833 
     38   LCV absolute 3.63051784733 
     39   BVCK_absolute 0.0919738769531 
     40   BAGV absolute 0.0 
     41   CNK signed 0.183947753906 
     42   CNK absolute 0.183947753906 
     43   Mahalanobis absolute 4.43703401089 
     44   Mahalanobis to center 2.66496913406 
     45Instance 4 
     46   SAvar absolute 10.701257515 
     47   SAbias signed 0.0423228263855 
     48   SAbias absolute 0.0423228263855 
     49   LCV absolute 3.32640218766 
     50   BVCK_absolute 0.561947059631 
     51   BAGV absolute 0.0 
     52   CNK signed 1.12389411926 
     53   CNK absolute 1.12389411926 
     54   Mahalanobis absolute 4.91473317146 
     55   Mahalanobis to center 2.69116657497 
     56Instance 5 
     57   SAvar absolute 10.7012573242 
     58   SAbias signed 0.273178482056 
     59   SAbias absolute 0.273178482056 
     60   LCV absolute 3.18996776229 
     61   BVCK_absolute 0.0291097640991 
     62   BAGV absolute 0.0 
     63   CNK signed 0.0582195281982 
     64   CNK absolute 0.0582195281982 
     65   Mahalanobis absolute 4.46615076065 
     66   Mahalanobis to center 2.58802566358 
     67Instance 6 
     68   SAvar absolute 10.7012595177 
     69   SAbias signed -0.101607465744 
     70   SAbias absolute 0.101607465744 
     71   LCV absolute 2.95812406923 
     72   BVCK_absolute 0.36095199585 
     73   BAGV absolute 0.0 
     74   CNK signed -0.721903991699 
     75   CNK absolute 0.721903991699 
     76   Mahalanobis absolute 4.64355945587 
     77   Mahalanobis to center 2.50879836044 
     78Instance 7 
     79   SAvar absolute 10.701257515 
     80   SAbias signed -0.133856678009 
     81   SAbias absolute 0.133856678009 
     82   LCV absolute 2.64825094326 
     83   BVCK_absolute 0.236968421936 
     84   BAGV absolute 0.0 
     85   CNK signed -0.473936843872 
     86   CNK absolute 0.473936843872 
     87   Mahalanobis absolute 3.15618926287 
     88   Mahalanobis to center 3.76633615153 
     89Instance 8 
     90   SAvar absolute 10.687993145 
     91   SAbias signed -0.0223073482513 
     92   SAbias absolute 0.0223073482513 
     93   LCV absolute 3.23505105569 
     94   BVCK_absolute 0.163931274414 
     95   BAGV absolute 0.0 
     96   CNK signed -0.327862548828 
     97   CNK absolute 0.327862548828 
     98   Mahalanobis absolute 6.07192790508 
     99   Mahalanobis to center 5.21631597918 
     100Instance 9 
     101   SAvar absolute 10.7012593269 
     102   SAbias signed 0.0480660915375 
     103   SAbias absolute 0.0480660915375 
     104   LCV absolute 3.09854127044 
     105   BVCK_absolute 0.265921974182 
     106   BAGV absolute 0.0 
     107   CNK signed -0.531843948364 
     108   CNK absolute 0.531843948364 
     109   Mahalanobis absolute 4.02153724432 
     110   Mahalanobis to center 3.93183348061 
  • docs/reference/rst/code/reliability-basic.py

    r9823 r9875  
     1# Description: Reliability estimation - basic & fast 
     2# Category:    evaluation 
     3# Uses:        housing 
     4# Referenced:  Orange.evaluation.reliability 
     5# Classes:     Orange.evaluation.reliability.Mahalanobis, Orange.evaluation.reliability.LocalCrossValidation, Orange.evaluation.reliability.Learner 
     6 
    17import Orange 
    28 
  • docs/reference/rst/code/reliability-long.py

    r9823 r9875  
     1# Description: Reliability estimation 
     2# Category:    evaluation 
     3# Uses:        prostate 
     4# Referenced:  Orange.evaluation.reliability 
     5# Classes:     Orange.evaluation.reliability.Learner 
     6 
    17import Orange 
     8Orange.evaluation.reliability.select_with_repeat.random_generator = None 
     9Orange.evaluation.reliability.select_with_repeat.randseed = 42 
    210 
     11import Orange 
    312prostate = Orange.data.Table("prostate.tab") 
    413 
     
    1322print "Estimate               r       p" 
    1423for estimate in reliability_res: 
    15     print "%-20s %7.3f %7.3f" % (Orange.evaluation.reliability.METHOD_NAME[estimate[3]], \ 
     24    print "%-20s %7.3f %7.3f" % (Orange.evaluation.reliability.METHOD_NAME[estimate[3]], 
    1625                                 estimate[0], estimate[1]) 
    1726 
     
    2534print "Estimate               r       p" 
    2635for estimate in reliability_res: 
    27     print "%-20s %7.3f %7.3f" % (Orange.evaluation.reliability.METHOD_NAME[estimate[3]], \ 
     36    print "%-20s %7.3f %7.3f" % (Orange.evaluation.reliability.METHOD_NAME[estimate[3]], 
    2837                                 estimate[0], estimate[1]) 
    2938 
  • docs/reference/rst/code/reliability-run.py

    r9823 r9875  
     1# Description: Reliability estimation with cross-validation 
     2# Category:    evaluation 
     3# Uses:        housing 
     4# Referenced:  Orange.evaluation.reliability 
     5# Classes:     Orange.evaluation.reliability.Learner 
     6 
     7import Orange 
     8Orange.evaluation.reliability.select_with_repeat.random_generator = None 
     9Orange.evaluation.reliability.select_with_repeat.randseed = 42 
     10 
    111import Orange 
    212housing = Orange.data.Table("housing.tab") 
     
    717results = Orange.evaluation.testing.cross_validation([reliability], housing) 
    818 
    9 for estimate in results.results[0].probabilities[0].reliability_estimate: 
    10     print estimate.method_name, estimate.estimate 
     19for i, instance in enumerate(results.results[:10]): 
     20    print "Instance", i 
     21    for estimate in instance.probabilities[0].reliability_estimate: 
     22        print "  ", estimate.method_name, estimate.estimate 
Note: See TracChangeset for help on using the changeset viewer.