Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/data/discretization.py

    r11576 r11586  
    11import Orange 
    22 
    3 from Orange.core import\ 
    4     EquiNDiscretization as EqualFreq,\ 
    5     EquiDistDiscretization as EqualWidth,\ 
    6     EntropyDiscretization as Entropy,\ 
    7     BiModalDiscretization as BiModal,\ 
    8     Preprocessor_discretize 
    9  
     3from Orange.core import Preprocessor_discretize 
    104 
    115class DiscretizeTable(object): 
     
    3125    """ 
    3226    def __new__(cls, data=None, features=None, discretize_class=False, 
    33                 method=EqualFreq(n=3), clean=True): 
     27                method=Orange.feature.discretization.EqualFreq(n=3), clean=True): 
    3428        if data is None: 
    3529            self = object.__new__(cls) 
     
    4135 
    4236    def __init__(self, features=None, discretize_class=False, 
    43                  method=EqualFreq(n=3), clean=True): 
     37                 method=Orange.feature.discretization.EqualFreq(n=3), clean=True): 
    4438        self.features = features 
    4539        self.discretize_class = discretize_class 
Note: See TracChangeset for help on using the changeset viewer.