Ignore:
Timestamp:
03/29/12 13:52:14 (2 years ago)
Author:
Ales Erjavec <ales.erjavec@…>
Branch:
default
Message:

Fixed the use of 'has_discrete_attributes'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • Orange/classification/logreg.py

    r10677 r10684  
    10471047            raise TypeError("Can only learn a discrete class.") 
    10481048 
    1049         if data.domain.has_discrete_attributes() or self.normalization: 
     1049        if data.domain.has_discrete_attributes(False) or self.normalization: 
    10501050            dc = Orange.data.continuization.DomainContinuizer() 
    10511051            dc.multinomial_treatment = dc.NValues 
Note: See TracChangeset for help on using the changeset viewer.