@@ -33,12 +33,12 @@ def __call__(self, data):
3333
3434
3535class Continuize (Preprocess ):
36- (Indicators , FirstAsBase , FrequentAsBase ,Remove , RemoveMultinomial ,
36+ (Indicators , FirstAsBase , FrequentAsBase , Remove , RemoveMultinomial ,
3737 ReportError , AsOrdinal , AsNormalizedOrdinal , Leave ) = Enum (
38- "Continuize" ,
39- "Indicators, FirstAsBase, FrequentAsBase,"
40- "Remove, RemoveMultinomial, ReportError, AsOrdinal,"
41- "AsNormalizedOrdinal, Leave" )
38+ "Continuize" ,
39+ "Indicators, FirstAsBase, FrequentAsBase,"
40+ "Remove, RemoveMultinomial, ReportError, AsOrdinal,"
41+ "AsNormalizedOrdinal, Leave" )
4242
4343 def __init__ (self , zero_based = True ,
4444 multinomial_treatment = Indicators ):
@@ -288,9 +288,9 @@ def __call__(self, data):
288288 for a in data .domain .attributes if a .is_continuous ):
289289 # Skip normalization for data sets where all features are marked as already normalized.
290290 # Required for SVMs (with normalizer as their default preprocessor) on sparse data to
291- # retain sparse structure. Normalizing sparse data would otherwise result in a dense matrix,
292- # which requires too much memory. For example, this is used for Bag of Words models where
293- # normalization is not really needed.
291+ # retain sparse structure. Normalizing sparse data would otherwise result in a dense
292+ # matrix, which requires too much memory. For example, this is used for Bag of Words
293+ # models where normalization is not really needed.
294294 return data
295295 normalizer = normalize .Normalizer (
296296 zero_based = self .zero_based ,
0 commit comments