Ignore:
Timestamp:
02/06/12 20:26:48 (2 years ago)
Author:
blaz <blaz.zupan@…>
Branch:
default
rebase_source:
7f164e746105099843c0c8afb5a4a2a73dcbd9d8
Message:

n_intervals -> n

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/feature/discretization.py

    r9813 r9855  
    142142    :type method: :class:`Discretization` 
    143143    """ 
    144     def __new__(cls, data=None, features=None, discretize_class=False, method=EqualFreq(n_intervals=3)): 
     144    def __new__(cls, data=None, features=None, discretize_class=False, method=EqualFreq(n=3)): 
    145145        if data is None: 
    146146            self = object.__new__(cls, features=features, discretize_class=discretize_class, method=method) 
     
    150150            return self(data) 
    151151 
    152     def __init__(self, features=None, discretize_class=False, method=EqualFreq(n_intervals=3)): 
     152    def __init__(self, features=None, discretize_class=False, method=EqualFreq(n=3)): 
    153153        self.features = features 
    154154        self.discretize_class = discretize_class 
Note: See TracChangeset for help on using the changeset viewer.