Changeset 7542:c5f2942aa32e in orange


Ignore:
Timestamp:
02/04/11 21:32:54 (3 years ago)
Author:
janezd <janez.demsar@…>
Branch:
default
Convert:
8dbda7b70f8de77e5a4ea4c703970a903bc3ab8c
Message:

Renamed Orange.probability to Orange.statistics at other places

Location:
orange
Files:
1 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/__init__.py

    r7520 r7542  
    1919import stat 
    2020 
    21 import probability 
    22 import probability.estimate 
    23 import probability.distributions 
    24 import probability.evd 
     21import statistics 
     22import statistics.estimate 
     23import statistics.distributions 
     24import statistics.evd 
    2525 
    2626import classification 
  • orange/Orange/feature/scoring.py

    r7488 r7542  
    8585    :obj:`NeedsContingency_Class`. The first need an instance generator 
    8686    (Relief is an example of such measure), the second can compute the quality 
    87     from :obj:`Orange.probability.distributions.DomainContingency` and the 
     87    from :obj:`Orange.statistics.distributions.DomainContingency` and the 
    8888    latter only needs the contingency 
    89     (:obj:`Orange.probability.distributions.ContingencyAttrClass`) the  
     89    (:obj:`Orange.statistics.distributions.ContingencyAttrClass`) the  
    9090    feature distribution and the apriori class distribution. Most measures 
    9191    only need the latter. 
     
    152152        Data is given either as examples (and, optionally, id for  
    153153        meta-feature with weight), domain contingency 
    154         (:obj:`Orange.probability.distributions.DomainContingency`) (a list of 
    155         contingencies) or distribution (:obj:`Orange.probability.distributions`) 
    156         matrix and :obj:`Orange.probability.distributions.Distribution`. If  
     154        (:obj:`Orange.statistics.distributions.DomainContingency`) (a list of 
     155        contingencies) or distribution (:obj:`Orange.statistics.distributions`) 
     156        matrix and :obj:`Orange.statistics.distributions.Distribution`. If  
    157157        you use the latter form, what you should give as the class distribution 
    158158        depends upon what you do with unknown values (if there are any). 
  • orange/Orange/statistics/distributions.py

    r7536 r7542  
    162162Here's what all contingency matrices share in common. 
    163163 
    164 .. class:: Orange.probability.distribution.Contingency 
     164.. class:: Orange.statistics.distribution.Contingency 
    165165 
    166166    The base class is, once for a change, not abstract. Its constructor expects 
     
    241241Other methods 
    242242 
    243 .. class:: Orange.probability.distributions.Contingency 
     243.. class:: Orange.statistics.distributions.Contingency 
    244244 
    245245    .. method:: add(outer_value, inner_value[, weight]) 
     
    278278and updates innerDistribution and outerDistribution.  
    279279 
    280 .. class:: Orange.probability.distribution.ContingencyClass 
     280.. class:: Orange.statistics.distribution.ContingencyClass 
    281281 
    282282    ContingencyClass is an abstract base class for contingency matrices 
     
    317317 
    318318 
    319 .. class:: Orange.probability.distribution.ContingencyClass 
     319.. class:: Orange.statistics.distribution.ContingencyClass 
    320320 
    321321    ContingencyAttrClass is derived from ContingencyClass. 
     
    421421 
    422422 
    423 .. class:: Orange.probability.distribution.ContingencyClassAttr 
     423.. class:: Orange.statistics.distribution.ContingencyClassAttr 
    424424 
    425425    ContingencyClassAttr is similar to ContingencyAttrClass except that here 
     
    498498     
    499499 
    500 .. class:: Orange.probability.distribution.ContingencyAttrAttr 
     500.. class:: Orange.statistics.distribution.ContingencyAttrAttr 
    501501 
    502502    ContingencyAttrAttr stores contingency matrices in which none 
Note: See TracChangeset for help on using the changeset viewer.