@@ -191,13 +191,14 @@ def __repr__(self):
191191class ContinuizeEditor (BaseEditor ):
192192 _Type = type (Continuize .FirstAsBase )
193193
194- Continuizers = OrderedDict ({
195- Continuize .FrequentAsBase : "Most frequent is base" ,
196- Continuize .Indicators : "One attribute per value" ,
197- Continuize .RemoveMultinomial : "Remove multinomial attributes" ,
198- Continuize .Remove : "Remove all discrete attributes" ,
199- Continuize .AsOrdinal : "Treat as ordinal" ,
200- Continuize .AsNormalizedOrdinal : "Divide by number of values" })
194+ Continuizers = OrderedDict ([
195+ (Continuize .FrequentAsBase , "Most frequent is base" ),
196+ (Continuize .Indicators , "One attribute per value" ),
197+ (Continuize .RemoveMultinomial , "Remove multinomial attributes" ),
198+ (Continuize .Remove , "Remove all discrete attributes" ),
199+ (Continuize .AsOrdinal , "Treat as ordinal" ),
200+ (Continuize .AsNormalizedOrdinal , "Divide by number of values" )
201+ ])
201202
202203 def __init__ (self , parent = None , ** kwargs ):
203204 super ().__init__ (parent , ** kwargs )
0 commit comments