Changeset 7646:5e2669eed793 in orange


Ignore:
Timestamp:
02/10/11 17:39:21 (3 years ago)
Author:
ales_erjavec <ales.erjavec@…>
Branch:
default
Convert:
58c5f2444eb319e63190f8a4c295321fe4c87fff
Message:
  • fixed discretization in EntropyDiscretization_wrapper
File:
1 edited

Legend:

Unmodified
Added
Removed
  • orange/Orange/feature/discretization.py

    r7549 r7646  
    160160    def __call__(self, data, weight=None): 
    161161        # filter the data and then learn 
    162         ddata = self.discretizer(data) 
     162        from Orange.preprocess import Preprocessor_discretize 
     163        ddata = Preprocessor_discretize(data, method=self.discretizer) 
    163164        if weight<>None: 
    164165            model = self.baseLearner(ddata, weight) 
Note: See TracChangeset for help on using the changeset viewer.