Ignore:
Timestamp:
02/28/12 19:25:51 (2 years ago)
Author:
Lan Zagar <lan.zagar@…>
Branch:
default
Message:

Fixed object addresses appearing in documentation (#1103).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/preprocess/__init__.py

    r10238 r10393  
    11""" 
    2 .. autoclass:: Preprocessor_discretizeEntropy 
     2.. autoclass:: Preprocessor_discretizeEntropy(method=Orange.feature.discretization.Entropy()) 
    33 
    44.. autoclass:: Preprocessor_removeContinuous 
     
    1010.. autoclass:: Preprocessor_impute 
    1111 
    12 .. autoclass:: Preprocessor_featureSelection 
     12.. autoclass:: Preprocessor_featureSelection(measure=Orange.feature.scoring.Relief(), filter=None, limit=10) 
    1313 
    1414.. autofunction:: bestP 
     
    156156 
    157157import orange 
     158import Orange 
    158159from Orange.misc import _orange__new__, _orange__reduce__ 
    159160 
     
    168169    __reduce__ = _orange__reduce__ 
    169170     
    170     def __init__(self, method=orange.EntropyDiscretization()): 
     171    def __init__(self, method=Orange.feature.discretization.Entropy()): 
    171172        self.method = method 
    172         assert(isinstance(method, orange.EntropyDiscretization)) 
     173        assert(isinstance(method, Orange.feature.discretization.Entropy)) 
    173174         
    174175    def __call__(self, data, wightId=0): 
     
    274275    bestP = staticmethod(bestP) 
    275276     
    276     def __init__(self, measure=orange.MeasureAttribute_relief(), filter=None, limit=10): 
     277    def __init__(self, measure=Orange.feature.scoring.Relief(), filter=None, limit=10): 
    277278        self.measure = measure 
    278279        self.filter = filter if filter is not None else self.bestN 
Note: See TracChangeset for help on using the changeset viewer.