Changeset 7536:b9c87bb0570f in orange


Ignore:
Timestamp:
02/04/11 21:19:15 (3 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
87b6ad16424f89677aa68675120393a792be0a71
Message:

Minor improvements w.r.t. a couple of warnings.

Location:
orange
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/statistics/distributions.py

    r7530 r7536  
    204204Contingency matrix is a cross between dictionary and a list. 
    205205It supports standard dictionary methods keys, values and items.:: 
     206 
    206207    >> print cont.keys() 
    207208    ['1', '2', '3', '4'] 
     
    255256           print val, dist 
    256257 
    257 The ouput: :: 
     258This outputs: :: 
    258259 
    259260    1 <0.000, 1.000> 
     
    270271and haven't computed innerDistribution and outerDistribution. 
    271272The better way to do it is by using the method add, so that the loop becomes: :: 
     273 
    272274    for ins in table: 
    273275        cont.add(ins["e"], ins.getclass())  
     
    412414 
    413415.. _distributions-contingency3.py: code/distributions-contingency3.py 
     416 
    414417part of `distributions-contingency3.py`_ (uses monks-1.tab) 
    415418 
  • orange/doc/Orange/rst/Orange.probability.distributions.rst

    r7307 r7536  
    1 ========================== 
     1================================ 
    22Orange.probability.distributions 
    3 ========================== 
     3================================ 
    44 
    55.. automodule:: Orange.probability.distributions 
  • orange/fixes/fix_changed_names.py

    r7516 r7536  
    3838           
    3939           "orange.MeasureAttribute": "Orange.feature.scoring.Measure",  
     40           "orange.BasicAttrStat": "Orange.statistics.distributions.BasicStatistics", 
     41           "orange.DomainBasicAttrStat": "Orange.statistics.distributions.DomainBasicStatistics", 
     42           "orange.ContingencyAttrAttr": "Orange.statistics.distributions.ContingencyVarVar", 
     43           "orange.ContingencyClass": "Orange.statistics.distributions.ContingencyClass", 
     44           "orange.ContingencyAttrClass": "Orange.statistics.distributions.ContingencyVarClass", 
     45           "orange.ContingencyClassAttr": "Orange.statistics.distributions.ContingencyClassVar", 
     46            
    4047           "orange.MeasureAttribute_gainRatio": "Orange.feature.scoring.GainRatio", 
    4148           "orange.MeasureAttribute_relief": "Orange.feature.scoring.Relief", 
Note: See TracChangeset for help on using the changeset viewer.